#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. | |
| 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.
 1.5.8
 1.5.8