Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/sshuttle/sshuttle
/ _inet_version
Method
_inet_version
sshuttle/methods/pf.py:140–141 ·
view source on GitHub ↗
(family)
Source
from the content-addressed store, hash-verified
138
139
@staticmethod
140
def
_inet_version(family):
141
return
b
'inet'
if
family == socket.AF_INET
else
b
'inet6'
142
143
@staticmethod
144
def
_lo_addr(family):
Callers
2
add_rules
Method · 0.80
add_rules
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected