iPXE
usbnet_device Struct Reference

A USB network device. More...

#include <usbnet.h>

Data Fields

struct usb_functionfunc
 USB function.
unsigned int comms
 Communications interface.
unsigned int data
 Data interface.
unsigned int alternate
 Alternate setting for data interface.
struct usb_endpoint intr
 Interrupt endpoint.
struct usb_endpoint in
 Bulk IN endpoint.
struct usb_endpoint out
 Bulk OUT endpoint.

Detailed Description

A USB network device.

Definition at line 16 of file usbnet.h.

Field Documentation

◆ func

struct usb_function* usbnet_device::func

USB function.

Definition at line 18 of file usbnet.h.

Referenced by usbnet_close(), usbnet_comms_describe(), usbnet_data_describe(), usbnet_init(), and usbnet_open().

◆ comms

unsigned int usbnet_device::comms

Communications interface.

Definition at line 21 of file usbnet.h.

Referenced by acm_control_receive(), acm_control_transmit(), ecm_open(), ecm_probe(), ncm_open(), ncm_probe(), and usbnet_comms_describe().

◆ data

unsigned int usbnet_device::data

Data interface.

Definition at line 23 of file usbnet.h.

Referenced by usbnet_close(), usbnet_data_describe(), and usbnet_open().

◆ alternate

unsigned int usbnet_device::alternate

Alternate setting for data interface.

Definition at line 25 of file usbnet.h.

Referenced by usbnet_close(), usbnet_data_describe(), and usbnet_open().

◆ intr

◆ in

◆ out


The documentation for this struct was generated from the following file: