LO53 PROJECT - AP DOCUMENTATION
Project based on Indoor Positionning System
|
This file contains the body of the threads functions which were executed in the main file. More...
#include "pcap-thread.h"
Functions | |
void * | tcpdump_function (void *data) |
execute the tcpdump_function thread More... | |
void * | pcap_function (void *arg) |
execute the pcap_function thread More... | |
void * | ClearOutdatedValues (void *data) |
execute the ClearOutdatedValues thread More... | |
void | get_ap_mac (u_char **mac, char *interface) |
gets the waypoint wifi mac address More... | |
int | samples_log_size () |
get the size of the samples log file More... | |
Variables | |
Element * | tracked_devices |
int | SLEEP_VALUE = 1 |
This file contains the body of the threads functions which were executed in the main file.
This file contains the body of the threads functions which were executed in the main file. It is one of the most important file of the program
void* ClearOutdatedValues | ( | void * | data | ) |
execute the ClearOutdatedValues thread
data | it is NULL in reallity |
void get_ap_mac | ( | u_char ** | mac, |
char * | interface | ||
) |
gets the waypoint wifi mac address
mac | a string which will contain the founded mac address |
interface | the interface of the wifi |
void* pcap_function | ( | void * | arg | ) |
execute the pcap_function thread
arg | it is the interface of the waypoint used to sniff the traffic |
int samples_log_size | ( | ) |
get the size of the samples log file
void* tcpdump_function | ( | void * | data | ) |
execute the tcpdump_function thread
arg | it is the interface of the waypoint used in the program |
int SLEEP_VALUE = 1 |
Element* tracked_devices |