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

Function dev_from_networkname

scapy/interfaces.py:407–410  ·  view source on GitHub ↗

Return Scapy device name for given network device name

(network_name)

Source from the content-addressed store, hash-verified

405
406
407def 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
413def dev_from_index(if_index):

Callers

nothing calls this directly

Calls 1

dev_from_networknameMethod · 0.80

Tested by

no test coverage detected