1ECM_BIND_CONFIG(9) Kernel Mode Gadget API ECM_BIND_CONFIG(9)
2
3
4
6 ecm_bind_config - add CDC Ethernet network link to a configuration
7
9 int ecm_bind_config(struct usb_configuration * c,
10 u8 ethaddr[ETH_ALEN]);
11
13 c
14 the configuration to support the network link
15
16 ethaddr[ETH_ALEN]
17 a buffer in which the ethernet address of the host side side of the
18 link was recorded
19
21 single threaded during gadget setup
22
24 Returns zero on success, else negative errno.
25
26 Caller must have called gether_setup(). Caller is also responsible for
27 calling gether_cleanup() before module unload.
28
30 David Brownell <dbrownell@users.sourceforge.net>
31 Author.
32
34Kernel Hackers Manual 2.6. June 2019 ECM_BIND_CONFIG(9)