skb_gso_mac_seglen(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to skb_gso_mac_seglen(9) from the Kernel API Manual β€” this is the page for skb_gso_mac_seglen, and it's literally: Return length of individual segments of a gso packet. periodt. πŸ’…βœ¨

✨ SYNOPSIS ✨

the whole function vibe, exactly as written:

unsigned int skb_gso_mac_seglen (const struct sk_buff *skb );

πŸ’– ARGUMENTS πŸ’–

  • skb β€” the GSO skb, bestie. that's the one you're handing over. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so skb_gso_mac_seglen is used to determine the real size of the individual segments β€” and yes, it includes MAC/L2, Layer3 (IP, IPv6) and L4 headers (TCP/UDP). it's giving full-header realness from top to bottom, no cap. πŸ”₯

🌈 SEE ALSO 🌈

the whole friend group, iykyk:

mwah πŸ’‹ β€” this page came from ./net/core and is dated October 2026, and yes that's the cute little footer tea. πŸ“

πŸ“¦ where this page comes from