@@ -125,6 +125,16 @@ pub enum V9Field {
125
125
Layer2packetSectionOffset = 102 ,
126
126
Layer2packetSectionSize = 103 ,
127
127
Layer2packetSectionData = 104 ,
128
+ IcmpTypeValue = 176 ,
129
+ IcmpCodeValue = 177 ,
130
+ IcmpIpv6TypeValue = 178 ,
131
+ ImpIpv6CodeValue = 179 ,
132
+ PostNATSourceIPv4Address = 225 ,
133
+ PostNATDestinationIPv4Address = 226 ,
134
+ PostNATTSourceTransportPort = 227 ,
135
+ PostNATTDestinationTransportPort = 228 ,
136
+ PostNATSourceIpv6Address = 281 ,
137
+ PostNATDestinationIpv6Address = 282 ,
128
138
Vendor ,
129
139
Unknown ,
130
140
}
@@ -222,6 +232,16 @@ impl From<V9Field> for FieldDataType {
222
232
96 => FieldDataType :: String ,
223
233
98 => FieldDataType :: UnsignedDataNumber ,
224
234
99 => FieldDataType :: UnsignedDataNumber ,
235
+ 176 => FieldDataType :: UnsignedDataNumber ,
236
+ 177 => FieldDataType :: UnsignedDataNumber ,
237
+ 178 => FieldDataType :: UnsignedDataNumber ,
238
+ 179 => FieldDataType :: UnsignedDataNumber ,
239
+ 225 => FieldDataType :: Ip4Addr ,
240
+ 226 => FieldDataType :: Ip4Addr ,
241
+ 227 => FieldDataType :: UnsignedDataNumber ,
242
+ 228 => FieldDataType :: UnsignedDataNumber ,
243
+ 281 => FieldDataType :: Ip6Addr ,
244
+ 282 => FieldDataType :: Ip6Addr ,
225
245
_ => FieldDataType :: Unknown ,
226
246
}
227
247
}
@@ -332,6 +352,16 @@ impl From<u16> for V9Field {
332
352
102 => V9Field :: Layer2packetSectionOffset ,
333
353
103 => V9Field :: Layer2packetSectionSize ,
334
354
104 => V9Field :: Layer2packetSectionData ,
355
+ 176 => V9Field :: IcmpTypeValue ,
356
+ 177 => V9Field :: IcmpCodeValue ,
357
+ 178 => V9Field :: IcmpIpv6TypeValue ,
358
+ 179 => V9Field :: ImpIpv6CodeValue ,
359
+ 225 => V9Field :: PostNATSourceIPv4Address ,
360
+ 226 => V9Field :: PostNATDestinationIPv4Address ,
361
+ 227 => V9Field :: PostNATTSourceTransportPort ,
362
+ 228 => V9Field :: PostNATTDestinationTransportPort ,
363
+ 281 => V9Field :: PostNATSourceIpv6Address ,
364
+ 282 => V9Field :: PostNATDestinationIpv6Address ,
335
365
_ => V9Field :: Unknown ,
336
366
}
337
367
}
0 commit comments