From: Jukka Rissanen <hidden> Date: 2013-10-30 09:11:13
Hi,
This new type is needed in Bluetooth 6LoWPAN where
raw IPv6 packets are transferred to/from the device.
I used the same value (530) as some Android kernels
(from Qualcomm) are using in order not to brake any
user space programs. If this is not needed, I can
certainly send a new patch version with next available
value (519).
Cheers,
Jukka
Jukka Rissanen (2):
net: if_arp: add ARPHRD_RAWIP type
ipv6: Add checks for RAWIP ARP type
include/uapi/linux/if_arp.h | 1 +
net/ipv6/addrconf.c | 14 +++++++++++++-
2 files changed, 14 insertions(+), 1 deletion(-)
--
1.7.11.7
From: Jukka Rissanen <hidden> Date: 2013-10-30 09:11:14
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 <redacted>
---
include/uapi/linux/if_arp.h | 1 +
1 file changed, 1 insertion(+)
I think we have already a function like this, look for:
static int addrconf_ifid_eui64(u8 *eui, struct net_device *dev)
which is the same for ieee802154 6lowpan. Are there any issues why we
can't use the same function here?
- Alex
I think we have already a function like this, look for:
static int addrconf_ifid_eui64(u8 *eui, struct net_device *dev)
which is the same for ieee802154 6lowpan. Are there any issues why we
can't use the same function here?
No issues there, I can certainly prepare a patch that uses the
addrconf_ifid_eui64() instead.
--
Cheers,
Jukka
From: David Miller <davem@davemloft.net> Date: 2013-10-30 21:25:57
From: Jukka Rissanen <redacted>
Date: Wed, 30 Oct 2013 11:11:10 +0200
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 <redacted>
I'm not applying patches like this until there is an actual user,
and this therefore goes for patch #2 as well.
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 <redacted>
I'm not applying patches like this until there is an actual user,
and this therefore goes for patch #2 as well.
patches for Bluetooth 6loWPAN have been posted to linux-bluetooth for review. So there is an actual user here.
If you do not want to merge these patches at this point, that is totally fine. We can happily carry them through bluetooth-next and wireless-next trees as well.
Posting them on netdev is mainly for checking that the changes we have to make outside the Bluetooth subsystem are in sync. So that they are reviewed and have been seen before. If you have any general objections to these assignments or changes, please let us now.
Regards
Marcel
Posting them on netdev is mainly for checking that the changes we
have to make outside the Bluetooth subsystem are in sync.
Changes without use context and examples cannot be reviewed.
You have to provide those example users here, not on some external
list for us to look at.