ndo_dflt_fdb_dump(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ ndo_dflt_fdb_dump(9) β€” the Kernel API Manual page your bestie actually wants to read πŸ¦‹

okay so this is a page from the Kernel API Manual, and it's about ndo_dflt_fdb_dump, which lowkey has the most main-character name ever. it's the default netdevice operation to dump an FDB table. iykyk. πŸ’…


✨ NAME ✨

ndo_dflt_fdb_dump β€” the default netdevice operation that dumps an FDB table. that's it, that's the vibe. πŸŽ€


🌸 SYNOPSIS 🌸

int ndo_dflt_fdb_dump (struct sk_buff *skb , struct netlink_callback *cb
, struct net_device *dev , struct net_device *filter_dev , int *idx );

look at all those params bestie, we're gonna go through every single one, no skipping, periodt. πŸ’–


πŸ’œ ARGUMENTS πŸ’œ

  • skb β€” the socket buffer where the message gets stored. it's the little basket we're putting stuff into. 🧺
  • cb β€” the netlink callback. yes queen, do your thing. ✨
  • dev β€” the netdevice. the star of the show, the main character. πŸ‘‘
  • filter_dev β€” ignored. not me ignoring it, the code ignores it. it's literally just there vibing. πŸ™ˆ
  • idx β€” the number of FDB table entries that got dumped gets added to *idx. it's a pointer, so we're updating the thing it points to. note it's *idx, not idx, bestie, the asterisk is doing important work. ⭐

🫢 DESCRIPTION 🫢

so what does this actually do? it's the default netdevice operation for dumping the existing unicast address list. slay. 🌈

and it returns the number of addresses from the list that got put in skb β€” so the return value is literally a count of how many addresses made it into the socket buffer. iconic behavior honestly. πŸ”₯


πŸ’€ SEE ALSO πŸ’€

that's the whole friend group right there. go say hi. πŸ¦‹


ngl this page is short but it ate. every argument accounted for, nothing left out, we stay thorough. πŸ’…

and that's a wrap bestie!! this page lives in ./net/core and the date on it is October 2026 β€” so mark your calendar, screenshot it, put it on your fridge, the whole thing. πŸŽ€πŸ’–βœ¨ see u in the next manpage, mwah 🫢

πŸ“¦ where this page comes from