Zephyr Project API  3.4.0
A Scalable Open Source RTOS
offloaded_if_api Struct Reference

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
 
int(* enable )(const struct net_if *iface, bool state)
 

Detailed Description

Extended net_if_api for offloaded ifaces/network devices, allowing handling of admin up/down state changes.

Field Documentation

◆ enable

int(* offloaded_if_api::enable) (const struct net_if *iface, bool state)

Enable or disable the device (in response to admin state change)

◆ iface_api

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.


The documentation for this struct was generated from the following file: