MCPcopy
hub / github.com/moby/moby / SCTPProxy

Struct SCTPProxy

cmd/docker-proxy/sctp_proxy_linux.go:14–18  ·  view source on GitHub ↗

SCTPProxy is a proxy for SCTP connections. It implements the Proxy interface to handle SCTP traffic forwarding between the frontend and backend addresses.

Source from the content-addressed store, hash-verified

12// SCTPProxy is a proxy for SCTP connections. It implements the Proxy interface to
13// handle SCTP traffic forwarding between the frontend and backend addresses.
14type SCTPProxy struct {
15 listener *sctp.SCTPListener
16 frontendAddr *sctp.SCTPAddr
17 backendAddr *sctp.SCTPAddr
18}
19
20// NewSCTPProxy creates a new SCTPProxy.
21func NewSCTPProxy(listener *sctp.SCTPListener, backendAddr *sctp.SCTPAddr) (*SCTPProxy, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected