MCPcopy Create free account
hub / github.com/cloudflare/slirpnetstack / netParseIP

Function netParseIP

net.go:52–61  ·  view source on GitHub ↗

The problem with standard net.ParseIP is that it can return ::ffff:x.x.x.x IPv4-mapped address. We don't like the lack of uniformity.

(h string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

ParseDefAddressFunction · 0.85
simpleLookupHostFunction · 0.85
netParseOrResolveIPFunction · 0.85
MainFunction · 0.85
UdpRoutingHandlerFunction · 0.85
TcpRoutingHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected