/external/scapy/scapy/contrib/ |
D | homeplugav.py | 685 ConditionalField(XByteField("FirmwareMajorVersion", 0x00), 687 ConditionalField(XByteField("PIBMinorVersion", 0x00), 689 ConditionalField(XShortField("reserved_1" , 0x0000), 691 ConditionalField(XShortField("PIBLength" , 0x0000), 693 ConditionalField(XShortField("reserved_2" , 0x0000), 695 ConditionalField(LEIntField("checksumPIB", None), 697 ConditionalField(MACField("PIBMACAddr", "00:00:00:00:00:00"), 699 ConditionalField(StrFixedLenField("DAK", 703 ConditionalField(XShortField("reserved_3" , 0x0000), 705 ConditionalField(StrFixedLenField("ManufactorID", [all …]
|
D | gtp.py | 210 … ConditionalField(XBitField("seq", 0, 16), lambda pkt:pkt.E==1 or pkt.S==1 or pkt.PN==1), 211 … ConditionalField(ByteField("npdu", 0), lambda pkt:pkt.E==1 or pkt.S==1 or pkt.PN==1), 212 …ConditionalField(ByteEnumField("next_ex", 0, ExtensionHeadersTypes), lambda pkt:pkt.E==1 or pkt.S=… 398 ConditionalField(IPField("PDPAddress", RandIP()), 491 ConditionalField(XBitField("spare", 0x00, 2), 493 ConditionalField(XBitField("delay_class", 0x000, 3), 495 ConditionalField(XBitField("reliability_class", 0x000, 3), 498 ConditionalField(XBitField("peak_troughput", 0x0000, 4), 500 ConditionalField(BitField("spare", 0, 1), 502 ConditionalField(XBitField("precedence_class", 0x000, 3), [all …]
|
D | gtp_v2.py | 98 ConditionalField(IntField("teid", 0), 230 ConditionalField( 232 ConditionalField( 234 ConditionalField( 236 ConditionalField(PacketField("ECGI", 0, ULI_ECGI), 250 ConditionalField( 252 ConditionalField(XBitField("ipv6", "2001::", 128), 358 ConditionalField( 360 ConditionalField( 362 ConditionalField( [all …]
|
D | vtp.py | 105 ConditionalField(PacketListField("tlvlist", [], VTPVlanInfoTlv, 148 ConditionalField(ByteField("followers", 1), 150 ConditionalField(ByteField("seq", 1), 152 ConditionalField(ByteField("reserved", 0), 156 ConditionalField(SignedIntField("rev", 0), 160 ConditionalField(IPField("uid", "192.168.0.1"), 162 ConditionalField(VTPTimeStampField("timestamp", '930301000000'), 164 ConditionalField(StrFixedLenField("md5", b"\x00" * 16, 16), 166 ConditionalField( 169 ConditionalField(ShortField("startvalue", 0),
|
D | chdlc.py | 36 ConditionalField(IPField("address", "192.168.0.1"), 38 ConditionalField(IPField("mask", "255.255.255.0"), 40 ConditionalField(XShortField("unused", 0), 42 ConditionalField(IntField("mysequence", 0), 44 ConditionalField(IntField("yoursequence", 0), 46 ConditionalField(XShortField("reliability", 0xffff),
|
D | mqtt.py | 9 ShortField, ConditionalField, ByteEnumField, ByteField, StrNullField 114 ConditionalField(FieldLenField("wtoplen", None, length_of="willtopic"), 116 ConditionalField(StrLenField("willtopic", "", 119 ConditionalField(FieldLenField("wmsglen", None, length_of="willmsg"), 121 ConditionalField(StrLenField("willmsg", "", 124 ConditionalField(FieldLenField("userlen", None, length_of="username"), 126 ConditionalField(StrLenField("username", "", 129 ConditionalField(FieldLenField("passlen", None, length_of="password"), 131 ConditionalField(StrLenField("password", "", 160 ConditionalField(ShortField("msgid", None),
|
D | nsh.py | 21 from scapy.fields import ConditionalField, PacketListField, BitFieldLenField 76 ConditionalField(XIntField('NPC', 0), lambda pkt: pkt.MDType == 1), 77 ConditionalField(XIntField('NSC', 0), lambda pkt: pkt.MDType == 1), 78 ConditionalField(XIntField('SPC', 0), lambda pkt: pkt.MDType == 1), 79 ConditionalField(XIntField('SSC', 0), lambda pkt: pkt.MDType == 1), 80 ConditionalField(PacketListField("ContextHeaders", None,
|
D | icmp_extensions.py | 135 ConditionalField( 139 ConditionalField( 142 ConditionalField( 145 ConditionalField( 148 ConditionalField( 152 ConditionalField( 156 ConditionalField( 161 ConditionalField(
|
D | vqp.py | 50 ConditionalField(IPField("datatom", "0.0.0.0"), 52 ConditionalField(MACField("data", "00:00:00:00:00:00"), 54 ConditionalField(MACField("data", "00:00:00:00:00:00"), 56 ConditionalField(StrLenField("data", None,
|
D | ospf.py | 67 ConditionalField(XLongField("authdata", 0), lambda pkt:pkt.authtype != 2), 69 ConditionalField(XShortField("reserved", 0), lambda pkt:pkt.authtype == 2), 70 ConditionalField(ByteField("keyid", 1), lambda pkt:pkt.authtype == 2), 71 ConditionalField(ByteField("authdatalen", 0), lambda pkt:pkt.authtype == 2), 72 ConditionalField(XIntField("seq", 0), lambda pkt:pkt.authtype == 2), 253 ConditionalField(ByteField("tos", 0), lambda pkt: False), 254 ConditionalField(ByteField("reserved", 0), lambda pkt: False), 255 ConditionalField(ShortField("tosmetric", 0), lambda pkt: False)] 338 ConditionalField(ByteField("tos", 0), lambda pkt:False), 339 ConditionalField(X3BytesField("tosmetric", 0), lambda pkt:False)] [all …]
|
D | gsm_um.py | 3720 ConditionalField(BitField("spare", 0x0, 39), 3722 ConditionalField(BitField("spare", 0x0, 3), 3724 ConditionalField(BitField("priority", 0x0, 2), 3726 ConditionalField(BitField("rlcMode", 0x0, 1), 3728 ConditionalField(BitField("llcFrame", 0x1, 1), 3730 ConditionalField(ByteField("reqBandMsb", 0x0), 3732 ConditionalField(ByteField("reqBandLsb", 0x0), 3734 ConditionalField(ByteField("rlcMsb", 0x0), 3736 ConditionalField(ByteField("rlcLsb", 0x0), 3914 ConditionalField(BitField("spare", 0x0, 2), [all …]
|
D | ripng.py | 36 ConditionalField(IP6Field("prefix", "::"), 38 ConditionalField(IP6Field("nexthop", "::"),
|
D | isis.py | 481 …ConditionalField(FieldLenField("subtlvslen", None, length_of="subtlvs", fmt= "B"), lambda pkt: pkt… 482 …ConditionalField(PacketListField("subtlvs", [], _ISIS_GuessSubTlvClass_2, length_from=lambda x: x.… 542 …ConditionalField(FieldLenField("subtlvslen", None, length_of="subtlvs", fmt= "B"), lambda pkt: pkt… 543 …ConditionalField(PacketListField("subtlvs", [], _ISIS_GuessSubTlvClass_2, length_from=lambda x: x.… 603 ConditionalField(IntField("extlocalcircuitid", None), lambda pkt: pkt.len >= 5), 604 … ConditionalField(ISIS_SystemIdField("neighboursystemid", None), lambda pkt: pkt.len >= 11), 605 … ConditionalField(IntField("neighbourextlocalcircuitid", None), lambda pkt: pkt.len == 15)]
|
D | bgp.py | 34 IPField, FlagsField, ConditionalField, 640 ConditionalField( 889 ConditionalField( 899 ConditionalField( 1844 ConditionalField(IPField("nh_v4_addr", "0.0.0.0"), 1846 ConditionalField(IP6Field("nh_v6_addr", "::"), 1848 ConditionalField(IP6Field("nh_v6_global", "::"), 1850 ConditionalField(IP6Field("nh_v6_link_local", "::"), 2023 ConditionalField( 2028 ConditionalField(
|
/external/scapy/scapy/layers/ |
D | rip.py | 46 ConditionalField(StrFixedLenField("password", None, 16), 48 ConditionalField(ShortField("digestoffset", 0), 50 ConditionalField(ByteField("keyid", 0), 52 ConditionalField(ByteField("authdatalen", 0), 54 ConditionalField(IntField("seqnum", 0), 56 ConditionalField(StrFixedLenField("zeropad", None, 8), 58 ConditionalField(StrLenField("authdata", None,
|
D | vxlan.py | 15 ConditionalField, ShortField, ByteEnumField, X3BytesField 27 ConditionalField( 31 ConditionalField( 40 ConditionalField( 44 ConditionalField( 48 ConditionalField(
|
D | l2tp.py | 27 ConditionalField(ShortField("len", 0), 31 ConditionalField(ShortField("ns", 0), 33 ConditionalField(ShortField("nr", 0), 35 ConditionalField(
|
D | eap.py | 18 PacketListField, ConditionalField, PadField 198 ConditionalField(ByteEnumField("type", 0, eap_types), 201 ConditionalField(ByteEnumField("desired_auth_type", 0, eap_types), 203 ConditionalField( 206 ConditionalField( 316 ConditionalField(IntField('tls_message_len', 0), lambda pkt: pkt.L == 1), 339 ConditionalField(IntField("message_len", 0), lambda pkt: pkt.L == 1), 362 ConditionalField(IntField('message_len', 0), lambda pkt: pkt.L == 1), 628 ConditionalField(
|
D | ppp.py | 22 ConditionalField, FieldLenField, IntField, IPField, \ 269 … ConditionalField(StrLenField("garbage","", length_from=lambda pkt:pkt.len-6), lambda p:p.len!=6) ] 276 … ConditionalField(StrLenField("garbage","", length_from=lambda pkt:pkt.len-6), lambda p:p.len!=6) ] 283 … ConditionalField(StrLenField("garbage","", length_from=lambda pkt:pkt.len-6), lambda p:p.len!=6) ] 290 … ConditionalField(StrLenField("garbage","", length_from=lambda pkt:pkt.len-6), lambda p:p.len!=6) ] 297 … ConditionalField(StrLenField("garbage","", length_from=lambda pkt:pkt.len-6), lambda p:p.len!=6) ] 466 ConditionalField(StrLenField("data", '', length_from=lambda p:p.len-4), 468 ConditionalField(ByteEnumField("algorithm", 5, _PPP_LCP_CHAP_algorithms),
|
D | sctp.py | 371 ConditionalField( 374 ConditionalField( 386 ConditionalField( 389 ConditionalField( 410 ConditionalField( 413 ConditionalField(
|
D | ntp.py | 21 PacketListField, FieldListField, ConditionalField, PadField) 448 ConditionalField(IPField("id", "127.0.0.1"), lambda p: p.stratum > 1), 449 ConditionalField( 817 ConditionalField(NTPControlStatusField( 819 ConditionalField(ShortField("status", 0), lambda p: p.response == 0), 1802 ConditionalField( 1813 ConditionalField( 1824 ConditionalField(PacketField("authenticator", "", NTPPrivatePktTail),
|
D | l2.py | 338 …ConditionalField(XShortField("chksum",None), lambda pkt:pkt.chksum_present==1 or pkt.routing_prese… 339 …ConditionalField(XShortField("offset",None), lambda pkt:pkt.chksum_present==1 or pkt.routing_prese… 340 ConditionalField(XIntField("key",None), lambda pkt:pkt.key_present==1), 341 … ConditionalField(XIntField("seqence_number",None), lambda pkt:pkt.seqnum_present==1), 378 … ConditionalField(XIntField("seqence_number", None), lambda pkt: pkt.seqnum_present == 1), 379 … ConditionalField(XIntField("ack_number", None), lambda pkt: pkt.acknum_present == 1)]
|
D | dot11.py | 123 ConditionalField( 128 ConditionalField( 132 ConditionalField(LEShortField("SC", 0), lambda pkt: pkt.type != 1), 133 ConditionalField(
|
D | inet.py | 678 … ConditionalField(XShortField("id",0), lambda pkt:pkt.type in [0,8,13,14,15,16,17,18]), 679 … ConditionalField(XShortField("seq",0), lambda pkt:pkt.type in [0,8,13,14,15,16,17,18]), 680 … ConditionalField(ICMPTimeStampField("ts_ori", None), lambda pkt:pkt.type in [13,14]), 681 … ConditionalField(ICMPTimeStampField("ts_rx", None), lambda pkt:pkt.type in [13,14]), 682 … ConditionalField(ICMPTimeStampField("ts_tx", None), lambda pkt:pkt.type in [13,14]), 683 ConditionalField(IPField("gw","0.0.0.0"), lambda pkt:pkt.type==5), 684 ConditionalField(ByteField("ptr",0), lambda pkt:pkt.type==12), 685 ConditionalField(ByteField("reserved",0), lambda pkt:pkt.type in [3,11]), 686 ConditionalField(ByteField("length",0), lambda pkt:pkt.type in [3,11,12]), 687 … ConditionalField(IPField("addr_mask","0.0.0.0"), lambda pkt:pkt.type in [17,18]), [all …]
|
D | lltd.py | 18 PacketListField, StrLenField, StrLenFieldUtf16, ConditionalField, MACField 86 ConditionalField(ShortField("xid", 0), 88 ConditionalField(ShortField("seq", 0),
|