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

Function parseSockaddr

internal/wglinux/parse_linux.go:209–236  ·  view source on GitHub ↗

parseSockaddr parses a *net.UDPAddr from raw sockaddr_in or sockaddr_in6 bytes.

(endpoint *net.UDPAddr)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parsePeerFunction · 0.85

Calls 2

sockaddrPortFunction · 0.85
IPMethod · 0.80

Tested by

no test coverage detected