From: Daniel Braunwarth Date: Mon, 28 Feb 2022 13:45:19 +0000 (+0100) Subject: lib: add profinet and ethercat as link layer protocol names X-Git-Tag: v5.18.0~37^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75061b357f066392c7e33e37e6261e4bd8de0e70;p=thirdparty%2Fiproute2.git 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 --- diff --git a/lib/ll_proto.c b/lib/ll_proto.c index 78179311c..342ea2eef 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)