Home
last modified time | relevance | path

Searched refs:BitEnumField (Results 1 – 22 of 22) sorted by relevance

/external/scapy/scapy/contrib/
Dmqtt.py8 from scapy.fields import FieldLenField, BitEnumField, StrLenField, \
75 BitEnumField("type", 1, 4, CONTROL_PACKET_TYPE),
76 BitEnumField("DUP", 0, 1, {0: 'Disabled',
78 BitEnumField("QOS", 0, 2, QOS_LEVEL),
79 BitEnumField("RETAIN", 0, 1, {0: 'Disabled',
96 BitEnumField("usernameflag", 0, 1, {0: 'Disabled',
98 BitEnumField("passwordflag", 0, 1, {0: 'Disabled',
100 BitEnumField("willretainflag", 0, 1, {0: 'Disabled',
102 BitEnumField("willQOSflag", 0, 2, QOS_LEVEL),
103 BitEnumField("willflag", 0, 1, {0: 'Disabled',
[all …]
Dlldp.py47 BitField, StrLenField, ByteEnumField, BitEnumField, \
309 BitEnumField('_type', 0x01, 7, LLDPDU.TYPES),
358 BitEnumField('_type', 0x02, 7, LLDPDU.TYPES),
386 BitEnumField('_type', 0x03, 7, LLDPDU.TYPES),
413 BitEnumField('_type', 0x00, 7, LLDPDU.TYPES),
442 BitEnumField('_type', 0x04, 7, LLDPDU.TYPES),
453 BitEnumField('_type', 0x05, 7, LLDPDU.TYPES),
464 BitEnumField('_type', 0x06, 7, LLDPDU.TYPES),
475 BitEnumField('_type', 0x07, 7, LLDPDU.TYPES),
627 BitEnumField('_type', 0x08, 7, LLDPDU.TYPES),
Dbgp.py29 from scapy.fields import (Field, BitField, BitEnumField, XBitField, ByteField,
1644 BitEnumField("dscp", 48, 48, _ext_comm_traffic_action_fields)
2313 BitEnumField("action", 0, 2, _orf_actions),
2314 BitEnumField("match", 0, 1, _orf_match),
2349 BitEnumField("action", 0, 2, _orf_actions),
2350 BitEnumField("match", 0, 1, _orf_match),
2366 BitEnumField("action", 0, 2, _orf_actions),
2367 BitEnumField("match", 0, 1, _orf_match),
Dpnio_rtc.py31 from scapy.fields import BitEnumField, BitField, ByteField,\
51 BitEnumField("dataState", 1, 1, ["bad", "good"]),
52 BitEnumField("instance", 0, 2, ["subslot", "slot", "device", "controller"]),
Dcoap.py228 BitEnumField("type", 0, 2, {0: "CON", 1: "NON", 2: "ACK", 3: "RST"}),
Dgtp_v2.py650 BitEnumField("PDN_type", None, 3, PDN_TYPES),
705 BitEnumField("PDN_type", None, 3, PDN_TYPES)]
Dgtp.py314 BitEnumField("SelectionMode", "MS or APN",
Dhttp2.py1297 fields.BitEnumField('type', None, 1, {0: 'Literal', 1: 'Compressed'}),
1382 fields.BitEnumField(
Dopenflow.py90 BitEnumField("stp_state", 0, 24, ofp_port_state),
Dopenflow3.py275 BitEnumField("field", i//2, 7, ofp_oxm_names),
/external/scapy/scapy/layers/
Dnetbios.py91 BitEnumField("G",0,1,{0:"Unique name",1:"Group name"}),
92BitEnumField("OWNER_NODE_TYPE",00,2,{0:"B node",1:"P node",2:"M node",3:"H node"}),
93 BitEnumField("UNUSED",0,13,{0:"Unused"}),
133 BitEnumField("G",0,1,{0:"Unique name",1:"Group name"}),
134BitEnumField("OWNER_NODE_TYPE",00,2,{0:"B node",1:"P node",2:"M node",3:"H node"}),
135 BitEnumField("UNUSED",0,13,{0:"Unused"}),
Dntp.py17 from scapy.fields import (BitField, BitEnumField, ByteField, ByteEnumField, \
440 BitEnumField("leap", 0, 2, _leap_indicator),
442 BitEnumField("mode", 3, 3, _ntp_modes),
626 BitEnumField("leap_indicator", 0, 2, _system_statuses),
627 BitEnumField("clock_source", 0, 6, _clock_sources),
629 BitEnumField("system_event_code", 0, 4, _system_event_codes),
648 BitEnumField("peer_sel", 0, 3, _peer_selection),
650 BitEnumField("peer_event_code", 0, 4, _peer_event_codes),
664 BitEnumField("clock_status", 0, 8, _clock_statuses),
679 BitEnumField("error_code", 0, 8, _error_statuses),
[all …]
Dllmnr.py25 BitEnumField("opcode", 0, 4, { 0:"QUERY" }),
29 BitEnumField("rcode", 0, 4, { 0:"ok" }),
Dir.py21 BitEnumField("Type", 1, 1, {"Response":0,
Drtp.py43 BitEnumField('payload_type', 0, 7, _rtp_payload_types),
Dl2tp.py25 BitEnumField("version", 2, 4, {2: 'L2TPv2'}),
Ddns.py272 BitEnumField("opcode", 0, 4, {0: "QUERY", 1: "IQUERY", 2: "STATUS"}),
281 BitEnumField("rcode", 0, 4, {0: "ok", 1: "format-error",
371 BitEnumField("z", 32768, 16, { 32768: "D0" }),
617 BitEnumField("flags", 0, 8, {1:"Opt-Out"}),
Ddot11.py116 BitEnumField("type", 0, 2, ["Management", "Control", "Data",
Dinet6.py55 from scapy.fields import BitEnumField, BitField, ByteEnumField, ByteField, \
1991 BitEnumField("prf",1,2, { 0: "Medium (default)",
2573 BitEnumField("R", 1, 1, {1: 'MR'}),
2584 BitEnumField("R", 1, 1, {1: 'MR'}),
2611 BitEnumField("flags", 2, 2, {2: 'M', 1:'O'}),
Dinet.py92 BitEnumField("optclass",0,2,{0:"control",2:"debug"}),
93 BitEnumField("option",0,5, _ip_options_names) ]
/external/scapy/scapy/
Dfields.py1000 class BitEnumField(BitField, _EnumField): class
/external/scapy/doc/scapy/
Dbuild_dissect.rst907 BitEnumField