From: Daniel Braunwarth <daniel@braunwarth.dev>
To: netdev@vger.kernel.org
Cc: daniel@braunwarth.dev
Subject: [PATCH iproute2-next 1/2] lib: add profinet and ethercat as link layer protocol names
Date: Mon, 28 Feb 2022 14:45:19 +0100 [thread overview]
Message-ID: <20220228134520.118589-2-daniel@braunwarth.dev> (raw)
In-Reply-To: <20220228134520.118589-1-daniel@braunwarth.dev>
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>
---
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
next prev parent reply other threads:[~2022-02-28 13:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-28 13:45 [PATCH iproute2-next 0/2] lib: add profinet and ethercat as link layer protocol Daniel Braunwarth
2022-02-28 13:45 ` Daniel Braunwarth [this message]
2022-02-28 17:21 ` [PATCH iproute2-next 1/2] lib: add profinet and ethercat as link layer protocol names Stephen Hemminger
2022-03-01 18:26 ` daniel
2022-03-01 19:58 ` Stephen Hemminger
2022-02-28 13:45 ` [PATCH iproute2-next 2/2] tc: bash-completion: Add profinet and ethercat to procotol completion list Daniel Braunwarth
2022-03-04 16:30 ` [PATCH iproute2-next 0/2] lib: add profinet and ethercat as link layer protocol patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220228134520.118589-2-daniel@braunwarth.dev \
--to=daniel@braunwarth.dev \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).