Files | |
file | eth.h |
Definitions for netdev common ethernet code. | |
Data Structures | |
struct | netdev_eth_rx_info_t |
Received frame status information for Ethernet devices. More... | |
Functions | |
int | netdev_eth_get (netdev_t *dev, netopt_t opt, void *value, size_t max_len) |
Fallback function for netdev ethernet devices' _get function. | |
int | netdev_eth_set (netdev_t *dev, netopt_t opt, const void *value, size_t value_len) |
Fallback function for netdev ethernet devices' _set function. | |
Flags for use in @ref netdev_eth_rx_info_t::flags | |
#define | NETDEV_ETH_RX_INFO_FLAG_TIMESTAMP (0x01) |
Timestamp valid. | |
#define NETDEV_ETH_RX_INFO_FLAG_TIMESTAMP (0x01) |
Fallback function for netdev ethernet devices' _get function.
Supposed to be used by netdev drivers as default case.
[in] | dev | network device descriptor |
[in] | opt | option type |
[out] | value | pointer to store the option's value in |
[in] | max_len | maximal amount of byte that fit into value |
value
Fallback function for netdev ethernet devices' _set function.
[in] | dev | network device descriptor |
[in] | opt | option type |
[in] | value | value to set |
[in] | value_len | the length of value |
value