skb_inner_tcp_all_headers(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌟 skb_inner_tcp_all_headers(9) 🌟

okay so welcome to the Kernel API Manual page for skb_inner_tcp_all_headers β€” and yes bestie, the manual name is literally skb_inner_tcp_all_headers(9). We're gonna get through this together, and honestly? It's giving concise icon behavior. πŸ’…βœ¨


🌸 NAME 🌸

skb_inner_tcp_all_headers β€” Returns size of all headers for an encap TCP packet.


πŸŽ€ SYNOPSIS πŸŽ€

the signature is right here, untouched, no cap:

int skb_inner_tcp_all_headers (const struct sk_buff *skb );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • skb β€” buffer. that's the whole argument, bestie. one buffer, main character energy. 🫢

πŸ’… DESCRIPTION πŸ’…

This one is used in the TX path, for a packet known to be a TCP one. It returns the size of all headers for an encap TCP packet β€” lowkey important, highkey useful. 😌

The page shows this little snippet, exactly like this:

if (skb_is_gso(skb) && skb->encapsulation) { int hlen =
       skb_inner_tcp_all_headers(skb); ...

🌈 SEE ALSO 🌈


source/date check, bestie: this one lives under ./include/linux, dated October 2026, and the page tag is skb_inner_tcp_all_headers(9). That's a wrap β€” mwah! πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from