Home
last modified time | relevance | path

Searched refs:StrFixedLenField (Results 1 – 25 of 38) sorted by relevance

12

/external/scapy/scapy/contrib/
Dskinny.py204 class SkinnyDateTimeField(StrFixedLenField):
206 StrFixedLenField.__init__(self, name, default, 32)
325 StrFixedLenField("text", b"\0"*32, 32),
351 fields_desc = [ StrFixedLenField("number", "1337", 24),
365 fields_desc = [ StrFixedLenField("callername", "Jean Valjean", 40),
366 StrFixedLenField("callernum", "1337", 24),
367 StrFixedLenField("calledname", "Causette", 40),
368 StrFixedLenField("callednum", "1034", 24),
371 StrFixedLenField("originalcalledname", "Causette", 40),
372 StrFixedLenField("originalcallednum", "1034", 24),
[all …]
Dwpa_eapol.py28 StrFixedLenField("replay_counter", "", 8),
29 StrFixedLenField("nonce", "", 32),
30 StrFixedLenField("key_iv", "", 16),
31 StrFixedLenField("wpa_key_rsc", "", 8),
32 StrFixedLenField("wpa_key_id", "", 8),
33 StrFixedLenField("wpa_key_mic", "", 16),
Dhomeplugav.py196 fields_desc = [ StrFixedLenField("NetworkID", b"\x00\x00\x00\x00\x00\x00\x00", 7),
228 fields_desc = [ StrFixedLenField("NetworkID", b"\x00\x00\x00\x00\x00\x00\x00", 7),
279 fields_desc= [ StrFixedLenField("reserved_n1", b"\x00\x00\x3a\x00\x00", 5),
283 StrFixedLenField("reserverd_s1", b"\x00\x00\x00\x00\x00", 5),
318 StrFixedLenField("NMK",
323 StrFixedLenField("DAK",
518 StrFixedLenField("ClassifierValue",
531 StrFixedLenField("ClassifierValue",
552 StrFixedLenField("VlanTag",
556 StrFixedLenField("reserved_2",
[all …]
Dvtp.py136 class VTPTimeStampField(StrFixedLenField):
138 StrFixedLenField.__init__(self, name, default, 12)
155 StrFixedLenField("domname", "manbearpig", 32),
164 ConditionalField(StrFixedLenField("md5", b"\x00" * 16, 16),
Dsebek.py41 StrFixedLenField("cmd", "", 12),
57 StrFixedLenField("cmd", "", 12),
80 StrFixedLenField("cmd", "", 12),
Dppi_geotag.py249 class HCSINullField(StrFixedLenField):
251 return StrFixedLenField.__init__(self, name, default, length=0)
253 class HCSIDescField(StrFixedLenField):
255 return StrFixedLenField.__init__(self, name, default, length=32)
257 class HCSIAppField(StrFixedLenField):
259 return StrFixedLenField.__init__(self, name, default, length=60)
Dmodbus.py592 StrFixedLenField('payload', '', 255), ]
605 StrFixedLenField('payload', '', 255), ]
618 StrFixedLenField('payload', '', 255), ]
657 StrFixedLenField('payload', '', 255), ]
672 StrFixedLenField('payload', '', 255), ]
687 StrFixedLenField('payload', '', 255), ]
Dpnio_rtc.py34 ShortField, StrFixedLenField,\
72 StrFixedLenField("load", "", length_from=lambda p: p[PNIORealTimeRawData].length()),
213 StrFixedLenField("padding", "", length_from=lambda p: p[PNIORealTime].padding_length()),
468 StrFixedLenField("load", "", length_from=lambda p: p[Profisafe].data_length()),
Dopenflow.py88 StrFixedLenField("port_name", "", 16),
854 StrFixedLenField("mfr_desc", "", 256),
855 StrFixedLenField("hw_desc", "", 256),
856 StrFixedLenField("sw_desc", "", 256),
857 StrFixedLenField("serial_num", "", 32),
858 StrFixedLenField("dp_desc", "", 256) ]
977 StrFixedLenField("name", "", 32),
Dgtp_v2.py565 ConditionalField(StrFixedLenField(
572 StrFixedLenField(
592 ConditionalField(StrFixedLenField(
596 ConditionalField(StrFixedLenField(
Dikev2.py410 StrFixedLenField("init_SPI","",8),
411 StrFixedLenField("resp_SPI","",8),
Dopenflow3.py152 StrFixedLenField("port_name", "", 16),
2251 StrFixedLenField("mfr_desc", "", 256),
2252 StrFixedLenField("hw_desc", "", 256),
2253 StrFixedLenField("sw_desc", "", 256),
2254 StrFixedLenField("serial_num", "", 32),
2255 StrFixedLenField("dp_desc", "", 256) ]
3041 StrFixedLenField("table_name", "", 32),
/external/scapy/scapy/layers/
Dsmb.py18 fields_desc = [StrFixedLenField("Start",b"\xffSMB",4),
77 StrFixedLenField("Data13", "rmff", 4),
81 StrFixedLenField("Data20", "rmff-win2k", 10),
85 StrFixedLenField("Data24", "RMFF-WIN2K", 10),
88 StrFixedLenField("Data27", "Default-First-Site-Name", 23),
109 StrFixedLenField("DblSlash", "\\\\", 2),
116 fields_desc = [StrFixedLenField("Start",b"\xffSMB",4),
142 fields_desc = [StrFixedLenField("Start",b"\xffSMB",4),
183 fields_desc = [StrFixedLenField("Start",b"\xffSMB",4),
224 fields_desc = [StrFixedLenField("Start",b"\xffSMB",4),
[all …]
Dpptp.py16 LenField, XIntField, ShortField, ShortEnumField, StrFixedLenField,\
99 StrFixedLenField("host_name", "linux", 64),
100 StrFixedLenField("vendor_string", "", 64)]
126 StrFixedLenField("host_name", "linux", 64),
127 StrFixedLenField("vendor_string", "", 64)]
224 StrFixedLenField("phone_number", '', 64),
225 StrFixedLenField("subaddress", '', 64)]
270 StrFixedLenField("dialed_number", "", 64),
271 StrFixedLenField("dialing_number", "", 64),
272 StrFixedLenField("subaddress", "", 64)]
[all …]
Dmgcp.py20 StrFixedLenField("sep1"," ",1),
22 StrFixedLenField("sep2"," ",1),
24 StrFixedLenField("sep3"," ",1),
26 StrFixedLenField("sep4",b"\x0a",1),
Dpflog.py42 StrFixedLenField("iface", "", 16),
43 StrFixedLenField("ruleset", "", 16),
52 StrFixedLenField("pad", b"\x00\x00\x00", 3 ) ]
Dbluetooth.py360 fields_desc = [ StrFixedLenField("confirm", b'\x00' * 16, 16) ]
364 fields_desc = [ StrFixedLenField("random", b'\x00' * 16, 16) ]
372 fields_desc = [ StrFixedLenField("ltk", b"\x00" * 16, 16), ]
377 StrFixedLenField("rand", b'\x00' * 8, 8), ]
381 fields_desc = [ StrFixedLenField("irk", b'\x00' * 16, 16), ]
390 fields_desc = [ StrFixedLenField("csrk", b'\x00' * 16, 16), ]
527 fields_desc = [ StrFixedLenField("mask", b"\xff\xff\xfb\xff\x07\xf8\xbf\x3d", 8) ]
609 StrFixedLenField("rand", None, 8),
611 StrFixedLenField("ltk", b'\x00' * 16, 16), ]
620 StrFixedLenField("ltk", b'\x00' * 16, 16), ]
[all …]
Dhsrp.py52 StrFixedLenField("auth", b"cisco" + b"\00" * 3, 8),
72 StrFixedLenField("authdigest", b"\00" * 16, 16)]
Drip.py46 ConditionalField(StrFixedLenField("password", None, 16),
56 ConditionalField(StrFixedLenField("zeropad", None, 8),
Disakmp.py185 StrFixedLenField("init_cookie","",8),
186 StrFixedLenField("resp_cookie","",8),
Dntp.py19 LEIntField, FixedPointField, IPField, StrField, StrFixedLenField,\
1238 StrFixedLenField("keystr", "", length=128),
1330 StrFixedLenField("ifname", "", length=32),
1360 StrFixedLenField("ifname", "", length=32),
Dnetbios.py159 fields_desc = [StrFixedLenField("NETBIOS_NAME","WINDOWS ",15),
Ddot11.py42 StrFixedLenField("dev","",16),
288 fields_desc = [ StrFixedLenField("iv", b"\0\0\0", 3),
/external/scapy/scapy/layers/tls/
Dkeyexchange_tls13.py229 fields_desc = [ StrFixedLenField("key_name", None, 16),
230 StrFixedLenField("iv", None, 16),
234 StrFixedLenField("mac", None, 32) ]
/external/scapy/scapy/
Dfields.py587 class StrFixedLenField(StrField): class
597 return super(StrFixedLenField, self).i2repr(pkt, v)
611 class StrFixedLenEnumField(StrFixedLenField):
614 StrFixedLenField.__init__(self, name, default, length=length, length_from=length_from)
625 class NetBIOSNameField(StrFixedLenField):
627 StrFixedLenField.__init__(self, name, default, length)
670 class XStrFixedLenField(StrFixedLenField):

12