]> Pileus Git - ~andy/linux/commitdiff
net: if_arp: add ARPHRD_NETLINK type
authorDaniel Borkmann <dborkman@redhat.com>
Fri, 21 Jun 2013 17:38:06 +0000 (19:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2013 23:39:05 +0000 (16:39 -0700)
This small patch adds the definition of ARPHRD_NETLINK which can for
example be used by netlink monitoring devices as device type. So that
sockaddr_ll can pick it up and based on that choose the correct packet
dissector.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_arp.h

index 82c7d1bdadeb3d853ad4e33e51bc3fa8962c7d82..d7fea3496f323078739fc6c6148be125f79797c3 100644 (file)
@@ -93,6 +93,7 @@
 #define ARPHRD_PHONET_PIPE 821         /* PhoNet pipe header           */
 #define ARPHRD_CAIF    822             /* CAIF media type              */
 #define ARPHRD_IP6GRE  823             /* GRE over IPv6                */
+#define ARPHRD_NETLINK 824             /* Netlink header               */
 
 #define ARPHRD_VOID      0xFFFF        /* Void type, nothing is known */
 #define ARPHRD_NONE      0xFFFE        /* zero header length */