(self, iface_name, peer_name)
| 416 | """ |
| 417 | |
| 418 | def __init__(self, iface_name, peer_name): |
| 419 | # type: (str, str) -> None |
| 420 | if not LINUX: |
| 421 | # ToDo: do we need a kernel version check here? |
| 422 | raise ScapyInvalidPlatformException( |
| 423 | 'Virtual Ethernet interface pair only available on Linux' |
| 424 | ) |
| 425 | |
| 426 | self.ifaces = [iface_name, peer_name] |
| 427 | |
| 428 | def iface(self): |
| 429 | # type: () -> str |
nothing calls this directly
no test coverage detected