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

Function get_working_ifaces

scapy/interfaces.py:401–404  ·  view source on GitHub ↗

Return all interfaces that work

()

Source from the content-addressed store, hash-verified

399
400
401def get_working_ifaces():
402 # type: () -> List[NetworkInterface]
403 """Return all interfaces that work"""
404 return [iface for iface in conf.ifaces.values() if iface.is_valid()]
405
406
407def dev_from_networkname(network_name):

Callers

nothing calls this directly

Calls 2

is_validMethod · 0.80
valuesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…