gether_get_host_addr_cdc(9)
π¦ gether_get_host_addr_cdc(9) π¦
okay so bestie, this page is from the Kernel API Manual and it's all about one lil function: gether_get_host_addr_cdc. it grabs the CDC-formatted host-side Ethernet address for an ethernet-over-usb link, and honestly? niche but iconic π
β¨
πΈ NAME πΈ
gether_get_host_addr_cdc - get an ethernet-over-usb link host address
β¨ SYNOPSIS β¨
int gether_get_host_addr_cdc (struct net_device *net , char *host_addr ,
int len );
that's the whole signature, periodt π«Ά
π ARGUMENTS π
netβ device representing this linkhost_addrβ place to store eth address of the hostlenβ length of thehost_addrbuffer
π DESCRIPTION π
okay so this gets the CDC formatted host-side Ethernet address of this ethernet-over-usb link. that's the whole vibe. it returns zero on success, else negative errno β so that's the return situation, bestie, fr fr π
π₯ SEE ALSO π₯
Kernel file: ./drivers/usb/gadget/function/u_ether.h
gether_set_gadget(9)gether_attach_gadget(9)gether_detach_gadget(9)gether_set_dev_addr(9)gether_get_dev_addr(9)gether_set_host_addr(9)gether_get_host_addr(9)gether_get_host_addr_u8(9)gether_set_qmult(9)gether_get_qmult(9)gether_get_ifname(9)gether_set_ifname(9)
mwah π this page lives in ./drivers/usb/gadget/function, stamped October 2026, and it's gether_get_host_addr_cdc(9) signing off β slay and goodbye bestie π«Άπ
π¦ 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