Zephyr API 3.6.99
Loading...
Searching...
No Matches
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
 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.
 

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)

◆ get_type

enum offloaded_net_if_types(* offloaded_if_api::get_type) (void)

Types of offloaded net device.

◆ 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: