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

Method deleteAt

polyamide/tun/offload_linux.go:136–140  ·  view source on GitHub ↗
(key tcpFlowKey, i int)

Source from the content-addressed store, hash-verified

134}
135
136func (t *tcpGROTable) deleteAt(key tcpFlowKey, i int) {
137 items, _ := t.itemsByFlow[key]
138 items = append(items[:i], items[i+1:]...)
139 t.itemsByFlow[key] = items
140}
141
142// tcpGROItem represents bookkeeping data for a TCP packet during the lifetime
143// of a GRO evaluation across a vector of packets.

Callers 1

tcpGROFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected