The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Protocols known to (supported by) create_pcap_listener().

These protocols can be ored together to create the complete set of interesting protocols to be passed as the 'listenmask' argument. More...

Collaboration diagram for Protocols known to (supported by) create_pcap_listener().:

Macros

#define ENABLE_LLDP   0x1
 Enable LLDP protocol. More...
 
#define ENABLE_CDP   0x2
 Enable CDP protocol. More...
 
#define ENABLE_ARP   0x4
 Enable ARP protocol. More...
 

Detailed Description

These protocols can be ored together to create the complete set of interesting protocols to be passed as the 'listenmask' argument.

Since they are used to create a bit mask, each "enum" value must be a power of two.

See Also
create_pcap_listener

Macro Definition Documentation

#define ENABLE_ARP   0x4

Enable ARP protocol.

Definition at line 44 of file pcap_min.h.

#define ENABLE_CDP   0x2

Enable CDP protocol.

Definition at line 42 of file pcap_min.h.

Referenced by nano_start_full().

#define ENABLE_LLDP   0x1

Enable LLDP protocol.

Definition at line 40 of file pcap_min.h.

Referenced by nano_start_full().