Home
last modified time | relevance | path

Searched refs:FieldLenField (Results 1 – 25 of 49) sorted by relevance

12

/external/scapy/scapy/contrib/
Dtacacs.py28 from scapy.fields import FieldLenField, ConditionalField, StrLenField
133 FieldLenField('user_len', None, fmt='!B', length_of='user'),
134 FieldLenField('port_len', None, fmt='!B', length_of='port'),
135 FieldLenField('rem_addr_len', None, fmt='!B', length_of='rem_addr'),
136 FieldLenField('data_len', None, fmt='!B', length_of='data'),
155 FieldLenField('server_msg_len', None, fmt='!H', length_of='server_msg'),
156 FieldLenField('data_len', None, fmt='!H', length_of='data'),
170 fields_desc = [FieldLenField('user_msg_len', None, fmt='!H', length_of='user_msg'),
171 FieldLenField('data_len', None, fmt='!H', length_of='data'),
212 FieldLenField('user_len', None, fmt='!B', length_of='user'),
[all …]
Dikev2.py465FieldLenField("length",None,"trans","H", adjust=lambda pkt,x:x+8+(pkt.SPIsize if pkt.SPIsize else …
468 FieldLenField("SPIsize",None,"SPI","B"),
480 FieldLenField("length",None,"load","H", adjust=lambda pkt,x:x+4),
491 FieldLenField("length",None,"load","H", adjust=lambda pkt,x:x+8),
503 FieldLenField("length",None,"vendorID","H", adjust=lambda pkt,x:x+4),
567 FieldLenField("length",None,"load","H", adjust=lambda pkt,x:x+4),
577 FieldLenField("length",None,"traffic_selector","H", adjust=lambda pkt,x:x+8),
589 FieldLenField("length",None,"traffic_selector","H", adjust=lambda pkt,x:x+8),
601 FieldLenField("length",None,"vendorID","H", adjust=lambda pkt,x:x+4),
611 FieldLenField("length",None,"prop","H", adjust=lambda pkt,x:x+4),
[all …]
Disis.py246 FieldLenField("len", None, length_of="val", fmt="B"),
288 FieldLenField("len", None, length_of= "address", fmt="B"),
295 FieldLenField("len", None, length_of= "address", fmt="B"),
302 FieldLenField("len", 8, fmt="B"),
310 FieldLenField("len", None, length_of= "address", fmt="B"),
317 FieldLenField("len", None, length_of= "address", fmt="B"),
342 FieldLenField("len", None, length_of= "tags", fmt="B"),
349 FieldLenField("len", None, length_of= "tags", fmt="B"),
430 fields_desc = [FieldLenField("arealen", None, length_of="areaid", fmt="B"),
440 FieldLenField("len", None, length_of= "areas", fmt="B"),
[all …]
Dmqtt.py8 from scapy.fields import FieldLenField, BitEnumField, StrLenField, \
18 class VariableFieldLenField(FieldLenField):
92 FieldLenField("length", None, length_of="protoname"),
110 FieldLenField("clientIdlen", None, length_of="clientId"),
114 ConditionalField(FieldLenField("wtoplen", None, length_of="willtopic"),
119 ConditionalField(FieldLenField("wmsglen", None, length_of="willmsg"),
124 ConditionalField(FieldLenField("userlen", None, length_of="username"),
129 ConditionalField(FieldLenField("passlen", None, length_of="password"),
157 FieldLenField("length", None, length_of="topic"),
201 FieldLenField("length", None, length_of="topic"),
Dcdp.py105 FieldLenField("len", None, "val", "!H"),
123 FieldLenField("plen", None, "proto", "B"),
125 FieldLenField("addrlen", None, length_of=lambda x:x.addr),
134 FieldLenField("plen", 1, "proto", "B"),
142 FieldLenField("plen", 8, "proto", "B"),
168 FieldLenField("naddr", None, "addr", "!I"),
181 FieldLenField("len", None, "iface", "!H"),
311 FieldLenField("len", None, "val", "!H"),
Ddtp.py43 FieldLenField("length", None, length_of=lambda pkt:pkt.value + 4),
81 FieldLenField("length", None, "domain", adjust=lambda pkt,x:x + 4),
88 FieldLenField("length", None, "status", adjust=lambda pkt,x:x + 4),
95 FieldLenField("length", None, "dtptype", adjust=lambda pkt,x:x + 4),
Dospf.py130 FieldLenField("len", None, length_of=lambda x: x.val),
156 FieldLenField("len", 20, fmt="B", length_of=lambda x: x.authdata),
303 FieldLenField("linkcount", None, count_of="linklist"),
413 fields_desc = [FieldLenField("lsacount", None, fmt="!I", count_of="lsalist"),
601 FieldLenField("prefixlen", None, length_of="prefix", fmt="B"),
634 FieldLenField("prefixlen", None, length_of="prefix", fmt="B"),
650 fields_desc = [FieldLenField("prefixlen", None, length_of="prefix", fmt="B"),
671 FieldLenField("prefixes", None, count_of="prefixlist", fmt="I"),
685 FieldLenField("prefixes", None, count_of="prefixlist", fmt="H"),
726 fields_desc = [FieldLenField("lsacount", None, fmt="!I", count_of="lsalist"),
Dsend.py62FieldLenField("len",None,length_of="data",fmt="B", adjust = lambda pkt,x: (x)/8),
75FieldLenField("len",None,length_of="data",fmt="B", adjust = lambda pkt,x: (x)/8),
83FieldLenField("len",None,length_of="data",fmt="B", adjust = lambda pkt,x: (x)/8),
Digmpv3.py119 FieldLenField("numsrc", None, count_of="srcaddrs"),
138 FieldLenField("numsrc", None, count_of="srcaddrs"),
154 FieldLenField("numgrp", None, count_of="records"),
Deigrp.py189 FieldLenField("len", None, "value", "!H", adjust=lambda pkt,x: x + 4),
216 FieldLenField("len", None, "authdata", "!H", adjust=lambda pkt,x: x + 24),
317 FieldLenField("len", None, "dst", "!H", adjust=lambda pkt,x: x + 25),
349 FieldLenField("len", None, "dst", "!H", adjust=lambda pkt,x: x + 45),
372 FieldLenField("len", None, "dst", "!H", adjust=lambda pkt,x: x + 37),
388 FieldLenField("len", None, "dst", "!H", adjust=lambda pkt,x: x + 57),
/external/scapy/scapy/layers/
Dsctp.py262 FieldLenField("len", None, length_of="data",
280 FieldLenField("len", None, length_of="cookie",
288 FieldLenField("len", None, length_of="param",
301 FieldLenField("len", None, length_of="hostname",
309 FieldLenField("len", None, length_of="addr_type_list",
322 FieldLenField("len", None, length_of="random",
330 FieldLenField("len", None, length_of="chunk_list",
339 FieldLenField("len", None, length_of="HMAC_functions_list",
348 FieldLenField("len", None, length_of="supported_extensions",
365 FieldLenField("len", None, length_of="addr",
[all …]
Dppp.py22 ConditionalField, FieldLenField, IntField, IPField, \
247 FieldLenField("len", None, length_of="data", fmt="B", adjust=lambda p,x:x+2),
267 FieldLenField("len", None, length_of="data", fmt="B", adjust=lambda p,x:x+2),
274 FieldLenField("len", None, length_of="data", fmt="B", adjust=lambda p,x:x+2),
281 FieldLenField("len", None, length_of="data", fmt="B", adjust=lambda p,x:x+2),
288 FieldLenField("len", None, length_of="data", fmt="B", adjust=lambda p,x:x+2),
295 FieldLenField("len", None, length_of="data", fmt="B", adjust=lambda p,x:x+2),
303FieldLenField("len" , None, fmt="H", length_of="options", adjust=lambda p,x:x+4 ),
315 FieldLenField("len", None, length_of="data", fmt="B", adjust=lambda p,x:x+2),
333 FieldLenField("len", None, length_of="data", fmt="B", adjust=lambda p,x:x+6),
[all …]
Ddhcp6.py24 from scapy.fields import BitField, ByteEnumField, ByteField, FieldLenField, \
277 FieldLenField("optlen", None, length_of="data", fmt="!H"),
305 FieldLenField("optlen", None, length_of="duid", fmt="!H"),
320 FieldLenField("optlen", None, length_of="iaaddropts",
354 FieldLenField("optlen", None, length_of="ianaopts",
368 FieldLenField("optlen", None, length_of="iataopts",
417 FieldLenField("optlen", None, length_of="reqopts", fmt="!H"),
487 FieldLenField("optlen", None, length_of="authinfo",
527 FieldLenField("optlen", None, length_of="statusmsg",
568 fields_desc = [ FieldLenField("len", None, length_of="data"),
[all …]
Disakmp.py249 FieldLenField("length",None,"trans","H", adjust=lambda pkt,x:x+8),
252 FieldLenField("SPIsize",None,"SPI","B"),
264 FieldLenField("length",None,"load","H", adjust=lambda pkt,x:x+4),
275 FieldLenField("length",None,"vendorID","H", adjust=lambda pkt,x:x+4),
285 FieldLenField("length",None,"prop","H", adjust=lambda pkt,x:x+12),
297 FieldLenField("length",None,"load","H", adjust=lambda pkt,x:x+4),
307 FieldLenField("length",None,"load","H", adjust=lambda pkt,x:x+4),
317 FieldLenField("length",None,"load","H",adjust=lambda pkt,x:x+8),
333 FieldLenField("length",None,"load","H",adjust=lambda pkt,x:x+4),
Dradius.py18 XStrLenField, XStrFixedLenField, FieldLenField, PacketField,\
231 FieldLenField("len", None, "value", "B",
515 FieldLenField(
554 FieldLenField(
1018 FieldLenField(
1037 FieldLenField(
1046 FieldLenField(
1139 FieldLenField(
Dnetflow.py310 FieldLenField("fieldCount", None, count_of="template_fields"),
320 FieldLenField("length", None, length_of="templates", adjust=lambda pkt,x:x+4),
334 FieldLenField("length", None, length_of="records", adjust = lambda pkt,x:x+4),
403 FieldLenField("option_scope_length", None, length_of="scopes"),
404 FieldLenField("option_field_length", None, length_of="options"),
414 FieldLenField("length", None, length_of="records", adjust = lambda pkt,x:x+4),
Deap.py17 XStrLenField, XStrFixedLenField, LenField, FieldLenField, PacketField,\
291 FieldLenField("len", None, fmt="H", length_of="optional_name",
294 FieldLenField("value_size", None, fmt="B", length_of="value"),
309 FieldLenField("len", None, fmt="H", length_of="tls_data",
331 FieldLenField("len", None, fmt="H", length_of="data",
354 FieldLenField("len", None, fmt="H", length_of="data",
381FieldLenField("count", None, "challenge_response", "B", adjust=lambda p, x: len(p.challenge_respon…
Dlltd.py17 LongField, MultiEnumField, FieldLenField, FieldListField, \
159 FieldLenField("stations_count", None, count_of="stations_list",
183 FieldLenField("descs_count", None, count_of="descs_list",
292 FieldLenField("len", None, length_of="value", fmt="B"),
363 FieldLenField("len", None, length_of="reserved2", fmt="B",
714 FieldLenField("len", None, length_of="hostname", fmt="B"),
727 FieldLenField("len", None, length_of="uuid", fmt="B"),
Dcan.py15 from scapy.fields import BitField, FieldLenField, FlagsField, StrLenField, \
30 FieldLenField("length", None, length_of="data", fmt="B"),
Dvrrp.py27 FieldLenField("ipcount", None, count_of="addrlist", fmt="B"),
58 FieldLenField("ipcount", None, count_of="addrlist", fmt="B"),
/external/scapy/scapy/layers/tls/
Dextensions.py64 FieldLenField("len", None, fmt="!H", length_of="val"),
135 FieldLenField("namelen", None, length_of="servername"),
146 class ServerLenField(FieldLenField):
159 FieldLenField("len", None, length_of="servernames",
208 FieldLenField("dnlen", None, length_of="dn"),
241 FieldLenField("talen", None, length_of="ta"),
254 fields_desc = [ FieldLenField("respidlen", None, length_of="respid"),
265 fields_desc = [ FieldLenField("respidlen", None, length_of="respid"),
268 FieldLenField("reqextlen", None, length_of="reqext"),
297 FieldLenField("umlen", None, fmt="B", length_of="um"),
[all …]
Dkeyexchange.py89 class SigAndHashAlgsLenField(FieldLenField):
92 getfield = phantom_decorate(FieldLenField.getfield, True)
93 addfield = phantom_decorate(FieldLenField.addfield, False)
102 class SigLenField(FieldLenField):
286 fields_desc = [ FieldLenField("dh_plen", None, length_of="dh_p"),
289 FieldLenField("dh_glen", None, length_of="dh_g"),
292 FieldLenField("dh_Yslen", None, length_of="dh_Ys"),
379 fields_desc = [ FieldLenField("alen", None, length_of="a", fmt="B"),
381 FieldLenField("blen", None, length_of="b", fmt="B"),
390 fields_desc = [ FieldLenField("klen", None, length_of="k", fmt="B"),
[all …]
Dhandshake.py228 FieldLenField("sidlen", None, fmt="B", length_of="sid"),
232 FieldLenField("cipherslen", None, fmt="!H",
238 FieldLenField("complen", None, fmt="B", length_of="comp"),
316 FieldLenField("sidlen", None, length_of="sid", fmt="B"),
479 class _ASN1CertLenField(FieldLenField):
627 FieldLenField("extlen", None, length_of="ext"),
641 FieldLenField("cert_req_ctxt_len", None, fmt="B",
812 FieldLenField("ctypeslen", None, fmt="B",
823 FieldLenField("certauthlen", None, fmt="!H",
1045 FieldLenField("cookielen", None,
[all …]
Dhandshake_sslv2.py107 FieldLenField("cipherslen", None, fmt="!H",
109 FieldLenField("sidlen", None, fmt="!H",
111 FieldLenField("challengelen", None, fmt="!H",
167 FieldLenField("certlen", None, fmt="!H",
169 FieldLenField("cipherslen", None, fmt="!H",
171 FieldLenField("connection_idlen", None, fmt="!H",
238 FieldLenField("clearkeylen", None, fmt="!H",
240 FieldLenField("encryptedkeylen", None, fmt="!H",
242 FieldLenField("keyarglen", None, fmt="!H",
439 FieldLenField("certlen", None, fmt="!H",
[all …]
Dkeyexchange_tls13.py39 FieldLenField("kxlen", None, length_of="key_exchange"),
132 FieldLenField("client_shares_len", None,
231 FieldLenField("encstatelen", None, length_of="encstate"),
249 fields_desc = [FieldLenField("identity_len", None,
257 fields_desc = [FieldLenField("binder_len", None, fmt="B",
267 FieldLenField("identities_len", None,
271 FieldLenField("binders_len", None,

12