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

Function network_name

scapy/interfaces.py:440–445  ·  view source on GitHub ↗

Resolves the device network name of a device or Scapy NetworkInterface

(dev)

Source from the content-addressed store, hash-verified

438
439
440def network_name(dev):
441 # type: (_GlobInterfaceType) -> str
442 """
443 Resolves the device network name of a device or Scapy NetworkInterface
444 """
445 return resolve_iface(dev).network_name
446
447
448def show_interfaces(resolve_mac=True):

Callers 15

ScopedIPFunction · 0.90
__init__Method · 0.90
__init__Method · 0.90
sendpfastFunction · 0.90
get_if_addr6Function · 0.90
compile_filterFunction · 0.90
__init__Method · 0.90
__init__Method · 0.90
sendMethod · 0.90
_read_routes_c_v1Function · 0.90
_read_routes_cFunction · 0.90
__init__Method · 0.90

Calls 1

resolve_ifaceFunction · 0.85

Tested by

no test coverage detected