The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pcap_min.h
Go to the documentation of this file.
1 
27 #include <projectcommon.h>
28 #include <pcap.h>
29 
30 
39 # define ENABLE_LLDP 0x1
41 # define ENABLE_CDP 0x2
43 # define ENABLE_ARP 0x4
45 WINEXPORT pcap_t* create_pcap_listener(const char * dev, gboolean blocking, unsigned listenmask, struct bpf_program*);
47 WINEXPORT void close_pcap_listener(pcap_t*, const char* dev, unsigned listenmask);
WINEXPORT void close_pcap_listener(pcap_t *, const char *dev, unsigned listenmask)
Close this pcap_listener, and undo listens for multicast addresses.
Definition: pcap_min.c:192
#define WINEXPORT
Definition: projectcommon.h:45
Project common header file.
WINEXPORT pcap_t * create_pcap_listener(const char *dev, gboolean blocking, unsigned listenmask, struct bpf_program *)
Set up pcap listener for the given interfaces and protocols.
Definition: pcap_min.c:66