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

Method Packets

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

Packets returns the stream of intercepted packets. The channel is closed when the backend is stopped.

()

Source from the content-addressed store, hash-verified

30 // Packets returns the stream of intercepted packets. The channel is
31 // closed when the backend is stopped.
32 Packets() <-chan Packet
33
34 // Inject emits a raw IP packet onto the wire, bypassing the filter.
35 // Used to send the spoofed ClientHello.

Callers 1

RunMethod · 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