Defined more standard ethernet protocol types
This commit is contained in:
@@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user