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

Method GetOutboundElement

polyamide/device/pools.go:130–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128}
129
130func (device *Device) GetOutboundElement() *QueueOutboundElement {
131 return device.pool.outboundElements.Get().(*QueueOutboundElement)
132}
133
134func (device *Device) PutOutboundElement(elem *QueueOutboundElement) {
135 elem.clearPointers()

Callers 2

TCBatchMethod · 0.95
NewOutboundElementMethod · 0.95

Implementers 4

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

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected