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

Function encodeAllowedIPs

internal/wglinux/configure_linux.go:250–277  ·  view source on GitHub ↗

encodeAllowedIPs returns a function to encode allowed IP nested attributes.

(ipns []net.IPNet)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

mustAllowedIPsFunction · 0.85
encodePeerFunction · 0.85

Calls 3

isValidIPFunction · 0.85
isIPv6Function · 0.85
StringMethod · 0.45

Tested by 1

mustAllowedIPsFunction · 0.68