kre_thread Struct Reference

kREproxy thread representation More...

#include <kre_threads.h>


Data Fields

struct task_struct * task
 Struct of actual kernel thread.
int(* fun )(void *)
 Thread function with pointer to this struct.
void * data
int state
 State can be KRE_INITIALIZED, KRE_RUNNING .
struct semaphore state_sem
 SEMAPHOR for change state.
struct completion c
 Info about completion of this thread this use instaid of 'state' when kre_thread struct must be clean.
struct socket * csock
 Accepted client socket.
struct socket * dstsock
 Proxy destination server socket.


Detailed Description

kREproxy thread representation

Field Documentation

int(* kre_thread::fun)(void *)

Thread function with pointer to this struct.

State can be KRE_INITIALIZED, KRE_RUNNING .

..

struct semaphore kre_thread::state_sem [read]

SEMAPHOR for change state.

struct task_struct* kre_thread::task [read]

Struct of actual kernel thread.


The documentation for this struct was generated from the following file:

Generated on Fri Feb 20 19:46:05 2009 for kREproxy by  doxygen 1.5.8