ethos netdev device More...

Detailed Description

ethos netdev device

Definition at line 111 of file ethos.h.

#include <ethos.h>

Data Fields

netdev_t netdev
 extended netdev structure More...
 
uart_t uart
 UART device the to use. More...
 
uint8_t mac_addr [6]
 this device's MAC address More...
 
uint8_t remote_mac_addr [6]
 this device's MAC address More...
 
tsrb_t inbuf
 ringbuffer for incoming data More...
 
line_state_t state
 Line status variable. More...
 
unsigned frametype
 type of currently incoming frame More...
 
mutex_t out_mutex
 mutex used for locking concurrent sends More...
 
- Data Fields inherited from netdev
const struct netdev_driverdriver
 ptr to that driver's interface. More...
 
netdev_event_cb_t event_callback
 callback for device events More...
 
void * context
 ptr to network stack context More...
 

Field Documentation

◆ frametype

unsigned ethos_t::frametype

type of currently incoming frame

Definition at line 118 of file ethos.h.

◆ inbuf

tsrb_t ethos_t::inbuf

ringbuffer for incoming data

Definition at line 116 of file ethos.h.

◆ mac_addr

uint8_t ethos_t::mac_addr[6]

this device's MAC address

Definition at line 114 of file ethos.h.

◆ netdev

netdev_t ethos_t::netdev

extended netdev structure

Definition at line 112 of file ethos.h.

◆ out_mutex

mutex_t ethos_t::out_mutex

mutex used for locking concurrent sends

Definition at line 119 of file ethos.h.

◆ remote_mac_addr

uint8_t ethos_t::remote_mac_addr[6]

this device's MAC address

Definition at line 115 of file ethos.h.

◆ state

line_state_t ethos_t::state

Line status variable.

Definition at line 117 of file ethos.h.

◆ uart

uart_t ethos_t::uart

UART device the to use.

Definition at line 113 of file ethos.h.


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