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

Method reset

polyamide/tun/offload_linux.go:161–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159}
160
161func (t *tcpGROTable) reset() {
162 for k, items := range t.itemsByFlow {
163 items = items[:0]
164 t.itemsPool = append(t.itemsPool, items)
165 delete(t.itemsByFlow, k)
166 }
167}
168
169// udpFlowKey represents the key for a UDP flow.
170type udpFlowKey struct {

Callers 1

WriteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected