wx_write_uc_addr_list(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ wx_write_uc_addr_list(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” we're doing a wx_write_uc_addr_list(9) deep dive today and honestly? it's a good one. grab a snack πŸ“


πŸ’– NAME πŸ’–

wx_write_uc_addr_list β€” write unicast addresses to RAR table

no cap, that's literally the whole vibe: unicast addresses go in, RAR table comes out. slay.


πŸŽ€ SYNOPSIS πŸŽ€

int wx_write_uc_addr_list (struct net_device *netdev , int pool );

that's it. two args, one int coming back at you. main character energy fr fr.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • netdev β€” the network interface device structure πŸ‘‘ like, the whole device, the entire moment
  • pool β€” the index for the mac table πŸ—‚οΈ which table we're writing into, iykyk

🌸 DESCRIPTION 🌸

Writes the unicast address list to the RAR table. that's the whole thing. it's giving "short and iconic" ✨


🌈 RETURN 🌈

okay bestie, the return value is doing multiple jobs, so pay attention πŸ’…

  • -ENOMEM β€” on failure / insufficient address space 😭 (not enough room, she's full)
  • 0 β€” on no addresses written πŸ™ˆ (nothing to do, we ball)
  • X β€” on writing X addresses to the RAR table πŸ”₯ (yes, the return value is the count, she's counting)

πŸ’œ SEE ALSO πŸ’œ

the whole friend group 🫢 β€” kernel file ./drivers/net/ethernet/wangxun/libwx/wx_hw.c and:

like, that's the entire group chat tagged. not me being thorough πŸ’€


heads up bestie: this page lives at ./drivers/net/ethernet/wangxun... β€” go read the source if you want the ✨lore✨

and that's the whole page! πŸ’… brought to you by the Kernel API Manual, dated October 2026, source ./drivers/net/ethernet/wangxun... β€” wx_write_uc_addr_list(9) out, mwah πŸ«ΆπŸ’–πŸŽ€

πŸ“¦ where this page comes from