Loading...
Searching...
No Matches
Minimal netdev Ethernet device processing

Detailed Description

Files

file  netdev_eth_minimal.h
 Provides basic functionalities to interact with an Ethernet networking device which implements the Netdev - Network Device Driver API.
 
file  netdev_eth_minimal_internal.h
 Internal definitions for the netdev_eth_minimal module.
 

Macros

#define NETDEV_ETH_MINIMAL_NUMOF
 Maximum number of devices to handle.
 

Functions

int netdev_eth_minimal_init_devs (netdev_event_cb_t cb)
 Device-under-test initialization function.
 
int netdev_eth_minimal_init (void)
 Initialize the module.
 

Macro Definition Documentation

◆ NETDEV_ETH_MINIMAL_NUMOF

#define NETDEV_ETH_MINIMAL_NUMOF

Maximum number of devices to handle.

Note
Should be provided by the application via init_dev.h.

Definition at line 40 of file netdev_eth_minimal.h.

Function Documentation

◆ netdev_eth_minimal_init()

int netdev_eth_minimal_init ( void  )

Initialize the module.

Return values
0on success
!=0 on error

◆ netdev_eth_minimal_init_devs()

int netdev_eth_minimal_init_devs ( netdev_event_cb_t  cb)

Device-under-test initialization function.

Note
Should be implemented by the test application
Parameters
[in]cbCallback to be set to netdev::event_callback
Return values
0on success
!=0 on error