MCPcopy Create free account
hub / github.com/celzero/firestack / xAddr

Method xAddr

intra/x64/nat64.go:31–33  ·  view source on GitHub ↗

xAddr translates ip6 to IPv4 discarding prefix64. If prefix64 or ip6 is not valid, it returns zerovalueaddr. If ip6 is unspecified, it returns unspecified IPv4.

(prefix64 *net.IPNet, ip6 net.IP)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

X64Method · 0.80

Calls 1

ip6to4Function · 0.85

Tested by

no test coverage detected