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

Function parsePeer

internal/wglinux/parse_linux.go:103–130  ·  view source on GitHub ↗

parseAllowedIPs parses a wgtypes.Peer from a netlink attribute payload.

(ad *netlink.AttributeDecoder)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parseDeviceLoopFunction · 0.70

Calls 4

parseKeyFunction · 0.85
parseSockaddrFunction · 0.85
parseTimespecFunction · 0.85
parseAllowedIPsFunction · 0.85

Tested by

no test coverage detected