Expand description
L4 passthrough plumbing — zero user-space data copies (IO-04).
pump(from, to) moves bytes from → to through a kernel pipe with
splice(2) + SPLICE_F_MOVE. Data never touches user space: the pipe
buffer pages are remapped between sockets. Both engine backends call this
on readability; the function is backend-agnostic.
Enums§
- Pump
Result - Result of one pump round.
Functions§
- pump
- Moves up to
maxbytesfrom -> towithout user-space copies.