Message ID | 1515657217-105285-2-git-send-email-yi.y.yang@intel.com |
---|---|
State | Superseded |
Headers | show |
Series | datapath: enable NSH support in kernel compat mode | expand |
diff --git a/datapath/linux/compat/include/linux/if_ether.h b/datapath/linux/compat/include/linux/if_ether.h index 5eb99bc..c989c6e 100644 --- a/datapath/linux/compat/include/linux/if_ether.h +++ b/datapath/linux/compat/include/linux/if_ether.h @@ -19,6 +19,10 @@ #define ETH_P_8021AD 0x88A8 /* 802.1ad Service VLAN */ #endif +#ifndef ETH_P_NSH +#define ETH_P_NSH 0x894F /* Network Service Header */ +#endif + #define inner_eth_hdr rpl_inner_eth_hdr static inline struct ethhdr *inner_eth_hdr(const struct sk_buff *skb) {