Defined more standard ethernet protocol types

This commit is contained in:
Luca Deri
2021-08-09 17:01:10 +02:00
parent 58ca7b5a7f
commit 05492ec8e8
2 changed files with 12 additions and 20 deletions
+8 -16
View File
@@ -390,28 +390,20 @@
#define ETH_P_IPV6 0x86dd /* IPv6 */
#endif
#ifndef CISCO_SLARP
#define CISCO_SLARP 0x8035 /* Cisco Slarp */
#ifndef ETH_P_VLAN
#define ETH_P_VLAN 0x8100
#endif
#ifndef CISCO_D_PROTO
#define CISCO_D_PROTO 0x2000 /* Cisco Discovery Protocol */
#ifndef ETH_P_MPLS_UNI
#define ETH_P_MPLS_UNI 0x8847
#endif
#ifndef VLAN
#define VLAN 0x8100
#ifndef ETH_P_MPLS_MULTI
#define ETH_P_MPLS_MULTI 0x8848
#endif
#ifndef MPLS_UNI
#define MPLS_UNI 0x8847
#endif
#ifndef MPLS_MULTI
#define MPLS_MULTI 0x8848
#endif
#ifndef PPPOE
#define PPPOE 0x8864
#ifndef ETH_P_PPPoE
#define ETH_P_PPPoE 0x8864
#endif
#endif /* __NDPI_DEFINE_INCLUDE_FILE__ */