skb_queue_head(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay bestie, welcome to the skb_queue_head(9) page from the Kernel API Manual β€” manual name folded in near the top, exactly as requested, instead of copied as a boring header line. This function is literally skb_queue_head β€” queue a buffer at the list head. Slay. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

void skb_queue_head (struct sk_buff_head *list , struct sk_buff *newsk
       );

πŸŽ€ ARGUMENTS πŸŽ€

  • list β€” the list to use. This is the list you're working with, bestie. πŸ’…
  • newsk β€” the buffer to queue. This is the buffer getting queued up. 🫢

🌸 DESCRIPTION 🌸

This queues a buffer at the start of the list β€” like it's cutting the line at the head, but make it kernel. πŸ‘‘

It takes the list lock, and it can be used safely with the other locking sk_buff functions β€” safely. Yes, safely appears twice in the original energy; we respect the lore. πŸ”₯

🚨 Important vibe check: a buffer cannot be placed on two lists at the same time. Not even a little. 🚨

✨ SEE ALSO ✨

Kernel file ./net/core/skbuff.c β€” that's the source file. And here's the whole squad of related pages, no cap:

Stay iconic, bestie πŸ’… β€” this page lives in ./net/core, is dated October 2026, and belongs to skb_queue_head(9). Periodt. 🫢

πŸ“¦ where this page comes from