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

Function parseRTNLInterfaces

internal/wglinux/client_linux.go:201–245  ·  view source on GitHub ↗

parseRTNLInterfaces unpacks rtnetlink messages and returns WireGuard interface names.

(msgs []syscall.NetlinkMessage)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

Test_parseRTNLInterfacesFunction · 0.85
rtnlInterfacesFunction · 0.85

Calls 2

isWGKindFunction · 0.85
StringMethod · 0.45

Tested by 1

Test_parseRTNLInterfacesFunction · 0.68