Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
Extended net_if_api for offloaded ifaces/network devices, allowing handling of admin up/down state changes. More...
#include <offloaded_netdev.h>
Data Fields | |
struct net_if_api | iface_api |
The net_if_api must be placed in first position in this struct so that we are compatible with network interface API. | |
int(* | enable )(const struct net_if *iface, bool state) |
Enable or disable the device (in response to admin state change) | |
enum offloaded_net_if_types(* | get_type )(void) |
Types of offloaded net device. | |
Extended net_if_api for offloaded ifaces/network devices, allowing handling of admin up/down state changes.
Enable or disable the device (in response to admin state change)
enum offloaded_net_if_types(* offloaded_if_api::get_type) (void) |
Types of offloaded net device.
struct net_if_api offloaded_if_api::iface_api |
The net_if_api must be placed in first position in this struct so that we are compatible with network interface API.