Message ID | 20191218224448.8066-1-andre.guedes@intel.com |
---|---|
State | Rejected |
Delegated to: | David Miller |
Headers | show |
Series | [1/2] ether: Add ETH_P_OPCUA macro | expand |
From: Andre Guedes <andre.guedes@intel.com> Date: Wed, 18 Dec 2019 14:44:47 -0800 > This patch adds the ETH_P_OPCUA macro which defines the 'OPC UA over > TSN' ethertype assigned to 0xB62C, according to: > > http://standards-oui.ieee.org/ethertype/eth.txt > > Signed-off-by: Andre Guedes <andre.guedes@intel.com> Add then when there is also an in-kernel user as well.
diff --git a/include/uapi/linux/if_ether.h b/include/uapi/linux/if_ether.h index f6ceb2e63d1e..0752281ee05a 100644 --- a/include/uapi/linux/if_ether.h +++ b/include/uapi/linux/if_ether.h @@ -109,6 +109,7 @@ #define ETH_P_QINQ1 0x9100 /* deprecated QinQ VLAN [ NOT AN OFFICIALLY REGISTERED ID ] */ #define ETH_P_QINQ2 0x9200 /* deprecated QinQ VLAN [ NOT AN OFFICIALLY REGISTERED ID ] */ #define ETH_P_QINQ3 0x9300 /* deprecated QinQ VLAN [ NOT AN OFFICIALLY REGISTERED ID ] */ +#define ETH_P_OPCUA 0xB62C /* OPC UA over TSN */ #define ETH_P_EDSA 0xDADA /* Ethertype DSA [ NOT AN OFFICIALLY REGISTERED ID ] */ #define ETH_P_DSA_8021Q 0xDADB /* Fake VLAN Header for DSA [ NOT AN OFFICIALLY REGISTERED ID ] */ #define ETH_P_IFE 0xED3E /* ForCES inter-FE LFB type */
This patch adds the ETH_P_OPCUA macro which defines the 'OPC UA over TSN' ethertype assigned to 0xB62C, according to: http://standards-oui.ieee.org/ethertype/eth.txt Signed-off-by: Andre Guedes <andre.guedes@intel.com> --- include/uapi/linux/if_ether.h | 1 + 1 file changed, 1 insertion(+)