MCPcopy Create free account
hub / github.com/SamNet-dev/snix / Close

Method Close

platform/backend.go:40–40  ·  view source on GitHub ↗

Close tears down rules and stops interception. Safe to call multiple times.

()

Source from the content-addressed store, hash-verified

38 // Close tears down rules and stops interception. Safe to call multiple
39 // times.
40 Close() error
41}
42
43// Scope narrows packet interception to a specific 5-tuple family.

Callers 15

writeYAMLFunction · 0.65
echoServerFunction · 0.65
tcpPairFunction · 0.65
RunFunction · 0.65
halfCloseWriteFunction · 0.65
writeConfigYAMLFunction · 0.65
runEngineFunction · 0.65
handleConnFunction · 0.65
defaultIfaceIPv4Function · 0.65
resolveLatestFunction · 0.65
resolveLatestAPIFunction · 0.65
downloadWithProgressFunction · 0.65

Implementers 3

fakeBackendcore/engine/engine_test.go
Backendplatform/windows/backend.go
Backendplatform/linux/nfqueue.go

Calls

no outgoing calls

Tested by 6

echoServerFunction · 0.52
tcpPairFunction · 0.52
TestDoubleCloseIsSafeFunction · 0.52
TestRawSocketAvailableFunction · 0.52
tlsTestServerFunction · 0.52