MCPcopy
hub / github.com/XTLS/Xray-core / Stack

Interface Stack

proxy/tun/stack.go:8–11  ·  view source on GitHub ↗

Stack interface implement ip protocol stack, bridging raw network packets and data streams

Source from the content-addressed store, hash-verified

6
7// Stack interface implement ip protocol stack, bridging raw network packets and data streams
8type Stack interface {
9 Start() error
10 Close() error
11}
12
13// StackOptions for the stack implementation
14type StackOptions struct {

Callers 2

InitMethod · 0.95
InitMethod · 0.95

Implementers 15

TestDispatchertransport/internet/udp/dispatcher_test
Instancecore/xray.go
LinuxTunproxy/tun/tun_linux.go
DarwinTunproxy/tun/tun_darwin.go
stackGVisorproxy/tun/stack_gvisor.go
WindowsTunproxy/tun/tun_windows.go
AndroidTunproxy/tun/tun_android.go
DefaultTunproxy/tun/tun_default.go
Reverseproxy/vless/inbound/inbound.go
Reverseproxy/vless/outbound/outbound.go
DefaultManagerfeatures/policy/default.go
Clientfeatures/dns/localdns/client.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…