30#ifndef TINS_DATA_LINK_TYPE_H
31#define TINS_DATA_LINK_TYPE_H
61#define TINS_MAKE_DATA_LINK_TYPE(tins_type, pcap_type) \
63struct DataLinkType<tins_type> { \
64 static const int type = pcap_type; \
65 int get_type() const { \
74TINS_MAKE_DATA_LINK_TYPE(PPI,
DLT_PPI)
79#undef TINS_MAKE_DATA_LINK_TYPE
Represents a range of addresses.
Definition address_range.h:167
Class representing an 802.11 frame.
Definition dot11_base.h:54
Class representing an IEEE 802.3 PDU.
Definition dot3.h:46
Represents an Ethernet II PDU.
Definition ethernetII.h:46
Class that represents an IP PDU.
Definition ip.h:63
Represents a Loopback PDU.
Definition loopback.h:41
Class that represents the IEEE 802.11 radio tap header.
Definition radiotap.h:51
Represents a Linux cooked-mode capture (SLL) PDU.
Definition sll.h:45
The Tins namespace.
Definition address_range.h:38
Maps a libtins link layer PDU to a libpcap data link identifier.
Definition data_link_type.h:59