|
OpenNSL API Guide and Reference Manual
|
Kernel network interface structure. More...
#include <knet.h>
Data Fields | |
| uint32 | cb_user_data |
| Netif user data for knet rx cb. | |
| opennsl_cos_queue_t | cosq |
| Cos offset from base queue of port associated with this interface. | |
| uint32 | flags |
| OPENNSL_KNET_NETIF_F_XXX flags. | |
| int | id |
| Network interface ID. | |
| opennsl_mac_t | mac_addr |
| MAC address associated with this network interface. | |
| char | name [OPENNSL_KNET_NETIF_NAME_MAX] |
| Network interface name (assigned by kernel) | |
| opennsl_port_t | port |
| Local port associated with this interface. | |
| int | type |
| Network interface type (OPENNSL_KNET_NETIF_T_XXX). | |
| opennsl_vlan_t | vlan |
| VLAN ID associated with this interface. | |
| uint32 opennsl_knet_netif_s::cb_user_data |
| opennsl_cos_queue_t opennsl_knet_netif_s::cosq |
| uint32 opennsl_knet_netif_s::flags |
| int opennsl_knet_netif_s::id |
Network interface ID.
Definition at line 43 of file knet.h.
Referenced by example_linux_interface_create().
| opennsl_mac_t opennsl_knet_netif_s::mac_addr |
MAC address associated with this network interface.
Definition at line 47 of file knet.h.
Referenced by example_linux_interface_create().
| char opennsl_knet_netif_s::name[OPENNSL_KNET_NETIF_NAME_MAX] |
Network interface name (assigned by kernel)
Definition at line 55 of file knet.h.
Referenced by example_linux_interface_create().
| opennsl_port_t opennsl_knet_netif_s::port |
Local port associated with this interface.
Definition at line 51 of file knet.h.
Referenced by example_linux_interface_create().
| int opennsl_knet_netif_s::type |
Network interface type (OPENNSL_KNET_NETIF_T_XXX).
Definition at line 44 of file knet.h.
Referenced by example_linux_interface_create().
| opennsl_vlan_t opennsl_knet_netif_s::vlan |