MCPcopy
hub / github.com/WireGuard/wireguard-go / IpcSet

Method IpcSet

device/uapi.go:415–417  ·  view source on GitHub ↗
(uapiConf string)

Source from the content-addressed store, hash-verified

413}
414
415func (device *Device) IpcSet(uapiConf string) error {
416 return device.IpcSetOperation(strings.NewReader(uapiConf))
417}
418
419func (device *Device) IpcHandle(socket net.Conn) {
420 defer socket.Close()

Callers 6

mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
genTestPairFunction · 0.80
TestUpDownFunction · 0.80
TestConcurrencySafetyFunction · 0.80

Implementers 4

NativeTuntun/tun_linux.go
netTuntun/netstack/tun.go
chTuntun/tuntest/tuntest.go
fakeTUNDeviceSizeddevice/device_test.go

Calls 1

IpcSetOperationMethod · 0.95

Tested by 3

genTestPairFunction · 0.64
TestUpDownFunction · 0.64
TestConcurrencySafetyFunction · 0.64