diff options
author | Luca Deri <deri@ntop.org> | 2021-08-09 17:01:10 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-08-09 17:01:10 +0200 |
commit | 05492ec8e8431584c4b436e1411b69b24a84c766 (patch) | |
tree | 3bebb38d4101d40650053290c2de687c6a418b85 /src | |
parent | 58ca7b5a7f48e14655083bea02b47b9dc7aa1627 (diff) |
Defined more standard ethernet protocol types
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ndpi_define.h.in | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/src/include/ndpi_define.h.in b/src/include/ndpi_define.h.in index 5488b046f..2560852d8 100644 --- a/src/include/ndpi_define.h.in +++ b/src/include/ndpi_define.h.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__ */ |