MCPcopy Create free account
hub / github.com/encodeous/nylon / Close

Method Close

polyamide/tun/tun.go:47–47  ·  view source on GitHub ↗

Close stops the Device and closes the Event channel.

()

Source from the content-addressed store, hash-verified

45
46 // Close stops the Device and closes the Event channel.
47 Close() error
48
49 // BatchSize returns the preferred/max number of packets that can be read or
50 // written in a single read/write call. BatchSize must not change over the

Callers 15

mainFunction · 0.95
mainFunction · 0.95
getIFIndexFunction · 0.65
setMTUMethod · 0.65
MTUMethod · 0.65
CloseMethod · 0.65
CreateTUNFunction · 0.65
CreateTUNFromFileFunction · 0.65
CreateTUNFunction · 0.65
CreateTUNFromFileFunction · 0.65
CloseMethod · 0.65

Implementers 4

NativeTunpolyamide/tun/tun_linux.go
netTunpolyamide/tun/netstack/tun.go
chTunpolyamide/tun/tuntest/tuntest.go
fakeTUNDeviceSizedpolyamide/device/device_test.go

Calls

no outgoing calls

Tested by

no test coverage detected