diff options
author | Daniel Braunwarth <daniel@braunwarth.dev> | 2022-02-28 14:45:19 +0100 |
---|---|---|
committer | David Ahern <dsahern@kernel.org> | 2022-03-04 09:24:06 -0700 |
commit | 75061b357f066392c7e33e37e6261e4bd8de0e70 (patch) | |
tree | 14b1bd803f7dfc83949dcf554d769483e1781457 | |
parent | 0a9f3008e108df0903567fb64129d6b717fa2f91 (diff) |
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@braunwarth.dev>
-rw-r--r-- | lib/ll_proto.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |