Return L2 socket used by interfaces of this provider
(self, dev)
| 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] |