Home
last modified time | relevance | path

Searched refs:l2types (Results 1 – 17 of 17) sorted by relevance

/external/scapy/scapy/arch/
Dpcapdnet.py210 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 …]
Dlinux.py439 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/
Ddot11.py371 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)
Dl2.py446 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)
Dcan.py36 conf.l2types.register(DLT_CAN_SOCKETCAN, CAN)
Dpflog.py60 conf.l2types.register(DLT_PFLOG, PFLog)
Dppp.py717 conf.l2types.register(DLT_PPP, PPP)
718 conf.l2types.register(DLT_PPP_SERIAL, HDLC)
719 conf.l2types.register(DLT_PPP_ETHER, PPPoE)
Dinet.py815 conf.l2types.register(DLT_RAW, IP)
816 conf.l2types.register_num2layer(DLT_RAW_ALT, IP)
817 conf.l2types.register(DLT_IPV4, IP)
Dinet6.py3912 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)
Dbluetooth.py712 conf.l2types.register(DLT_BLUETOOTH_HCI_H4, HCI_Hdr)
/external/scapy/scapy/contrib/
Dppi.py92 return conf.l2types.get(self.dlt, Packet.guess_payload_class(self, payload))
97 conf.l2types.register(DLT_PPI, PPI)
Dchdlc.py55 conf.l2types.register(DLT_C_HDLC, CHDLC)
/external/scapy/scapy/
Dsupersocket.py87 if sa_ll[3] in conf.l2types:
88 cls = conf.l2types[sa_ll[3]]
276 return conf.l2types.get(1, conf.raw_layer)(
Dutils.py876 self.LLcls = conf.l2types[self.linktype]
1036 p = conf.l2types[linktype](s)
1177 self.linktype = conf.l2types[pkt.__class__]
Dconfig.py402 l2types = Num2Layer() variable in Conf
/external/scapy/scapy/tools/
Dcheck_asdis.py60 LLcls = conf.l2types.get(pcap.linktype)
/external/scapy/scapy/arch/bpf/
Dsupersocket.py137 return conf.l2types[ret]