Files | |
file | eth.h |
Definitions for netdev common ethernet code. | |
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. More... | |
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. More... | |
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