Zephyr API 3.6.99
Loading...
Searching...
No Matches
Offloaded Net Devices

Offloaded Net Devices . More...

Data Structures

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

Enumerations

enum  offloaded_net_if_types { L2_OFFLOADED_NET_IF_TYPE_UNKNOWN , L2_OFFLOADED_NET_IF_TYPE_ETHERNET , L2_OFFLOADED_NET_IF_TYPE_MODEM , L2_OFFLOADED_NET_IF_TYPE_WIFI }
 Types of offloaded netdev L2. More...
 

Functions

static bool net_off_is_wifi_offloaded (struct net_if *iface)
 Check if the offloaded network interface supports Wi-Fi.
 

Detailed Description

Offloaded Net Devices .

Since
3.4
Version
0.8.0

Enumeration Type Documentation

◆ offloaded_net_if_types

#include <zephyr/net/offloaded_netdev.h>

Types of offloaded netdev L2.

Enumerator
L2_OFFLOADED_NET_IF_TYPE_UNKNOWN 

Unknown, device hasn't register a type.

L2_OFFLOADED_NET_IF_TYPE_ETHERNET 

Ethernet devices.

L2_OFFLOADED_NET_IF_TYPE_MODEM 

Modem.

L2_OFFLOADED_NET_IF_TYPE_WIFI 

IEEE 802.11 Wi-Fi.

Function Documentation

◆ net_off_is_wifi_offloaded()

static bool net_off_is_wifi_offloaded ( struct net_if * iface)
inlinestatic

#include <zephyr/net/offloaded_netdev.h>

Check if the offloaded network interface supports Wi-Fi.

Parameters
ifacePointer to network interface
Returns
True if interface supports Wi-Fi, False otherwise.