Skip to content
View tailroom's full-sized avatar
  • Joined Jun 29, 2026

Organizations

@femboyisp

Block or report tailroom

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
tailroom/README.md

tailroom

┌──────────────────────────────────────────────┐
│ headroom │   packet data   │   tailroom      │
└──────────────────────────────────────────────┘
                    tail →

tailroom is the contiguous region after packet data in a packet buffer.

it is used to append headers or trailers without reallocating memory.

RX:
[ alloc ]
┌──────────────────────────────┐
│ head | data | tailroom       │
└──────────────────────────────┘

TX:
push()
┌──────────────────────────────┐
│ head | expanded data | tail  │
└──────────────────────────────┘

used in linux skb, xdp, af_xdp, dpdk.

if tailroom is wrong you corrupt memory or fall off fast path.


// idea
data + tailroom == in-place packet growth
move pointers, not packets.

Popular repositories Loading

  1. tailroom tailroom Public