MCPcopy Index your code
hub / github.com/secdev/scapy / _l2socket

Method _l2socket

scapy/interfaces.py:53–56  ·  view source on GitHub ↗

Return L2 socket used by interfaces of this provider

(self, dev)

Source from the content-addressed store, hash-verified

51 return self.load()
52
53 def _l2socket(self, dev):
54 # type: (NetworkInterface) -> Type[scapy.supersocket.SuperSocket]
55 """Return L2 socket used by interfaces of this provider"""
56 return conf.L2socket
57
58 def _l2listen(self, dev):
59 # type: (NetworkInterface) -> Type[scapy.supersocket.SuperSocket]

Callers 1

l2socketMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected