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

Method PutMessageBuffer

polyamide/device/pools.go:104–109  ·  view source on GitHub ↗
(msg *[MaxMessageSize]byte)

Source from the content-addressed store, hash-verified

102}
103
104func (device *Device) PutMessageBuffer(msg *[MaxMessageSize]byte) {
105 if msg == nil {
106 return
107 }
108 device.pool.messageBuffers.Put(msg)
109}
110
111func (device *Device) GetTCElement() *TCElement {
112 return device.pool.tcElements.Get().(*TCElement)

Callers 12

flushInboundQueueMethod · 0.95
flushOutboundQueueMethod · 0.95
TCBatchMethod · 0.95
RoutineHandshakeMethod · 0.95
SendKeepaliveMethod · 0.80
StagePacketsMethod · 0.80
SendStagedPacketsMethod · 0.80
FlushStagedPacketsMethod · 0.80
SendNylonBundleMethod · 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

PutMethod · 0.80

Tested by

no test coverage detected