PcapPlusPlus
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  };
208 
209 
214  {
231  };
232 
233 } //namespace pcpp
234 
235 #endif
Definition: ProtocolType.h:166
Definition: ProtocolType.h:21
Definition: ProtocolType.h:176
Definition: ProtocolType.h:91
Definition: ProtocolType.h:161
Definition: ProtocolType.h:218
Definition: ProtocolType.h:222
Definition: ProtocolType.h:224
Definition: ProtocolType.h:116
Definition: ProtocolType.h:26
Definition: ProtocolType.h:121
Definition: ProtocolType.h:191
Definition: ProtocolType.h:81
Definition: ProtocolType.h:151
Definition: ProtocolType.h:141
Definition: ProtocolType.h:131
Definition: ProtocolType.h:181
Definition: ProtocolType.h:96
Definition: ProtocolType.h:41
Definition: ProtocolType.h:106
Definition: ProtocolType.h:46
Definition: ProtocolType.h:101
Definition: ProtocolType.h:228
OsiModelLayer
Definition: ProtocolType.h:213
Definition: ProtocolType.h:66
Definition: ProtocolType.h:220
Definition: ProtocolType.h:76
Definition: ProtocolType.h:51
Definition: ProtocolType.h:71
Definition: ProtocolType.h:230
Definition: ProtocolType.h:201
ProtocolType
Definition: ProtocolType.h:16
Definition: ProtocolType.h:61
Definition: ProtocolType.h:171
Definition: ProtocolType.h:31
Definition: ProtocolType.h:206
Definition: ProtocolType.h:196
Definition: ProtocolType.h:111
Definition: ProtocolType.h:226
Definition: ProtocolType.h:126
Definition: ProtocolType.h:86
Definition: ProtocolType.h:146
Definition: ProtocolType.h:136
Definition: ProtocolType.h:186
Definition: ProtocolType.h:156
Definition: ProtocolType.h:56
The main namespace for the PcapPlusPlus lib.
Definition: ProtocolType.h:36
Definition: ProtocolType.h:216