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

Function parseAllowedIPs

internal/wglinux/parse_linux.go:133–178  ·  view source on GitHub ↗

parseAllowedIPs parses a slice of net.IPNet from a netlink attribute payload.

(ipns *[]net.IPNet)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parsePeerFunction · 0.85

Calls 1

parseAddrFunction · 0.85

Tested by

no test coverage detected