Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/sshuttle/sshuttle
/ check_host
Function
check_host
sshuttle/hostwatch.py:187–191 ·
view source on GitHub ↗
(hostname)
Source
from the content-addressed store, hash-verified
185
186
187
def
check_host(hostname):
188
if
_is_ip(hostname):
189
_enqueue(_check_revdns, hostname)
190
else
:
191
_enqueue(_check_dns, hostname)
192
193
194
def
_enqueue(op, *args):
Callers
5
_check_etc_hosts
Function · 0.85
_check_revdns
Function · 0.85
_check_dns
Function · 0.85
_check_netstat
Function · 0.85
hw_main
Function · 0.85
Calls
2
_is_ip
Function · 0.85
_enqueue
Function · 0.85
Tested by
no test coverage detected