skb_inner_tcp_all_headers(9)
π 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 π
- Kernel file
./include/linux/tcp.h skb_tcp_all_headers(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms