gether_get_ifname(9)
okay so this is gether_get_ifname(9) from the Kernel API Manual, and bestie it is literally here to grab the interface name for your ethernet-over-usb link. main character energy only. π¦β¨
β¨ NAME β¨
gether_get_ifname β get an ethernet-over-usb link interface name
π¦ SYNOPSIS π¦
int gether_get_ifname (struct net_device *net , char *name , int len );
π ARGUMENTS π
netβ the device representing this link, iykyk π«Άnameβ the place to store the interface name πlenβ length of the name buffer, fr fr π
π DESCRIPTION π
okay so this literally gets the interface name of this ethernet-over-usb link. it returns zero on success β slay β else a negative errno π. that's the whole vibe check.
π 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_cdc(9)gether_get_host_addr_u8(9)gether_set_qmult(9)gether_get_qmult(9)gether_set_ifname(9)
signed off from ./drivers/usb/gadget/function β October 2026 β for gether_get_ifname(9) ππβ¨
π¦ 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