22 #define MAX_LISTENING_SOCKETS MAX_INTERFACES
30 #define UDP_THREAD_FOR_EACH_PKT 1
pthread_mutex_t udp_exec_lock
Definition: daemon.h:47
PACKET * recv_pkt
Definition: daemon.h:35
u_short port
Definition: daemon.h:43
int acpt_sidx
Definition: daemon.h:37
void * udp_daemon(void *door)
Definition: daemon.c:186
pthread_mutex_t udp_daemon_lock
Definition: daemon.h:26
void * tcp_recv_loop(void *recv_pkt)
Definition: daemon.c:299
void * tcp_daemon(void *null)
Definition: daemon.c:328
u_char flags
Definition: daemon.h:44
pthread_mutex_t tcp_daemon_lock
Definition: daemon.h:27
int prepare_listen_socket(int family, int socktype, u_short port, interface *dev)
Definition: daemon.c:43
pthread_mutex_t tcp_exec_lock
Definition: daemon.h:48
int acpt_idx
Definition: daemon.h:36
int family
Definition: if.c:34
u_char flags
Definition: daemon.h:38