Skip to main content

Module tun_offload

Module tun_offload 

Source
Expand description

Local TUN virtio_net_hdr (GSO/GRO) framing + the RX coalescer / TX splitter. Purely local to the yipd↔kernel-TUN boundary — never touches the wire.

Structs§

Coalescer
VirtioNetHdr

Constants§

F_DATA_VALID
F_NEEDS_CSUM
GSO_NONE
GSO_TCPV4
GSO_TCPV6
GSO_UDP_L4
MAX_GSO_PAYLOAD
MAX_GSO_SEGMENTS
VNET_HDR_LEN

Functions§

read_vnet_hdr
slice_gso_packet
Slices a GSO super-packet into segments of at most mss bytes.
slice_gso_payload
Slices a GSO super-packet payload into segments of at most mss bytes.
split_gro
write_vnet_hdr

Type Aliases§

VnetHdr