ecm_bind_config(9)

ecm_bind_config9

Add cdc ethernet network link to a configuration

Usage

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

Overview

Returns zero on success, else negative errno.

Caller must have called gether_setup(). Caller is also responsible for calling gether_cleanup() before module unload.

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

Author

David Brownell <[email protected]>

Author.

From linux-manual-3.2 3.2.78-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.