11 #define PCPP_BSD_AF_INET 2
13 #define PCPP_BSD_AF_NS 6
15 #define PCPP_BSD_AF_ISO 7
17 #define PCPP_BSD_AF_APPLETALK 16
19 #define PCPP_BSD_AF_IPX 23
21 #define PCPP_BSD_AF_INET6_BSD 24
23 #define PCPP_BSD_AF_INET6_FREEBSD 28
25 #define PCPP_BSD_AF_INET6_DARWIN 30
82 return sizeof(uint32_t);
Definition: NullLoopbackLayer.h:32
uint32_t getFamily() const
OsiModelLayer getOsiModelLayer() const
Definition: NullLoopbackLayer.h:93
NullLoopbackLayer(uint8_t *data, size_t dataLen, Packet *packet)
Definition: NullLoopbackLayer.h:39
NullLoopbackLayer(uint32_t family)
void setFamily(uint32_t family)
std::string toString() const
size_t getHeaderLen() const
Definition: NullLoopbackLayer.h:80
~NullLoopbackLayer()
Definition: NullLoopbackLayer.h:52
void computeCalculateFields()
Definition: NullLoopbackLayer.h:88
The main namespace for the PcapPlusPlus lib.
OsiModelLayer
Definition: ProtocolType.h:354
@ OsiModelDataLinkLayer
Definition: ProtocolType.h:358
const ProtocolType NULL_LOOPBACK
Definition: ProtocolType.h:153