CNDP  22.08.0
cnet_ip_common.h File Reference
#include <cnet_ipv4.h>

Go to the source code of this file.

Enumerations

enum  { ETH_HW_TYPE = 1 , ETH_VLAN_ENCAP_LEN = 4 }
 
enum  { ETHER_TYPE_MPLS_UNICAST = 0x8847 , ETHER_TYPE_MPLS_MULTICAST = 0x8848 , ETHER_TYPE_Q_IN_Q = 0x88A8 , ETHER_TYPE_TRANSP_ETH_BR = 0x6558 }
 

Detailed Description

CNET IP common routines and constants.

Definition in file cnet_ip_common.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
ETH_HW_TYPE 

Ethernet hardware type

ETH_VLAN_ENCAP_LEN 

802.1Q VLAN encap. length

Definition at line 20 of file cnet_ip_common.h.

◆ anonymous enum

anonymous enum
Enumerator
ETHER_TYPE_MPLS_UNICAST 

MPLS Unicast

ETHER_TYPE_MPLS_MULTICAST 

MPLS Multicast

ETHER_TYPE_Q_IN_Q 

QnQ ether type

ETHER_TYPE_TRANSP_ETH_BR 

Transparent Ethernet Bridge

Definition at line 26 of file cnet_ip_common.h.