net/layer/ethernet.h header reference
[Abstract network stack module]

The source code of this header can be browsed online.

Description  

this header defines network layer API for ethernet physical layer. Its implementations are device-specific.

Members  

Type  

Function  

Macro  

Members detail  

#define NET_LAYER_ETHERNET  

This macro is declared in net/layer/ethernet.h source file, line 40.

Network layer ID for ethernet.

#define NET_LAYER_ETHERNET_H_  

This macro is declared in net/layer/ethernet.h source file, line 21.

struct net_ethernet_delegate_vtable_s  

This struct is declared in net/layer/ethernet.h source file, line 47.

this struct is a vtable for an ethernet network layer.

FieldDescription
struct net_layer_delegate_vtable_s base;
void (*link_changed)(void *delegate, struct net_layer_s *layer, bool_t connected) ;this variable is called when the link-layer status of the network device changes.

struct net_ethernet_delegate_vtable_s * net_ethernet_delegate_vtable_s_from_base(void *x)  

Valid XHTML 1.0 StrictGenerated by diaxen on Wed Oct 17 21:18:39 2018 using MkDoc