| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
#include <virtual.h>
Data Fields | |
| struct net_if * | iface | 
| enum net_l2_flags | virtual_l2_flags | 
| bool | is_init | 
| struct net_linkaddr_storage | lladdr | 
| char | name [VIRTUAL_MAX_NAME_LEN] | 
Virtual L2 context that is needed to binding to the real network interface
| struct net_if* virtual_interface_context::iface | 
Other network interface this virtual network interface is attached to. These values can be chained so virtual network interfaces can run on top of other virtual interfaces.
| bool virtual_interface_context::is_init | 
Is this context already initialized
| struct net_linkaddr_storage virtual_interface_context::lladdr | 
Link address for this network interface
| char virtual_interface_context::name[VIRTUAL_MAX_NAME_LEN] | 
User friendly name of this L2 layer.
| enum net_l2_flags virtual_interface_context::virtual_l2_flags | 
This tells what L2 features does virtual support.