[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220228134520.118589-2-daniel@braunwarth.dev>
Date: Mon, 28 Feb 2022 14:45:19 +0100
From: Daniel Braunwarth <daniel@...unwarth.dev>
To: netdev@...r.kernel.org
Cc: daniel@...unwarth.dev
Subject: [PATCH iproute2-next 1/2] lib: add profinet and ethercat as link layer protocol names
Update the llproto_names array to allow users to reference the PROFINET
and EtherCAT protocols with the names 'profinet' and 'ethercat'.
Signed-off-by: Daniel Braunwarth <daniel@...unwarth.dev>
---
lib/ll_proto.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/ll_proto.c b/lib/ll_proto.c
index 78179311..342ea2ee 100644
--- a/lib/ll_proto.c
+++ b/lib/ll_proto.c
@@ -75,7 +75,9 @@ __PF(CONTROL,control)
__PF(IRDA,irda)
__PF(ECONET,econet)
__PF(TIPC,tipc)
+__PF(PROFINET,profinet)
__PF(AOE,aoe)
+__PF(ETHERCAT,ethercat)
__PF(8021Q,802.1Q)
__PF(8021AD,802.1ad)
__PF(MPLS_UC,mpls_uc)
--
2.35.1
Powered by blists - more mailing lists