netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2] ll_types: add netlink ARPHRD
@ 2014-08-23 15:13 Daniel Borkmann
  0 siblings, 0 replies; only message in thread
From: Daniel Borkmann @ 2014-08-23 15:13 UTC (permalink / raw)
  To: stephen; +Cc: netdev

This adds ARPHRD_NETLINK to ll_types so that it can be properly
shown e.g. in `ip a`:

 8: nlmon: <NOARP,UP,LOWER_UP> mtu 3776 qdisc noqueue state UNKNOWN group default
    link/netlink

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
---
 lib/ll_types.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/ll_types.c b/lib/ll_types.c
index 0c39183..2c5bf8b 100644
--- a/lib/ll_types.c
+++ b/lib/ll_types.c
@@ -104,6 +104,7 @@ __PF(PHONET, phonet)
 __PF(PHONET_PIPE, phonet_pipe)
 __PF(CAIF, caif)
 __PF(IP6GRE, gre6)
+__PF(NETLINK, netlink)
 
 __PF(NONE, none)
 __PF(VOID,void)
-- 
1.7.11.7

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-23 15:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-23 15:13 [PATCH iproute2] ll_types: add netlink ARPHRD Daniel Borkmann

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).