iCub-main
|
#include <unistd.h>
#include <stdio.h>
#include <pcap.h>
#include "EoCommon.h"
Go to the source code of this file.
Macros | |
#define | TIMEOUT_MS 1000 |
Functions | |
uint8_t | wrapperPcap_init (char *dev, char *filter_expr) |
uint8_t | wrapperPcap_loop (int32_t cnt, pcap_handler callback, uint8_t *user) |
void | wrapperPcap_close (void) |
Variables | |
static pcap_t * | handle = NULL |
static struct bpf_program | fp |
#define TIMEOUT_MS 1000 |
Definition at line 63 of file pcap_wrapper_linux.cpp.
void wrapperPcap_close | ( | void | ) |
Definition at line 156 of file pcap_wrapper_linux.cpp.
uint8_t wrapperPcap_init | ( | char * | dev, |
char * | filter_expr | ||
) |
Definition at line 95 of file pcap_wrapper_linux.cpp.
uint8_t wrapperPcap_loop | ( | int32_t | cnt, |
pcap_handler | callback, | ||
uint8_t * | user | ||
) |
Definition at line 147 of file pcap_wrapper_linux.cpp.
|
static |
Definition at line 88 of file pcap_wrapper_linux.cpp.
|
static |
Definition at line 88 of file pcap_wrapper_linux.cpp.