* [PATCH net-next 0/2] New ARPHRD type for 6LoWPAN
@ 2013-12-07 18:08 Jukka Rissanen
2013-12-07 18:08 ` [PATCH net-next 1/2] net: if_arp: add ARPHRD_6LOWPAN type Jukka Rissanen
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Jukka Rissanen @ 2013-12-07 18:08 UTC (permalink / raw)
To: netdev
Hi,
new ARPHRD needed for 6LoWPAN networks. Initially this will
be used by Bluetooth sub-system but IEEE 802154 will be converted
to use it also. The patch using this new ARPHRD is sent to
bluetooth mailing list.
Cheers,
Jukka
Jukka Rissanen (2):
net: if_arp: add ARPHRD_6LOWPAN type
ipv6: Add checks for 6LOWPAN ARP type
include/uapi/linux/if_arp.h | 1 +
net/ipv6/addrconf.c | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
--
1.8.3.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH net-next 1/2] net: if_arp: add ARPHRD_6LOWPAN type
2013-12-07 18:08 [PATCH net-next 0/2] New ARPHRD type for 6LoWPAN Jukka Rissanen
@ 2013-12-07 18:08 ` Jukka Rissanen
2013-12-07 18:08 ` [PATCH net-next 2/2] ipv6: Add checks for 6LOWPAN ARP type Jukka Rissanen
2013-12-10 2:06 ` [PATCH net-next 0/2] New ARPHRD type for 6LoWPAN David Miller
2 siblings, 0 replies; 4+ messages in thread
From: Jukka Rissanen @ 2013-12-07 18:08 UTC (permalink / raw)
To: netdev
Used for IPv6 over LoWPAN networks. Example of this is
Bluetooth 6LoWPAN network.
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..4d024d7 100644
--- a/include/uapi/linux/if_arp.h
+++ b/include/uapi/linux/if_arp.h
@@ -94,6 +94,7 @@
#define ARPHRD_CAIF 822 /* CAIF media type */
#define ARPHRD_IP6GRE 823 /* GRE over IPv6 */
#define ARPHRD_NETLINK 824 /* Netlink header */
+#define ARPHRD_6LOWPAN 825 /* IPv6 over LoWPAN */
#define ARPHRD_VOID 0xFFFF /* Void type, nothing is known */
#define ARPHRD_NONE 0xFFFE /* zero header length */
--
1.8.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH net-next 2/2] ipv6: Add checks for 6LOWPAN ARP type
2013-12-07 18:08 [PATCH net-next 0/2] New ARPHRD type for 6LoWPAN Jukka Rissanen
2013-12-07 18:08 ` [PATCH net-next 1/2] net: if_arp: add ARPHRD_6LOWPAN type Jukka Rissanen
@ 2013-12-07 18:08 ` Jukka Rissanen
2013-12-10 2:06 ` [PATCH net-next 0/2] New ARPHRD type for 6LoWPAN David Miller
2 siblings, 0 replies; 4+ messages in thread
From: Jukka Rissanen @ 2013-12-07 18:08 UTC (permalink / raw)
To: netdev
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
---
net/ipv6/addrconf.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 5087cc5..b3d78ad 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -1816,6 +1816,7 @@ static int ipv6_generate_eui64(u8 *eui, struct net_device *dev)
return addrconf_ifid_sit(eui, dev);
case ARPHRD_IPGRE:
return addrconf_ifid_gre(eui, dev);
+ case ARPHRD_6LOWPAN:
case ARPHRD_IEEE802154:
return addrconf_ifid_eui64(eui, dev);
case ARPHRD_IEEE1394:
@@ -2670,7 +2671,8 @@ static void addrconf_dev_config(struct net_device *dev)
(dev->type != ARPHRD_INFINIBAND) &&
(dev->type != ARPHRD_IEEE802154) &&
(dev->type != ARPHRD_IEEE1394) &&
- (dev->type != ARPHRD_TUNNEL6)) {
+ (dev->type != ARPHRD_TUNNEL6) &&
+ (dev->type != ARPHRD_6LOWPAN)) {
/* Alas, we support only Ethernet autoconfiguration. */
return;
}
--
1.8.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH net-next 0/2] New ARPHRD type for 6LoWPAN
2013-12-07 18:08 [PATCH net-next 0/2] New ARPHRD type for 6LoWPAN Jukka Rissanen
2013-12-07 18:08 ` [PATCH net-next 1/2] net: if_arp: add ARPHRD_6LOWPAN type Jukka Rissanen
2013-12-07 18:08 ` [PATCH net-next 2/2] ipv6: Add checks for 6LOWPAN ARP type Jukka Rissanen
@ 2013-12-10 2:06 ` David Miller
2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2013-12-10 2:06 UTC (permalink / raw)
To: jukka.rissanen; +Cc: netdev
From: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Date: Sat, 7 Dec 2013 20:08:55 +0200
> new ARPHRD needed for 6LoWPAN networks. Initially this will
> be used by Bluetooth sub-system but IEEE 802154 will be converted
> to use it also. The patch using this new ARPHRD is sent to
> bluetooth mailing list.
Please add this to the tree when the bluetooth code that uses it
is added, you can add my:
Acked-by: David S. Miller <davem@davemloft.net>
when you do so.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-12-10 2:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-07 18:08 [PATCH net-next 0/2] New ARPHRD type for 6LoWPAN Jukka Rissanen
2013-12-07 18:08 ` [PATCH net-next 1/2] net: if_arp: add ARPHRD_6LOWPAN type Jukka Rissanen
2013-12-07 18:08 ` [PATCH net-next 2/2] ipv6: Add checks for 6LOWPAN ARP type Jukka Rissanen
2013-12-10 2:06 ` [PATCH net-next 0/2] New ARPHRD type for 6LoWPAN David Miller
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).