PcapPlusPlus  19.12
ProtocolType.h
Go to the documentation of this file.
1 #ifndef PCAPPP_PROTOCOL_TYPES
2 #define PCAPPP_PROTOCOL_TYPES
3 
5 
10 namespace pcpp
11 {
12 
17  {
22 
26  Ethernet = 0x01,
27 
31  IPv4 = 0x02,
32 
36  IPv6 = 0x04,
37 
41  IP = 0x06,
42 
46  TCP = 0x08,
47 
51  UDP = 0x10,
52 
56  HTTPRequest = 0x20,
57 
61  HTTPResponse = 0x40,
62 
66  HTTP = 0x20 | 0x40,
67 
71  ARP = 0x80,
72 
76  VLAN = 0x100,
77 
81  ICMP = 0x200,
82 
86  PPPoESession = 0x400,
87 
91  PPPoEDiscovery = 0x800,
92 
96  PPPoE = 0x400 | 0x800,
97 
101  DNS = 0x1000,
102 
106  MPLS = 0x2000,
107 
111  GREv0 = 0x4000,
112 
116  GREv1 = 0x8000,
117 
121  GRE = 0x4000 | 0x8000,
122 
126  PPP_PPTP = 0x10000,
127 
131  SSL = 0x20000,
132 
136  SLL = 0x40000,
137 
141  DHCP = 0x80000,
142 
146  NULL_LOOPBACK = 0x100000,
147 
151  IGMP = 0xE00000,
152 
156  IGMPv1 = 0x200000,
157 
161  IGMPv2 = 0x400000,
162 
166  IGMPv3 = 0x800000,
167 
171  GenericPayload = 0x1000000,
172 
176  VXLAN = 0x2000000,
177 
181  SIPRequest = 0x4000000,
182 
186  SIPResponse = 0x8000000,
187 
191  SIP = 0x4000000 | 0x8000000,
192 
196  SDP = 0x10000000,
197 
201  PacketTrailer = 0x20000000,
202 
206  Radius = 0x40000000,
207 
211  GTPv1 = 0x80000000,
212 
216  GTP = 0x80000000
217 
218  };
219 
220 
225  {
242  };
243 
244 } //namespace pcpp
245 
246 #endif
pcpp::OsiModelLayer
OsiModelLayer
Definition: ProtocolType.h:224
pcpp::IPv6
Definition: ProtocolType.h:36
pcpp::VXLAN
Definition: ProtocolType.h:176
pcpp::MPLS
Definition: ProtocolType.h:106
pcpp::GREv1
Definition: ProtocolType.h:116
pcpp::VLAN
Definition: ProtocolType.h:76
pcpp::OsiModelDataLinkLayer
Definition: ProtocolType.h:229
pcpp::OsiModelApplicationLayer
Definition: ProtocolType.h:239
pcpp::PPPoE
Definition: ProtocolType.h:96
pcpp::Radius
Definition: ProtocolType.h:206
pcpp::IGMP
Definition: ProtocolType.h:151
pcpp::IP
Definition: ProtocolType.h:41
pcpp::ARP
Definition: ProtocolType.h:71
pcpp::HTTPRequest
Definition: ProtocolType.h:56
pcpp::PPP_PPTP
Definition: ProtocolType.h:126
pcpp::PPPoESession
Definition: ProtocolType.h:86
pcpp::SIPResponse
Definition: ProtocolType.h:186
pcpp::OsiModelNetworkLayer
Definition: ProtocolType.h:231
pcpp::HTTP
Definition: ProtocolType.h:66
pcpp::ProtocolType
ProtocolType
Definition: ProtocolType.h:16
pcpp::OsiModelLayerUnknown
Definition: ProtocolType.h:241
pcpp::IGMPv2
Definition: ProtocolType.h:161
pcpp::SSL
Definition: ProtocolType.h:131
pcpp::SDP
Definition: ProtocolType.h:196
pcpp::SLL
Definition: ProtocolType.h:136
pcpp::GREv0
Definition: ProtocolType.h:111
pcpp::OsiModelPhysicalLayer
Definition: ProtocolType.h:227
pcpp::IGMPv1
Definition: ProtocolType.h:156
pcpp::IPv4
Definition: ProtocolType.h:31
pcpp::GenericPayload
Definition: ProtocolType.h:171
pcpp::OsiModelTransportLayer
Definition: ProtocolType.h:233
pcpp::SIP
Definition: ProtocolType.h:191
pcpp
The main namespace for the PcapPlusPlus lib.
pcpp::OsiModelSesionLayer
Definition: ProtocolType.h:235
pcpp::PacketTrailer
Definition: ProtocolType.h:201
pcpp::HTTPResponse
Definition: ProtocolType.h:61
pcpp::UnknownProtocol
Definition: ProtocolType.h:21
pcpp::DNS
Definition: ProtocolType.h:101
pcpp::TCP
Definition: ProtocolType.h:46
pcpp::NULL_LOOPBACK
Definition: ProtocolType.h:146
pcpp::PPPoEDiscovery
Definition: ProtocolType.h:91
pcpp::GRE
Definition: ProtocolType.h:121
pcpp::DHCP
Definition: ProtocolType.h:141
pcpp::UDP
Definition: ProtocolType.h:51
pcpp::Ethernet
Definition: ProtocolType.h:26
pcpp::IGMPv3
Definition: ProtocolType.h:166
pcpp::OsiModelPresentationLayer
Definition: ProtocolType.h:237
pcpp::ICMP
Definition: ProtocolType.h:81
pcpp::GTPv1
Definition: ProtocolType.h:211
pcpp::GTP
Definition: ProtocolType.h:216
pcpp::SIPRequest
Definition: ProtocolType.h:181