14 #include <sys/types.h>
16 #include <semaphore.h>
18 #include <sys/socket.h>
19 #include <sys/ioctl.h>
24 #define MAX_LOG_FILE_SIZE 12 //12Kb.. We speify a maximum size for the logfile in order to avoid the saturation of the waypoint hard disk
51 void get_ap_mac(u_char ** mac,
char * interface);
void * pcap_function(void *arg)
execute the pcap_function thread
Definition: pcap-thread.c:32
Element * tracked_devices
Definition: http_deamon.c:15
contains one element of the Device list The device list shall be sorted by device's MAC ...
void get_ap_mac(u_char **mac, char *interface)
gets the waypoint wifi mac address
Definition: pcap-thread.c:178
void * ClearOutdatedValues(void *data)
execute the ClearOutdatedValues thread
Definition: pcap-thread.c:158
void * tcpdump_function(void *data)
execute the tcpdump_function thread
Definition: pcap-thread.c:16
int samples_log_size()
get the size of the samples log file
Definition: pcap-thread.c:193