Home
last modified time | relevance | path

Searched refs:XShortField (Results 1 – 25 of 27) sorted by relevance

12

/external/scapy/scapy/layers/
Dpptp.py17 StrLenField, XShortField, XByteField
60 XShortField("reserved_0", 0x0000),
90 XShortField("reserved_0", 0x0000),
92 XShortField("reserved_1", 0x0000),
115 XShortField("reserved_0", 0x0000),
144 XShortField("reserved_0", 0x0000),
148 XShortField("reserved_2", 0x0000)]
160 XShortField("reserved_0", 0x0000),
164 XShortField("reserved_2", 0x0000)]
176 XShortField("reserved_0", 0x0000),
[all …]
Dinet6.py59 XIntField, XShortField
1432 XShortField("cksum", None),
1446 XShortField("cksum", None),
1454 XShortField("cksum", None),
1462 XShortField("cksum", None),
1474 XShortField("cksum", None),
1481 XShortField("cksum", None),
1482 XShortField("id",0),
1483 XShortField("seq",0),
1513 XShortField("cksum", None),
[all …]
Dvrrp.py30 XShortField("chksum", None),
61 XShortField("chksum", None),
Dir.py37 fields_desc = [ XShortField("Service hints", 0),
Dhsrp.py69 XShortField("flags", 0x00),
Dl2.py214 XShortField("lladdrtype",512),
281 fields_desc = [ XShortField("hwtype", 0x0001),
338 …ConditionalField(XShortField("chksum",None), lambda pkt:pkt.chksum_present==1 or pkt.routing_prese…
339 …ConditionalField(XShortField("offset",None), lambda pkt:pkt.chksum_present==1 or pkt.routing_prese…
Dppp.py24 StrFixedLenField, StrLenField, XByteField, XShortField, XStrLenField
32 XShortField("sessionid", 0x0),
47 XShortField("sessionid", 0x0),
Dnetbios.py23 XShortField("id",0),
Dsctp.py501 XShortField("stream_id", None),
502 XShortField("stream_seq", None),
Dinet.py377 XShortField("chksum", None),
520 XShortField("chksum", None),
587 XShortField("chksum", None), ]
677 XShortField("chksum", None),
678 … ConditionalField(XShortField("id",0), lambda pkt:pkt.type in [0,8,13,14,15,16,17,18]),
679 … ConditionalField(XShortField("seq",0), lambda pkt:pkt.type in [0,8,13,14,15,16,17,18]),
/external/scapy/scapy/contrib/
Dmodbus.py42 XShortField("startAddr", 0x0000), # 0x0000 to 0xFFFF
43 XShortField("quantity", 0x0001)]
71 XShortField("startAddr", 0x0000),
72 XShortField("quantity", 0x0001)]
98 XShortField("startAddr", 0x0000),
99 XShortField("quantity", 0x0001)]
122 XShortField("startAddr", 0x0000),
123 XShortField("quantity", 0x0001)]
146 XShortField("outputAddr", 0x0000), # from 0x0000 to 0xFFFF
147 XShortField("outputValue", 0x0000)] # 0x0000 == Off, 0xFF00 == On
[all …]
Deigrp.py188 fields_desc = [ XShortField("type", 0x0000),
197 fields_desc = [ XShortField("type", 0x0001),
215 fields_desc = [ XShortField("type", 0x0002),
235 fields_desc = [ XShortField("type", 0x0003),
290 fields_desc = [ XShortField("type", 0x0004),
298 fields_desc = [ XShortField("type", 0x0005),
309 fields_desc = [ XShortField("type", 0x0006),
316 fields_desc = [ XShortField("type", 0x0102),
325 XShortField("reserved", 0),
348 fields_desc = [ XShortField("type", 0x0103),
[all …]
Dospf.py64 XShortField("chksum", None),
69 ConditionalField(XShortField("reserved", 0), lambda pkt:pkt.authtype == 2),
188 fields_desc = [XShortField("chksum", None),
232 XShortField("chksum", 0),
299 XShortField("chksum", None),
317 XShortField("chksum", None),
332 XShortField("chksum", None),
358 XShortField("chksum", None),
445 XShortField("chksum", None),
512 XShortField("chksum", 0),
[all …]
Dhomeplugav.py402 XShortField("FrameLength", 0x0000),
414 XShortField("BeaconTransOffset_0", 0x0000),
415 XShortField("BeaconTransOffset_1", 0x0000),
416 XShortField("BeaconTransOffset_2", 0x0000),
417 XShortField("BeaconTransOffset_3", 0x0000),
544 XShortField("NumClassifiers", 0x0000),
546 XShortField("CSPECversion", 0x0000),
631 fields_desc=[ XShortField("element", 0),
650 XShortField("GPIOMaskBits_1", 0),
651 XShortField("GPIOMaskBits_2", 0),
[all …]
Dchdlc.py31 XShortField("proto", 0x0800)]
40 ConditionalField(XShortField("unused", 0),
46 ConditionalField(XShortField("reliability", 0xffff),
Dcarp.py22 from scapy.fields import BitField, ByteField, XShortField, IntField, XIntField
34 XShortField("chksum", 0),
Digmpv3.py69 XShortField("chksum", None)]
153 fields_desc = [ XShortField("res2", 0),
Dopenflow.py123 XShortField("pad2", None),
245 XShortField("pad", 0) ]
298 XShortField("pad", 0) ]
305 XShortField("pad", 0) ]
429 XShortField("pad", 0),
753 XShortField("pad2", 0),
1061 XShortField("pad", 0),
1074 XShortField("pad", 0),
1146 XShortField("pad", 0) ]
Dopenflow3.py151 XShortField("pad2", 0),
744 XShortField("pad", 0) ]
797 XShortField("pad", 0) ]
804 XShortField("pad", 0) ]
859 XShortField("pad", 0) ]
872 XShortField("pad", 0) ]
879 XShortField("pad", 0) ]
939 XShortField("pad", 0) ]
1517 XShortField("pad", 0),
2014 XShortField("pad", 0),
[all …]
Dcdp.py226 XShortField("protocol_id", 0x0),
339 XShortField("cksum", None),
Drsvp.py38 XShortField("chksum", None),
Digmp.py63 XShortField("chksum", None),
Ddtp.py42 fields_desc = [ XShortField("type", 0x0001),
Disis.py463 XShortField("checksum", None)]
569 XShortField("checksum", None)]
790 XShortField("checksum", None),
Dppi_geotag.py183 class XLEShortField(LEShortField,XShortField):
185 return XShortField.i2repr(self, pkt, x)

12