#include <netinet/in.h>
#include <netinet/ip6.h>
Go to the source code of this file.
◆ capture_next_packet()
struct ip* capture_next_packet |
( |
int |
, |
|
|
int |
, |
|
|
int * |
|
|
) |
| |
◆ capture_next_v6_packet()
struct ip6_hdr* capture_next_v6_packet |
( |
int |
, |
|
|
int |
, |
|
|
int * |
|
|
) |
| |
◆ init_capture_device()
int init_capture_device |
( |
struct in_addr |
src, |
|
|
struct in_addr |
dst, |
|
|
char * |
filter |
|
) |
| |
Set up the pcap filter, and select the correct interface.
The filter will be changed only if this is necessary
◆ init_v6_capture_device()
int init_v6_capture_device |
( |
struct in6_addr |
, |
|
|
struct in6_addr |
, |
|
|
char * |
|
|
) |
| |