MCPcopy
hub / github.com/cilium/cilium / NatEntry

Interface NatEntry

pkg/maps/nat/nat.go:45–53  ·  view source on GitHub ↗

NatEntry is the interface describing values to the NAT map.

Source from the content-addressed store, hash-verified

43
44// NatEntry is the interface describing values to the NAT map.
45type NatEntry interface {
46 bpf.MapValue
47
48 // ToHost converts fields to host byte order.
49 ToHost() NatEntry
50
51 // Dumps the Nat entry as string.
52 Dump(key NatKey, toDeltaSecs func(uint64) string) string
53}
54
55// A "Record" designates a map entry (key + value), but avoid "entry" because of
56// possible confusion with "NatEntry" (actually the value part).

Callers 4

DumpEntriesWithTimeDiffFunction · 0.65
countNatMethod · 0.65
DumpEntriesWithTimeDiffFunction · 0.65
DumpMethod · 0.65

Implementers 6

NatEntry4pkg/maps/nat/ipv4.go
NatEntry6pkg/maps/nat/ipv6.go
CtKey4Globalpkg/maps/ctmap/types.go
CtKey6Globalpkg/maps/ctmap/types.go
TupleKey4Globalpkg/tuple/ipv4.go
TupleKey6Globalpkg/tuple/ipv6.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…