MCPcopy Create free account
hub / github.com/PasarGuard/node / getNetlinkOps

Method getNetlinkOps

backend/wireguard/manager.go:99–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97}
98
99func (m *Manager) getNetlinkOps() netlinkOps {
100 if m.nl == nil {
101 return defaultNetlinkOps{}
102 }
103 return m.nl
104}
105
106func (m *Manager) getConfigureDevice() configureDeviceFunc {
107 if m.configure == nil {

Callers 3

InitializeWithPeersMethod · 0.95
GetInterfaceStatsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected