iPXE
Data Fields
ncm_device Struct Reference

A CDC-NCM network device. More...

#include <ncm.h>

Data Fields

struct usb_deviceusb
 USB device. More...
 
struct usb_busbus
 USB bus. More...
 
struct net_devicenetdev
 Network device. More...
 
struct usbnet_device usbnet
 USB network device. More...
 
size_t mtu
 Maximum supported NTB input size. More...
 
uint16_t sequence
 Transmitted packet sequence number. More...
 
size_t padding
 Alignment padding required on transmitted packets. More...
 

Detailed Description

A CDC-NCM network device.

Definition at line 136 of file ncm.h.

Field Documentation

◆ usb

struct usb_device* ncm_device::usb

USB device.

Definition at line 138 of file ncm.h.

Referenced by ncm_open(), and ncm_probe().

◆ bus

struct usb_bus* ncm_device::bus

USB bus.

Definition at line 140 of file ncm.h.

Referenced by ncm_in_prefill(), ncm_poll(), and ncm_probe().

◆ netdev

struct net_device* ncm_device::netdev

Network device.

Definition at line 142 of file ncm.h.

Referenced by ncm_in_complete(), ncm_intr_complete(), ncm_out_complete(), ncm_probe(), and ncm_remove().

◆ usbnet

struct usbnet_device ncm_device::usbnet

◆ mtu

size_t ncm_device::mtu

Maximum supported NTB input size.

Definition at line 147 of file ncm.h.

Referenced by ncm_in_prefill(), and ncm_probe().

◆ sequence

uint16_t ncm_device::sequence

Transmitted packet sequence number.

Definition at line 149 of file ncm.h.

Referenced by ncm_open(), and ncm_out_transmit().

◆ padding

size_t ncm_device::padding

Alignment padding required on transmitted packets.

Definition at line 151 of file ncm.h.

Referenced by ncm_out_transmit(), and ncm_probe().


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