MCPcopy Create free account
hub / github.com/celzero/firestack / Protect

Method Protect

intra/backend/protect.go:47–47  ·  view source on GitHub ↗

Protect marks fd as protected from routing loops, if any. On Android, this means calling VpnService.protect(fd) to exempt it from fwmarks that route it back into the TUN device operated by firestack.

(who string, fd int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ifbindFunction · 0.65

Implementers 4

fakeCtlintra/dns53/dot_test.go
fakeCtlintra/doh/client_auth_test.go
fakeCtlintra/dnscrypt/servers_test.go
fakeCtlintra/ipn/proxy_test.go

Calls

no outgoing calls

Tested by

no test coverage detected