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

Method GetInboundElement

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

Source from the content-addressed store, hash-verified

119}
120
121func (device *Device) GetInboundElement() *QueueInboundElement {
122 return device.pool.inboundElements.Get().(*QueueInboundElement)
123}
124
125func (device *Device) PutInboundElement(elem *QueueInboundElement) {
126 elem.clearPointers()

Callers 1

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