Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sshuttle/sshuttle
/ pf_get_anchor
Function
pf_get_anchor
sshuttle/methods/pf.py:413–414 ·
view source on GitHub ↗
(family, port)
Source
from the content-addressed store, hash-verified
411
412
413
def
pf_get_anchor(family, port):
414
return
'sshuttle%s-%d'
% (
''
if
family == socket.AF_INET
else
'6'
, port)
415
416
417
class
Method(BaseMethod):
Callers
2
setup_firewall
Method · 0.85
restore_firewall
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected