Home | History | Annotate | Download | only in contrib

Lines Matching refs:ether

30 from scapy.all import Packet, bind_layers, Ether, UDP, Field, conf
141 # {(Ether.src, Ether.dst): [(start, type, config), ...]}
149 ether = pkt
150 while ether is not None and not isinstance(ether, Ether):
151 ether = ether.underlayer
152 return ether
160 # get the config based on the tuple (Ether.src, Ether.dst)
161 ether = _get_ethernet(pkt)
163 if ether is not None and (ether.src, ether.dst) in conf.contribs["PNIO_RTC"]:
164 config = conf.contribs["PNIO_RTC"][(ether.src, ether.dst)]