OSDN Git Service

net: arp: Add support for raw IP device
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Wed, 30 Aug 2017 04:44:17 +0000 (22:44 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Aug 2017 18:41:13 +0000 (11:41 -0700)
Define the raw IP type. This is needed for raw IP net devices
like rmnet.

Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_arp.h

index cf73510..a2a6356 100644 (file)
@@ -59,6 +59,7 @@
 #define ARPHRD_LAPB    516             /* LAPB                         */
 #define ARPHRD_DDCMP    517            /* Digital's DDCMP protocol     */
 #define ARPHRD_RAWHDLC 518             /* Raw HDLC                     */
+#define ARPHRD_RAWIP    519            /* Raw IP                       */
 
 #define ARPHRD_TUNNEL  768             /* IPIP tunnel                  */
 #define ARPHRD_TUNNEL6 769             /* IP6IP6 tunnel                */