(key tcpFlowKey, i int)
| 134 | } |
| 135 | |
| 136 | func (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. |