This header file belongs to the pcap-thread.c file.
More...
#include <sys/types.h>
#include <pcap.h>
#include <semaphore.h>
#include <signal.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <unistd.h>
#include "rssi_list.h"
Go to the source code of this file.
This header file belongs to the pcap-thread.c file.
- Author
- Zeufack Arnel - Member of an LO53 group-project (Other Members: TONY DUONG - YVON MBOUGUEM - JOEL WABO)
- Date
- 15 Juin 2016
It describes the prototypes of the functions used in pcap-thread.c
#define MAX_LOG_FILE_SIZE 12 |
void* ClearOutdatedValues |
( |
void * |
data | ) |
|
execute the ClearOutdatedValues thread
- Parameters
-
data | it is NULL in reallity |
void get_ap_mac |
( |
u_char ** |
mac, |
|
|
char * |
interface |
|
) |
| |
gets the waypoint wifi mac address
- Parameters
-
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
- Parameters
-
arg | it is the interface of the waypoint used to sniff the traffic |
get the size of the samples log file
- Returns
- it returns the file size in Kb
void* tcpdump_function |
( |
void * |
data | ) |
|
execute the tcpdump_function thread
- Parameters
-
arg | it is the interface of the waypoint used in the program |