Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
Network L2 Abstraction Layer

Network Layer 2 abstraction layer. More...

Data Structures

struct  net_l2
 Network L2 structure. More...
 

Enumerations

enum  net_l2_flags { NET_L2_MULTICAST = BIT(0) , NET_L2_MULTICAST_SKIP_JOIN_SOLICIT_NODE = BIT(1) , NET_L2_PROMISC_MODE = BIT(2) , NET_L2_POINT_TO_POINT = BIT(3) }
 

Detailed Description

Network Layer 2 abstraction layer.

Enumeration Type Documentation

◆ net_l2_flags

#include <include/net/net_l2.h>

L2 flags

Enumerator
NET_L2_MULTICAST 

IP multicast supported

NET_L2_MULTICAST_SKIP_JOIN_SOLICIT_NODE 

Do not joint solicited node multicast group

NET_L2_PROMISC_MODE 

Is promiscuous mode supported

NET_L2_POINT_TO_POINT 

Is this L2 point-to-point with tunneling so no need to have IP address etc to network interface.