MCPcopy
hub / github.com/xjasonlyu/tun2socks / PacketConnCipher

Interface PacketConnCipher

transport/shadowsocks/core/cipher.go:23–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23type PacketConnCipher interface {
24 PacketConn(net.PacketConn) net.PacketConn
25}
26
27// ErrCipherNotSupported occurs when a cipher is not supported (likely because of security concerns).
28var ErrCipherNotSupported = errors.New("cipher not supported")

Callers 1

DialUDPMethod · 0.65

Implementers 3

AeadCiphertransport/shadowsocks/core/cipher.go
StreamCiphertransport/shadowsocks/core/cipher.go
dummytransport/shadowsocks/core/cipher.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…