MCPcopy Index your code
hub / github.com/sshuttle/sshuttle / _route_netstat

Function _route_netstat

sshuttle/server.py:63–70  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

61
62
63def _route_netstat(line):
64 cols = line.split(None)
65 if len(cols) < 3:
66 return None, None
67 ipw = _ipmatch(cols[0])
68 maskw = _ipmatch(cols[2]) # linux only
69 mask = _maskbits(maskw) # returns 32 if maskw is null
70 return ipw, mask
71
72
73def _route_iproute(line):

Callers

nothing calls this directly

Calls 2

_ipmatchFunction · 0.85
_maskbitsFunction · 0.85

Tested by

no test coverage detected