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

Function parseDevice

internal/wgopenbsd/client_openbsd.go:162–222  ·  view source on GitHub ↗

parseDevice unpacks a Device from ifio, along with its associated peers and their allowed IPs.

(name string, ifio *wgh.WGInterfaceIO)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

DeviceMethod · 0.70

Calls 3

KeyTypeAlias · 0.92
parsePeerFunction · 0.70
parseAllowedIPFunction · 0.70

Tested by

no test coverage detected