/external/scapy/scapy/contrib/ |
D | mqtt.py | 8 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 …]
|
D | lldp.py | 47 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),
|
D | bgp.py | 29 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),
|
D | pnio_rtc.py | 31 from scapy.fields import BitEnumField, BitField, ByteField,\ 51 BitEnumField("dataState", 1, 1, ["bad", "good"]), 52 BitEnumField("instance", 0, 2, ["subslot", "slot", "device", "controller"]),
|
D | coap.py | 228 BitEnumField("type", 0, 2, {0: "CON", 1: "NON", 2: "ACK", 3: "RST"}),
|
D | gtp_v2.py | 650 BitEnumField("PDN_type", None, 3, PDN_TYPES), 705 BitEnumField("PDN_type", None, 3, PDN_TYPES)]
|
D | gtp.py | 314 BitEnumField("SelectionMode", "MS or APN",
|
D | http2.py | 1297 fields.BitEnumField('type', None, 1, {0: 'Literal', 1: 'Compressed'}), 1382 fields.BitEnumField(
|
D | openflow.py | 90 BitEnumField("stp_state", 0, 24, ofp_port_state),
|
D | openflow3.py | 275 BitEnumField("field", i//2, 7, ofp_oxm_names),
|
/external/scapy/scapy/layers/ |
D | netbios.py | 91 BitEnumField("G",0,1,{0:"Unique name",1:"Group name"}), 92 … BitEnumField("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"}), 134 … BitEnumField("OWNER_NODE_TYPE",00,2,{0:"B node",1:"P node",2:"M node",3:"H node"}), 135 BitEnumField("UNUSED",0,13,{0:"Unused"}),
|
D | ntp.py | 17 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 …]
|
D | llmnr.py | 25 BitEnumField("opcode", 0, 4, { 0:"QUERY" }), 29 BitEnumField("rcode", 0, 4, { 0:"ok" }),
|
D | ir.py | 21 BitEnumField("Type", 1, 1, {"Response":0,
|
D | rtp.py | 43 BitEnumField('payload_type', 0, 7, _rtp_payload_types),
|
D | l2tp.py | 25 BitEnumField("version", 2, 4, {2: 'L2TPv2'}),
|
D | dns.py | 272 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"}),
|
D | dot11.py | 116 BitEnumField("type", 0, 2, ["Management", "Control", "Data",
|
D | inet6.py | 55 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'}),
|
D | inet.py | 92 BitEnumField("optclass",0,2,{0:"control",2:"debug"}), 93 BitEnumField("option",0,5, _ip_options_names) ]
|
/external/scapy/scapy/ |
D | fields.py | 1000 class BitEnumField(BitField, _EnumField): class
|