Home
last modified time | relevance | path

Searched refs:ByteField (Results 1 – 25 of 68) sorted by relevance

123

/external/scapy/scapy/contrib/
Dgsm_um.py376 ByteField("estCause", 0x0)
568 ByteField("handover", None),
975 ByteField("t1Mi", 0x0),
1222 ByteField("establishment", 0x0)
2834 ByteField("ciValue1", 0x0),
2835 ByteField("ciValue2", 0x0)
2882 ByteField("lac1", 0x0),
2883 ByteField("lac2", 0x0)
2989 ByteField("ieiMSC3", 0x0),
2990 ByteField("byte2", 0x0),
[all …]
Dikev2.py452 ByteField("res",0),
455 ByteField("res2",0),
464 ByteField("res",0),
466 ByteField("proposal",1),
469 ByteField("trans_nb",None),
490 ByteField("res",0),
502 ByteField("res",0),
552 ByteField("res",0),
554 ByteField("res2",0),
556 ByteField("starting_R_CTL",0),
[all …]
Deigrp.py200 ByteField("k1", 1),
202 ByteField("k2", 0),
204 ByteField("k3", 1),
206 ByteField("k4", 0),
208 ByteField("k5", 0),
209 ByteField("reserved", 0),
237 ByteField("addrlen", 4),
322 ByteField("hopcount", 0),
323 ByteField("reliability", 255),
324 ByteField("load", 0),
[all …]
Dgtp.py188 fields_desc=[ ByteField("length", 0x40),
193 fields_desc=[ ByteField("length", 0x01),
211 … ConditionalField(ByteField("npdu", 0), lambda pkt:pkt.E==1 or pkt.S==1 or pkt.PN==1),
295 ByteField("RAC", None) ]
307 ByteField("restart_counter", 24) ]
461 fields_desc = [ByteField("qos_ei", 0),
462 ByteField("length", None),
474 ByteField("max_sdu_size", None),
475 ByteField("max_bitrate_up", None),
476 ByteField("max_bitrate_down", None),
[all …]
Dgtp_v2.py101 ByteField("SPARE", 0)
158 ByteField("EBI", 0)]
302 ByteField("restart_counter", 0)]
417 ByteField("length", 0),
424 ByteField("length", 0),
431 ByteField("length", 0),
438 ByteField("length", 0),
445 ByteField("length", 0),
486 ByteField("length", 0),
495 ByteField("length", 0),
[all …]
Drsvp.py39 ByteField("TTL",1),
133 ByteField("C-Type",1)]
171 fields_desc = [ ByteField("Msg_Format",0),
172 ByteField("reserve",0),
174 ByteField("Srv_hdr",1),
175 ByteField("reserve2",0),
190 fields_desc = [ ByteField("Setup_priority",1),
191 ByteField("Hold_priority",1),
192 ByteField("flags",1),
193 ByteField("Name_length",1),
Dospf.py59 ByteField("version", 2),
70 ConditionalField(ByteField("keyid", 1), lambda pkt:pkt.authtype == 2),
71 ConditionalField(ByteField("authdatalen", 0), lambda pkt:pkt.authtype == 2),
113 ByteField("prio", 1),
250 ByteField("toscount", 0),
253 ConditionalField(ByteField("tos", 0), lambda pkt: False),
254 ConditionalField(ByteField("reserved", 0), lambda pkt: False),
295 ByteField("type", 1),
302 ByteField("reserved", 0),
313 ByteField("type", 2),
[all …]
Dsend.py61 fields_desc = [ ByteField("type",14),
67 fields_desc = [ ByteField("type",13),
68 ByteField("len",2),
74 fields_desc = [ ByteField("type",12),
82 fields_desc = [ ByteField("type",11),
84 ByteField("padlength",0),
85 ByteField("reserved",0),
Dcarp.py22 from scapy.fields import BitField, ByteField, XShortField, IntField, XIntField
29 ByteField("vhid", 1),
30 ByteField("advskew", 0),
31 ByteField("authlen", 0),
32 ByteField("demotion", 0),
33 ByteField("advbase", 0),
Dvtp.py87 ByteField("length", 0),
97 ByteField("len", None), # FIXME: compute length
146 ByteField("ver", 2),
148 ConditionalField(ByteField("followers", 1),
150 ConditionalField(ByteField("seq", 1),
152 ConditionalField(ByteField("reserved", 0),
154 ByteField("domnamelen", None),
Disis.py245 fields_desc = [ByteField("type", 0),
455 ByteField("len", 2),
462 ByteField("len", 2),
633 fields_desc = [ByteField("defmetric", 1),
634 ByteField("delmetric", 0x80),
635 ByteField("expmetric", 0x80),
636 ByteField("errmetric", 0x80),
664 fields_desc = [ByteField("defmetric", 1),
665 ByteField("delmetric", 0x80),
666 ByteField("expmetric", 0x80),
[all …]
Dppi_geotag.py316 ByteField('geotag_ver', CURR_GEOTAG_VER),
317 ByteField('geotag_pad', 0),
356 ByteField('geotag_ver', CURR_GEOTAG_VER), #base_geotag_header.ver
357 ByteField('geotag_pad', 0), #base_geotag_header.pad
384 ByteField('geotag_ver', CURR_GEOTAG_VER), #base_geotag_header.ver
385 ByteField('geotag_pad', 0), #base_geotag_header.pad
428 ByteField('geotag_ver', CURR_GEOTAG_VER ), #base_geotag_header.ver
429 ByteField('geotag_pad', 0), #base_geotag_header.pad
434 ByteField("Gain", None),
455 ByteField('geotag_ver', CURR_GEOTAG_VER), #base_geotag_header.ver
[all …]
Dbgp.py29 from scapy.fields import (Field, BitField, BitEnumField, XBitField, ByteField,
639 ByteField("length", 0),
665 ByteField("length", 4),
667 ByteField("reserved", 0),
711 ByteField("reserved", 0),
773 ByteField("length", None),
809 ByteField("length", None),
828 ByteField("length", 4),
845 fields_desc = [ByteField("authentication_code", 0),
888 ByteField("param_length", None),
[all …]
Dicmp_extensions.py34 ByteField('classnum', 0),
35 ByteField('classtype', 0) ]
117 ByteField('classnum', 1),
118 ByteField('classtype', 1),
127 ByteField('classnum', 2),
/external/scapy/scapy/layers/
Dsmb.py20 ByteField("Error_Class",0x02),
21 ByteField("Reserved",0),
23 ByteField("Flags",0),
32 ByteField("WordCount",17),
37 ByteField("MaxSetupCount",0),
38 ByteField("unused2",0),
40 ByteField("TimeOut1",0xe8),
41 ByteField("TimeOut2",0x03),
48 ByteField("SetupCount", 3),
49 ByteField("unused5", 0)]
[all …]
Dnetbios.py22 ByteField("flags",0),
66 ByteField("NULL",0),
83 ByteField("NULL",0),
108 ByteField("NULL",0),
128 ByteField("NULL",0),
149 ByteField("NULL",0),
154 ByteField("NUM_NAMES",1)]
161 ByteField("NAME_FLAGS",0x4),
181 ByteField("NULL",0),
190 fields_desc= [ByteField("Type", 0x10),
[all …]
Dntp.py17 from scapy.fields import (BitField, BitEnumField, ByteField, ByteEnumField, \
960 ByteField("stratum", 0),
961 ByteField("hpoll", 0),
962 ByteField("ppoll", 0),
963 ByteField("reach", 0),
965 ByteField("hmode", _ntp_modes),
987 ByteField("leap", 0),
989 ByteField("pmode", 0),
990 ByteField("stratum", 0),
991 ByteField("ppoll", 0),
[all …]
Dhsrp.py44 ByteField("version", 0),
47 ByteField("hellotime", 3),
48 ByteField("holdtime", 10),
49 ByteField("priority", 120),
50 ByteField("group", 1),
51 ByteField("reserved", 0),
66 ByteField("len", None),
68 ByteField("padding", 0x00),
Dinet6.py55 from scapy.fields import BitEnumField, BitField, ByteEnumField, ByteField, \
415 ByteField("hlim", 64),
665 ByteField("nh", 0) ]
807 ByteField("optlen", 2),
827 ByteField("optlen", 4),
837 ByteField("optlen", 16),
940 class _PhantomAutoPadField(ByteField):
984 ByteField("type", 0),
985 ByteField("segleft", None),
1004 fields_desc = [ ByteField("type", 0),
[all …]
Disakmp.py218 ByteField("res",0),
221 ByteField("num",None),
248 ByteField("res",0),
250 ByteField("proposal",1),
253 ByteField("trans_nb",None),
263 ByteField("res",0),
274 ByteField("res",0),
284 ByteField("res",0),
296 ByteField("res",0),
306 ByteField("res",0),
[all …]
Dlltd.py15 from scapy.fields import BitField, FlagsField, ByteField, ByteEnumField, \
42 ByteField("version", 1),
48 ByteField("reserved", 0),
174 ByteField("pause", 0),
348 ByteField("len", 6),
375 ByteField("len", 4),
661 ByteField("len", 4),
670 ByteField("len", 16),
679 ByteField("len", 2),
688 ByteField("len", 8),
[all …]
Dvrrp.py25 ByteField("vrid", 1),
26 ByteField("priority", 100),
28 ByteField("authtype", 0),
29 ByteField("adv", 1),
56 ByteField("vrid", 1),
57 ByteField("priority", 100),
Dbluetooth.py133 ByteField("id",0),
336 fields_desc = [ ByteField("sm_command", None) ]
344 ByteField("max_key_size", 16),
345 ByteField("initiator_key_distribution", 0),
346 ByteField("responder_key_distribution", 0), ]
353 ByteField("max_key_size", 16),
354 ByteField("initiator_key_distribution", 0),
355 ByteField("responder_key_distribution", 0), ]
501 ByteField("len", None), ]
522 fields_desc = [ ByteField("supported", 1),
[all …]
Dnetflow.py81 ByteField("proto", 0),
82 ByteField("tos", 0),
104 ByteField("engineType", 0),
105 ByteField("engineID", 0),
122 ByteField("pad1", 0),
125 ByteField("tos",0),
128 ByteField("src_mask", 0),
129 ByteField("dst_mask", 0),
Deap.py15 from scapy.fields import BitField, ByteField, XByteField, ByteEnumField,\
196 ByteField("id", 0),
290 ByteField("id", 0),
308 ByteField("id", 0),
330 ByteField("id", 0),
353 ByteField("id", 0),
376 ByteField("id", 0),
379 ByteField('version', 1),
480 ByteField("mka_version_id", 0),
481 ByteField("key_server_priority", 0),

123