MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / net_flows

Function net_flows

network_diagnostics.py:2048–2050  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2046 return 'link-down'
2047 return 'unknown'
2048
2049
2050def _is_wireless(iface):
2051 import os
2052 return os.path.isdir(f'/sys/class/net/{iface}/wireless')
2053

Callers

nothing calls this directly

Calls 3

_logFunction · 0.85
do_flow_telemetryFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected