ndo_dflt_fdb_dump(9)
π¦ 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, notidx, 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 π
- Kernel file
./net/core/rtnetlink.c rtnl_nets_add(9)rtnl_unregister(9)rtnl_unregister_all(9)__rtnl_register_many(9)rtnl_link_register(9)rtnl_link_unregister(9)rtnl_af_register(9)rtnl_af_unregister(9)rtnl_get_net_ns_capable(9)
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
- 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