ice_fdb_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to ice_fdb_add(9) from the Kernel API Manual β€” the iconic little function that adds an entry to the hardware database. no cap, it's giving kernel API main character energy. πŸ’…βœ¨

🌸 NAME 🌸

ice_fdb_add β€” add an entry to the hardware database.

✨ SYNOPSIS ✨

here's the signature, character-for-character, because we do not play with kernel API code in this house:

int ice_fdb_add (struct ndmsg *ndm , struct nlattr *tb[] , struct
net_device *dev , const unsigned char *addr , u16 vid , u16 flags , bool
*notified , struct netlink_ext_ack *extack );

πŸŽ€ ARGUMENTS πŸŽ€

okay bestie, the argument tea is piping hot β€” every parameter, no skips:

  • ndm β€” the input from the stack (struct ndmsg *ndm). literally the stack's little message package. πŸ’Œ
  • tb β€” pointer to array of nladdr (unused β€” iconically just vibing there). the struct nlattr *tb[] slot is lowkey not doing anything here. πŸ™ˆ
  • dev β€” the net device pointer (struct net_device *dev). yes ma'am, the netdev itself. 🫢
  • addr β€” the MAC address entry being added (const unsigned char *addr). the actual MAC address tea. πŸ“
  • vid β€” VLAN ID (u16 vid). periodt. πŸŽ€
  • flags β€” instructions from stack about fdb operation (u16 flags). the stack said what it said. πŸ’…
  • notified β€” whether notification was emitted (bool *notified). the emit-or-not receipt. ✨
  • extack β€” netlink extended ack (struct netlink_ext_ack *extack). the extended-ack bestie. πŸ¦‹

πŸ¦‹ SEE ALSO πŸ¦‹

the SEE ALSO section is long and iconic, no cap β€” here's the whole squad in order, and yes, the kernel file is literally part of it:


source/version/date sign-off: this page comes from ./drivers/net/ethernet/intel/ice, version/date tea is October 2026, and the manual babe is ice_fdb_add(9) β€” mwah, bestie, that's the footer πŸ’‹βœ¨

πŸ“¦ where this page comes from