FreeBSD kernel usb device Code
ipheth_softc Struct Reference

#include <if_iphethvar.h>

Collaboration diagram for ipheth_softc:

Data Fields

struct usb_ether sc_ue
 
struct mtx sc_mtx
 
struct usb_xfersc_xfer [IPHETH_N_TRANSFER]
 
struct mbuf * sc_rx_buf [IPHETH_RX_FRAMES_MAX]
 
struct mbuf * sc_tx_buf [IPHETH_TX_FRAMES_MAX]
 
uint8_t sc_data [IPHETH_CTRL_BUF_SIZE]
 
uint8_t sc_iface_no
 
uint8_t sc_carrier_on
 

Detailed Description

Definition at line 69 of file if_iphethvar.h.

Field Documentation

◆ sc_carrier_on

uint8_t ipheth_softc::sc_carrier_on

Definition at line 79 of file if_iphethvar.h.

Referenced by ipheth_tick().

◆ sc_data

uint8_t ipheth_softc::sc_data[IPHETH_CTRL_BUF_SIZE]

Definition at line 77 of file if_iphethvar.h.

Referenced by ipheth_get_mac_addr(), and ipheth_tick().

◆ sc_iface_no

uint8_t ipheth_softc::sc_iface_no

Definition at line 78 of file if_iphethvar.h.

Referenced by ipheth_attach(), ipheth_get_mac_addr(), and ipheth_tick().

◆ sc_mtx

struct mtx ipheth_softc::sc_mtx

Definition at line 71 of file if_iphethvar.h.

Referenced by ipheth_attach(), and ipheth_detach().

◆ sc_rx_buf

struct mbuf* ipheth_softc::sc_rx_buf[IPHETH_RX_FRAMES_MAX]

Definition at line 74 of file if_iphethvar.h.

Referenced by ipheth_bulk_read_callback().

◆ sc_tx_buf

struct mbuf* ipheth_softc::sc_tx_buf[IPHETH_TX_FRAMES_MAX]

Definition at line 75 of file if_iphethvar.h.

Referenced by ipheth_bulk_write_callback().

◆ sc_ue

◆ sc_xfer

struct usb_xfer* ipheth_softc::sc_xfer[IPHETH_N_TRANSFER]

Definition at line 73 of file if_iphethvar.h.

Referenced by ipheth_attach(), ipheth_detach(), ipheth_init(), ipheth_start(), and ipheth_stop().


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