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

Method Inject

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

Inject emits a raw IP packet onto the wire, bypassing the filter. Used to send the spoofed ClientHello.

(p []byte, dir Direction)

Source from the content-addressed store, hash-verified

34 // Inject emits a raw IP packet onto the wire, bypassing the filter.
35 // Used to send the spoofed ClientHello.
36 Inject(p []byte, dir Direction) error
37
38 // Close tears down rules and stops interception. Safe to call multiple
39 // times.

Callers 1

scheduleInjectMethod · 0.65

Implementers 3

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

Calls

no outgoing calls

Tested by

no test coverage detected