Searched refs:l2types (Results 1 – 17 of 17) sorted by relevance
/external/scapy/scapy/arch/ |
D | pcapdnet.py | 210 if ll in conf.l2types: 211 cls = conf.l2types[ll] 286 if ll in conf.l2types: 287 cls = conf.l2types[ll] 336 if ll in conf.l2types: 337 cls = conf.l2types[ll] 468 if ll in conf.l2types: 469 cls = conf.l2types[ll] 620 cls = conf.l2types[1] 635 if ll in conf.l2types: [all …]
|
D | linux.py | 439 if sa_ll[3] in conf.l2types: 440 cls = conf.l2types[sa_ll[3]] 475 if sn[3] in conf.l2types: 476 ll = lambda x:conf.l2types[sn[3]]()/x 515 if sa_ll[3] in conf.l2types: 516 self.LL = conf.l2types[sa_ll[3]] 595 if sa_ll[3] in conf.l2types : 596 cls = conf.l2types[sa_ll[3]]
|
/external/scapy/scapy/layers/ |
D | dot11.py | 371 conf.l2types.register(DLT_IEEE802_11, Dot11) 372 conf.l2types.register_num2layer(801, Dot11) 373 conf.l2types.register(DLT_PRISM_HEADER, PrismHeader) 374 conf.l2types.register_num2layer(802, PrismHeader) 375 conf.l2types.register(DLT_IEEE802_11_RADIO, RadioTap) 376 conf.l2types.register_num2layer(803, RadioTap) 377 conf.l2types.register(DLT_PPI, PPI)
|
D | l2.py | 446 conf.l2types.register(ARPHDR_ETHER, Ether) 447 conf.l2types.register_num2layer(ARPHDR_METRICOM, Ether) 448 conf.l2types.register_num2layer(ARPHDR_LOOPBACK, Ether) 449 conf.l2types.register_layer2num(ARPHDR_ETHER, Dot3) 450 conf.l2types.register(DLT_LINUX_SLL, CookedLinux) 451 conf.l2types.register_num2layer(DLT_LINUX_IRDA, CookedLinux) 452 conf.l2types.register(DLT_LOOP, Loopback) 453 conf.l2types.register_num2layer(DLT_NULL, Loopback)
|
D | can.py | 36 conf.l2types.register(DLT_CAN_SOCKETCAN, CAN)
|
D | pflog.py | 60 conf.l2types.register(DLT_PFLOG, PFLog)
|
D | ppp.py | 717 conf.l2types.register(DLT_PPP, PPP) 718 conf.l2types.register(DLT_PPP_SERIAL, HDLC) 719 conf.l2types.register(DLT_PPP_ETHER, PPPoE)
|
D | inet.py | 815 conf.l2types.register(DLT_RAW, IP) 816 conf.l2types.register_num2layer(DLT_RAW_ALT, IP) 817 conf.l2types.register(DLT_IPV4, IP)
|
D | inet6.py | 3912 conf.l2types.register(31, IPv6) 3913 conf.l2types.register(DLT_IPV6, IPv6) 3914 conf.l2types.register(DLT_RAW, _IPv46) 3915 conf.l2types.register_num2layer(DLT_RAW_ALT, _IPv46)
|
D | bluetooth.py | 712 conf.l2types.register(DLT_BLUETOOTH_HCI_H4, HCI_Hdr)
|
/external/scapy/scapy/contrib/ |
D | ppi.py | 92 return conf.l2types.get(self.dlt, Packet.guess_payload_class(self, payload)) 97 conf.l2types.register(DLT_PPI, PPI)
|
D | chdlc.py | 55 conf.l2types.register(DLT_C_HDLC, CHDLC)
|
/external/scapy/scapy/ |
D | supersocket.py | 87 if sa_ll[3] in conf.l2types: 88 cls = conf.l2types[sa_ll[3]] 276 return conf.l2types.get(1, conf.raw_layer)(
|
D | utils.py | 876 self.LLcls = conf.l2types[self.linktype] 1036 p = conf.l2types[linktype](s) 1177 self.linktype = conf.l2types[pkt.__class__]
|
D | config.py | 402 l2types = Num2Layer() variable in Conf
|
/external/scapy/scapy/tools/ |
D | check_asdis.py | 60 LLcls = conf.l2types.get(pcap.linktype)
|
/external/scapy/scapy/arch/bpf/ |
D | supersocket.py | 137 return conf.l2types[ret]
|