STRUCT UDP_SKB_CB(9)
πΈ NAME πΈ
Bestie, welcome to the Kernel API Manual page for struct udp_skb_cb(9) β aka the struct udp_skb_cb, and her whole personality is UDP private variables. That's the assignment. That's the vibe. π
β¨ SYNOPSIS β¨
Okay so here's the struct in all her exactly-as-written glory, no cap:
struct udp_skb_cb {
union {
struct inet_skb_parm h4;
#if IS_ENABLED(CONFIG_IPV6);
struct inet6_skb_parm h6;
#endif;
} header;
};
Lowkey iconic: there's a union called header holding the IPv4/IPv6 private-variable situation, and the IPv6 arm is gated by #if IS_ENABLED(CONFIG_IPV6);. π¦
π Members π
headerβ the private variables used by IPv4/IPv6, living inside the union. Yes ma'am, that's the whole member list. π
π₯ SEE ALSO π₯
Kernel file ./include/net/udp.h plus the rest of the squad: struct udp_hslot(9), struct udp_hslot_main(9), struct udp_table(9), and udp_csum_outgoing(9). Go read them, bestie, they're right there. πβ¨
Cute lil footer sign-off: source/version ./include/net, date October 2026, page struct udp_skb_cb(9) β mwah, bye bestie ππ«Ά
π¦ 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