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

Method GetOutboundElementsContainer

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

Source from the content-addressed store, hash-verified

84}
85
86func (device *Device) GetOutboundElementsContainer() *QueueOutboundElementsContainer {
87 c := device.pool.outboundElementsContainer.Get().(*QueueOutboundElementsContainer)
88 c.Mutex = sync.Mutex{}
89 return c
90}
91
92func (device *Device) PutOutboundElementsContainer(c *QueueOutboundElementsContainer) {
93 for i := range c.elems {

Callers 3

TCBatchMethod · 0.95
SendKeepaliveMethod · 0.80
SendStagedPacketsMethod · 0.80

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