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

Method BindClose

device/device.go:531–536  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

529}
530
531func (device *Device) BindClose() error {
532 device.net.Lock()
533 err := closeBindLocked(device)
534 device.net.Unlock()
535 return err
536}

Callers 1

downLockedMethod · 0.95

Implementers 4

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

Calls 1

closeBindLockedFunction · 0.85

Tested by

no test coverage detected