gether_set_dev_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 gether_set_dev_addr β€” it's in the Kernel API Manual, bestie πŸ’…

okay so this is a kernel function page from the Kernel API Manual, and it's literally about giving an ethernet-over-usb link its eth address. iconic behavior, truly. ✨


πŸŽ€ NAME πŸŽ€

gether_set_dev_addr β€” initialize an ethernet-over-usb link with eth address

πŸ¦‹ SYNOPSIS πŸ¦‹

int gether_set_dev_addr (struct net_device *net , const char *dev_addr );

✨ ARGUMENTS ✨

  • net β€” the device that's representing this link 🫢
  • dev_addr β€” the eth address of this device πŸ’–

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea: this sets the device-side Ethernet address of this ethernet-over-usb link β€” but only if dev_addr is correct. if the new address is incorrect, it returns a negative errno. no cap, that's the whole vibe check. πŸ™ˆ

lowkey important: a bad address doesn't get fixed for you, it just comes back as a negative errno. so like, check your address, bestie. 😭

🌈 SEE ALSO 🌈

like, the whole gether friend group is linked above β€” go say hi, they all ate. πŸ‘‘


and that's the page, bestie!! πŸ“ this little masterpiece lives in ./drivers/usb/gadget/function and it's dated October 2026 β€” write that down, it's giving main character documentation energy. πŸ§šπŸ’œ

πŸ“¦ where this page comes from