Return Scapy device name for given network device name
(network_name)
| 405 | |
| 406 | |
| 407 | def dev_from_networkname(network_name): |
| 408 | # type: (str) -> NetworkInterface |
| 409 | """Return Scapy device name for given network device name""" |
| 410 | return conf.ifaces.dev_from_networkname(network_name) |
| 411 | |
| 412 | |
| 413 | def dev_from_index(if_index): |
nothing calls this directly
no test coverage detected