CNDP  22.08.0
cnet_ip_common.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2016-2022 Intel Corporation
3  */
4 
5 #ifndef __CNET_IP_COMMON_H
6 #define __CNET_IP_COMMON_H
7 
13 #include <cnet_ipv4.h>
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 /* Common defines for Ethernet */
20 enum {
23 };
24 
25 /* Extra EtherTypes */
26 enum {
29  ETHER_TYPE_Q_IN_Q = 0x88A8,
30  ETHER_TYPE_TRANSP_ETH_BR = 0x6558
31 };
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #endif /* __CNET_IP_COMMON_H */
@ ETH_HW_TYPE
@ ETH_VLAN_ENCAP_LEN
@ ETHER_TYPE_MPLS_MULTICAST
@ ETHER_TYPE_Q_IN_Q
@ ETHER_TYPE_TRANSP_ETH_BR
@ ETHER_TYPE_MPLS_UNICAST