Linux bluetooth development
 help / color / mirror / Atom feed
From: Jukka Rissanen <jukka.rissanen@linux.intel.com>
To: linux-bluetooth@vger.kernel.org
Subject: [RFC v5 2/5] net: if_arp: add ARPHRD_RAWIP type
Date: Wed, 20 Nov 2013 14:07:20 +0200	[thread overview]
Message-ID: <1384949243-829-3-git-send-email-jukka.rissanen@linux.intel.com> (raw)
In-Reply-To: <1384949243-829-1-git-send-email-jukka.rissanen@linux.intel.com>

This is used when there is no L2 header before IP header.
Example of this is Bluetooth 6LoWPAN network.

The RAWIP header type value is already used in some Android kernels
so same value is used here in order not to break userspace.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
---
 include/uapi/linux/if_arp.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/if_arp.h b/include/uapi/linux/if_arp.h
index d7fea34..06fc69f 100644
--- a/include/uapi/linux/if_arp.h
+++ b/include/uapi/linux/if_arp.h
@@ -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	530	        /* Raw IP                       */
 
 #define ARPHRD_TUNNEL	768		/* IPIP tunnel			*/
 #define ARPHRD_TUNNEL6	769		/* IP6IP6 tunnel       		*/
-- 
1.8.3.1


  parent reply	other threads:[~2013-11-20 12:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-20 12:07 [RFC v5 0/5] Bluetooth LE 6LoWPAN Jukka Rissanen
2013-11-20 12:07 ` [RFC v5 1/5] 6lowpan: Moving generic parts into net/core/6lowpan.c Jukka Rissanen
2013-11-20 12:07 ` Jukka Rissanen [this message]
2013-11-20 12:07 ` [RFC v5 3/5] ipv6: Add checks for RAWIP ARP type Jukka Rissanen
2013-11-20 12:07 ` [RFC v5 4/5] Bluetooth: Enable 6LoWPAN support for BT LE devices Jukka Rissanen
2013-11-20 12:07 ` [RFC v5 5/5] Bluetooth: Manually enable or disable 6LoWPAN between devices Jukka Rissanen

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=1384949243-829-3-git-send-email-jukka.rissanen@linux.intel.com \
    --to=jukka.rissanen@linux.intel.com \
    --cc=linux-bluetooth@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