MCPcopy Create free account
hub / github.com/WireGuard/wgctrl-go / parseAddr

Function parseAddr

internal/wglinux/parse_linux.go:194–206  ·  view source on GitHub ↗

parseAddr parses a net.IP from raw in_addr or in6_addr struct bytes.

(ip *net.IP)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parseAllowedIPsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected