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
81 return sizeof(uint32_t);
Definition: NullLoopbackLayer.h:32
uint32_t getFamily() const
void computeCalculateFields() override
Definition: NullLoopbackLayer.h:87
NullLoopbackLayer(uint8_t *data, size_t dataLen, Packet *packet)
Definition: NullLoopbackLayer.h:39
std::string toString() const override
NullLoopbackLayer(uint32_t family)
void setFamily(uint32_t family)
size_t getHeaderLen() const override
Definition: NullLoopbackLayer.h:79
~NullLoopbackLayer() override=default
OsiModelLayer getOsiModelLayer() const override
Definition: NullLoopbackLayer.h:92
void parseNextLayer() override
The main namespace for the PcapPlusPlus lib.
OsiModelLayer
Definition: ProtocolType.h:364
@ OsiModelDataLinkLayer
Definition: ProtocolType.h:368
const ProtocolType NULL_LOOPBACK
Definition: ProtocolType.h:153