From abfc5e8591064ee6742c6144f236fbff22d1b3bf Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Wed, 5 Feb 2020 19:11:07 +0000 Subject: [PATCH] ethernet: Add a couple more Ethertypes. Powerlink and Sercos III are used in automation. Both have been standardized and In the case of Ethernet Powerlink there is a BSD-licensed stack. --- sys/net/ethernet.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/net/ethernet.h b/sys/net/ethernet.h index 933ea1103b4b..ab9355431418 100644 --- a/sys/net/ethernet.h +++ b/sys/net/ethernet.h @@ -356,7 +356,9 @@ struct ether_vlan_header { #define ETHERTYPE_AOE 0x88A2 /* ATA Protocol */ #define ETHERTYPE_ETHERCAT 0x88A4 /* EtherCat Protocol */ #define ETHERTYPE_QINQ 0x88A8 /* 802.1ad VLAN stacking */ +#define ETHERTYPE_POWERLINK 0x88AB /* Ethernet Powerlink (EPL) */ #define ETHERTYPE_LLDP 0x88CC /* Link Layer Discovery Protocol */ +#define ETHERTYPE_SERCOS 0x88CD /* SERCOS III Protocol */ #define ETHERTYPE_MACSEC 0x88E5 /* 802.1AE MAC Security */ #define ETHERTYPE_PBB 0x88E7 /* 802.1Q Provider Backbone Bridges */ #define ETHERTYPE_FCOE 0x8906 /* Fibre Channel over Ethernet */