Thread (7 messages) 7 messages, 3 authors, 2022-03-04
STALE1565d

[PATCH iproute2-next 1/2] lib: add profinet and ethercat as link layer protocol names

From: Daniel Braunwarth <hidden>
Date: 2022-02-28 13:49:01
Subsystem: library code, the rest · Maintainers: Andrew Morton, Linus Torvalds

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 <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help