package gro
import "gvisor.dev/gvisor/pkg/tcpip/stack/gro"
Package gro implements generic receive offload.
Index ¶
Types ¶
type GRO ¶
type GRO struct { Dispatcher stack.NetworkDispatcher // contains filtered or unexported fields }
GRO coalesces incoming packets to increase throughput.
+stateify savable
func (*GRO) Enqueue ¶
func (gd *GRO) Enqueue(pkt *stack.PacketBuffer)
Enqueue the packet in GRO. This does not flush packets; Flush() must be called explicitly for that.
pkt.NetworkProtocolNumber and pkt.RXChecksumValidated must be set.
func (*GRO) Flush ¶
func (gd *GRO) Flush()
Flush sends all packets up the stack.
func (*GRO) Init ¶
Init initializes GRO.
func (*GRO) String ¶
String implements fmt.Stringer.
Source Files ¶
gro.go
- Version
- v0.0.0-20250515200445-d30c58e5b8a4 (latest)
- Published
- May 15, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 12 hours ago –
Tools for package owners.