skb_dst(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ skb_dst(9) β€” Kernel API Manual ✨

okay so bestie, welcome to the skb_dst(9) page πŸ’… this is the Kernel API Manual and honestly this function is a whole mood β€” tiny, iconic, does exactly one thing, no notes.


🌸 NAME 🌸

skb_dst β€” returns you the skb's dst_entry. that's it. that's the whole job. main character energy but make it a getter 🫢


πŸŽ€ SYNOPSIS πŸŽ€

struct dst_entry * skb_dst (const struct sk_buff *skb );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • skb β€” the buffer, bestie. the one and only thing you pass in πŸ’–

πŸ’œ RETURN πŸ’œ

it gives you back the skb's dst_entry β€” and ngl, it does not care whether a reference was taken or not. taken ref? not taken? doesn't matter, you get the dst_entry either way. it's giving "i'm not keeping score" 😌✨


πŸ”₯ SEE ALSO πŸ”₯

this page is like the popular kid at the function β€” everybody's linked to it, iykyk. the kernel file it lives in is ./include/linux/skbuff.h, and then literally all of these besties:

like… that's the whole extended universe fr fr 🌈


no cap, no hidden lore here β€” skb_dst just hands you the dst_entry and dips. keep that in mind and you're slaying 🫢

and that's the page, bestie!! πŸŽ€ compiled from ./include/linux πŸ’– dated October 2026 ⭐ and yes, it's skb_dst(9) β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from