PcapPlusPlus  23.09
ProtocolType.h
Go to the documentation of this file.
1 #ifndef PCAPPP_PROTOCOL_TYPES
2 #define PCAPPP_PROTOCOL_TYPES
3 
4 #include <stdint.h>
5 
7 
12 namespace pcpp
13 {
18  typedef uint64_t ProtocolType;
19 
23  const ProtocolType UnknownProtocol = 0x00;
24 
28  const ProtocolType Ethernet = 0x01;
29 
33  const ProtocolType IPv4 = 0x02;
34 
38  const ProtocolType IPv6 = 0x04;
39 
43  const ProtocolType IP = 0x06;
44 
48  const ProtocolType TCP = 0x08;
49 
53  const ProtocolType UDP = 0x10;
54 
58  const ProtocolType HTTPRequest = 0x20;
59 
63  const ProtocolType HTTPResponse = 0x40;
64 
68  const ProtocolType HTTP = 0x60;
69 
73  const ProtocolType ARP = 0x80;
74 
78  const ProtocolType VLAN = 0x100;
79 
83  const ProtocolType ICMP = 0x200;
84 
88  const ProtocolType PPPoESession = 0x400;
89 
93  const ProtocolType PPPoEDiscovery = 0x800;
94 
98  const ProtocolType PPPoE = 0xc00;
99 
103  const ProtocolType DNS = 0x1000;
104 
108  const ProtocolType MPLS = 0x2000;
109 
113  const ProtocolType GREv0 = 0x4000;
114 
118  const ProtocolType GREv1 = 0x8000;
119 
123  const ProtocolType GRE = 0xc000;
124 
128  const ProtocolType PPP_PPTP = 0x10000;
129 
133  const ProtocolType SSL = 0x20000;
134 
138  const ProtocolType SLL = 0x40000;
139 
143  const ProtocolType DHCP = 0x80000;
144 
148  const ProtocolType NULL_LOOPBACK = 0x100000;
149 
153  const ProtocolType IGMP = 0xE00000;
154 
158  const ProtocolType IGMPv1 = 0x200000;
159 
163  const ProtocolType IGMPv2 = 0x400000;
164 
168  const ProtocolType IGMPv3 = 0x800000;
169 
173  const ProtocolType GenericPayload = 0x1000000;
174 
178  const ProtocolType VXLAN = 0x2000000;
179 
183  const ProtocolType SIPRequest = 0x4000000;
184 
188  const ProtocolType SIPResponse = 0x8000000;
189 
193  const ProtocolType SIP = 0xc000000;
194 
198  const ProtocolType SDP = 0x10000000;
199 
203  const ProtocolType PacketTrailer = 0x20000000;
204 
208  const ProtocolType Radius = 0x40000000;
209 
213  const ProtocolType GTPv1 = 0x80000000;
214 
218  const ProtocolType GTP = 0x80000000;
219 
223  const ProtocolType EthernetDot3 = 0x100000000;
224 
228  const ProtocolType BGP = 0x200000000;
229 
233  const ProtocolType SSH = 0x400000000;
234 
238  const ProtocolType AuthenticationHeader = 0x800000000;
239 
243  const ProtocolType ESP = 0x1000000000;
244 
248  const ProtocolType IPSec = 0x1800000000;
249 
253  const ProtocolType DHCPv6 = 0x2000000000;
254 
258  const ProtocolType NTP = 0x4000000000;
259 
263  const ProtocolType Telnet = 0x8000000000;
264 
268  const ProtocolType FTP = 0x10000000000;
269 
273  const ProtocolType ICMPv6 = 0x20000000000;
274 
278  const ProtocolType STP = 0x40000000000;
279 
283  const ProtocolType LLC = 0x80000000000;
284 
288  const ProtocolType SomeIP = 0x100000000000;
289 
293  const ProtocolType WakeOnLan = 0x200000000000;
294 
298  const ProtocolType NFLOG = 0x400000000000;
299 
303  const ProtocolType TPKT = 0x800000000000;
304 
308  const ProtocolType VRRP = 0x3000000000000;
309 
313  const ProtocolType VRRPv2 = 0x1000000000000;
314 
318  const ProtocolType VRRPv3 = 0x2000000000000;
319 
323  const ProtocolType COTP = 0x4000000000000;
324 
328  const ProtocolType SLL2 = 0x8000000000000;
329 
334  {
351  };
352 
353 } //namespace pcpp
354 
355 #endif
const ProtocolType SLL2
Definition: ProtocolType.h:328
const ProtocolType HTTP
Definition: ProtocolType.h:68
The main namespace for the PcapPlusPlus lib.
OsiModelLayer
Definition: ProtocolType.h:333
const ProtocolType PPPoEDiscovery
Definition: ProtocolType.h:93
const ProtocolType IGMPv2
Definition: ProtocolType.h:163
const ProtocolType IPSec
Definition: ProtocolType.h:248
const ProtocolType NFLOG
Definition: ProtocolType.h:298
const ProtocolType SDP
Definition: ProtocolType.h:198
const ProtocolType UDP
Definition: ProtocolType.h:53
const ProtocolType GenericPayload
Definition: ProtocolType.h:173
Definition: ProtocolType.h:338
Definition: ProtocolType.h:348
const ProtocolType SSL
Definition: ProtocolType.h:133
const ProtocolType PPPoESession
Definition: ProtocolType.h:88
const ProtocolType DHCP
Definition: ProtocolType.h:143
const ProtocolType SSH
Definition: ProtocolType.h:233
const ProtocolType VLAN
Definition: ProtocolType.h:78
const ProtocolType STP
Definition: ProtocolType.h:278
const ProtocolType COTP
Definition: ProtocolType.h:323
const ProtocolType SIP
Definition: ProtocolType.h:193
const ProtocolType IGMP
Definition: ProtocolType.h:153
const ProtocolType LLC
Definition: ProtocolType.h:283
const ProtocolType PPPoE
Definition: ProtocolType.h:98
const ProtocolType WakeOnLan
Definition: ProtocolType.h:293
const ProtocolType UnknownProtocol
Definition: ProtocolType.h:23
Definition: ProtocolType.h:350
Definition: ProtocolType.h:340
const ProtocolType Radius
Definition: ProtocolType.h:208
uint64_t ProtocolType
Definition: ProtocolType.h:18
const ProtocolType Telnet
Definition: ProtocolType.h:263
const ProtocolType HTTPRequest
Definition: ProtocolType.h:58
const ProtocolType SLL
Definition: ProtocolType.h:138
const ProtocolType MPLS
Definition: ProtocolType.h:108
const ProtocolType GREv1
Definition: ProtocolType.h:118
const ProtocolType GTPv1
Definition: ProtocolType.h:213
const ProtocolType PPP_PPTP
Definition: ProtocolType.h:128
const ProtocolType SIPRequest
Definition: ProtocolType.h:183
const ProtocolType DHCPv6
Definition: ProtocolType.h:253
const ProtocolType SomeIP
Definition: ProtocolType.h:288
const ProtocolType HTTPResponse
Definition: ProtocolType.h:63
const ProtocolType Ethernet
Definition: ProtocolType.h:28
Definition: ProtocolType.h:342
Definition: ProtocolType.h:336
const ProtocolType VRRP
Definition: ProtocolType.h:308
const ProtocolType ICMP
Definition: ProtocolType.h:83
const ProtocolType IGMPv1
Definition: ProtocolType.h:158
const ProtocolType GREv0
Definition: ProtocolType.h:113
const ProtocolType VRRPv3
Definition: ProtocolType.h:318
const ProtocolType DNS
Definition: ProtocolType.h:103
const ProtocolType GRE
Definition: ProtocolType.h:123
const ProtocolType VRRPv2
Definition: ProtocolType.h:313
Definition: ProtocolType.h:344
const ProtocolType PacketTrailer
Definition: ProtocolType.h:203
const ProtocolType VXLAN
Definition: ProtocolType.h:178
const ProtocolType TCP
Definition: ProtocolType.h:48
const ProtocolType NULL_LOOPBACK
Definition: ProtocolType.h:148
const ProtocolType ESP
Definition: ProtocolType.h:243
const ProtocolType IGMPv3
Definition: ProtocolType.h:168
const ProtocolType FTP
Definition: ProtocolType.h:268
const ProtocolType IPv6
Definition: ProtocolType.h:38
const ProtocolType TPKT
Definition: ProtocolType.h:303
const ProtocolType GTP
Definition: ProtocolType.h:218
const ProtocolType NTP
Definition: ProtocolType.h:258
const ProtocolType ICMPv6
Definition: ProtocolType.h:273
const ProtocolType IPv4
Definition: ProtocolType.h:33
const ProtocolType SIPResponse
Definition: ProtocolType.h:188
const ProtocolType ARP
Definition: ProtocolType.h:73
Definition: ProtocolType.h:346
const ProtocolType AuthenticationHeader
Definition: ProtocolType.h:238
const ProtocolType BGP
Definition: ProtocolType.h:228
const ProtocolType IP
Definition: ProtocolType.h:43
const ProtocolType EthernetDot3
Definition: ProtocolType.h:223