gether_set_gadget(9)
πΈ gether_set_gadget(9) πΈ
okay bestie, welcome to the Kernel API Manual β¨ this page is literally all about gether_set_gadget β the function that introduces one ethernet-over-usb link to its gadget. keep your structs close and your gadget pointers closer, iykyk π«Ά
β¨ NAME β¨
gether_set_gadget β initialize one ethernet-over-usb link with a gadget. yes that's the whole vibe: one link, one gadget, get them introduced π
π¦ SYNOPSIS π¦
void gether_set_gadget (struct net_device *net , struct usb_gadget *g );
π ARGUMENTS π
netβ device representing this link. it's the link'snet_device, the main character in this pairing πgβ the gadget to initialize with. yup, this is the gadget being brought into the situation β¨
π DESCRIPTION π
This associates one ethernet-over-usb link with a gadget. that's the whole plot, no cap: gether_set_gadget associates the ethernet-over-usb link with the gadget π
π₯ SEE ALSO π₯
- Kernel file
./drivers/usb/gadget/function/u_ether.h 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_get_ifname(9)gether_set_ifname(9)
cute lil sign-off: this page's source/version line is ./drivers/usb/gadget/function, dated October 2026, and it's serving gether_set_gadget(9) energy the whole way through π§π
π¦ 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