gether_set_dev_addr(9)
πΈ 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 π
- Kernel file
./drivers/usb/gadget/function/u_ether.hπ gether_set_gadget(9)gether_attach_gadget(9)gether_detach_gadget(9)gether_get_dev_addr(9)gether_set_host_addr(9)gether_get_host_addr(9)gether_get_host_addr_cdc(9)gether_get_host_addr_u8(9)gether_set_qmult(9)gether_get_qmult(9)gether_get_ifname(9)gether_set_ifname(9)
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
- 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