MCPcopy Create free account
hub / github.com/google/nftables / TProxy

Struct TProxy

expr/tproxy.go:35–40  ·  view source on GitHub ↗

TProxy defines struct with parameters for the transparent proxy

Source from the content-addressed store, hash-verified

33
34// TProxy defines struct with parameters for the transparent proxy
35type TProxy struct {
36 Family byte
37 TableFamily byte
38 RegAddr uint32
39 RegPort uint32
40}
41
42func (e *TProxy) marshal(fam byte) ([]byte, error) {
43 data, err := e.marshalData(fam)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected