ECM_BIND_CONFIG(9) Kernel Mode Gadget API ECM_BIND_CONFIG(9)
NAME ecm_bind_config - add CDC Ethernet network link to a configuration
SYNOPSIS int ecm_bind_config(struct usb_configuration * c, u8 ethaddr[ETH_ALEN]);
ARGUMENTS c the configuration to support the network link
ethaddr[ETH_ALEN] a buffer in which the ethernet address of the host side side of the link was recorded
CONTEXT single threaded during gadget setup
DESCRIPTION Returns zero on success, else negative errno.
Caller must have called gether_setup(). Caller is also responsible for calling gether_cleanup() before module unload.
AUTHOR David Brownell <email@example.com> Author.
COPYRIGHT Kernel Hackers Manual 2.6. July 2015 ECM_BIND_CONFIG(9)