[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #9364] RFC7668 - 6lowpan over Bluetooth Low Energy -
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [patch #9364] RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif |
Date: |
Wed, 14 Mar 2018 09:48:44 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0 |
Follow-up Comment #6, patch #9364 (project lwip):
Well, the problem is you fill in the BLE IID (which is 64 bit) into the lower
half of an ip6_addr_t and later move it to the upper half. This simply isn't
correct. Being like that, I think a common address struct that indicates the
address length without being accidentally taken as a valid IPv6 address is
cleaner.
(BTW, looking at your example code, it's not allowed to assign p->payload of a
PBUF_RAM to something else. Eventually things may go wrong if you do that. Use
PBUF_REF instead.)
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?9364>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [patch #9364] RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif, Dirk Ziegelmeier, 2018/03/04
- [lwip-devel] [patch #9364] RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif, Simon Goldschmidt, 2018/03/13
- [lwip-devel] [patch #9364] RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif, Aigner B., 2018/03/14
- [lwip-devel] [patch #9364] RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif,
Simon Goldschmidt <=
- [lwip-devel] [patch #9364] RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif, Aigner B., 2018/03/14
- [lwip-devel] [patch #9364] RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif, Aigner B., 2018/03/14
- [lwip-devel] [patch #9364] RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif, Simon Goldschmidt, 2018/03/14
- [lwip-devel] [patch #9364] RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif, Aigner B., 2018/03/14
- [lwip-devel] [patch #9364] RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif, Simon Goldschmidt, 2018/03/14
- [lwip-devel] [patch #9364] RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif, Simon Goldschmidt, 2018/03/14
- [lwip-devel] [patch #9364] RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif, Aigner B., 2018/03/15
- [lwip-devel] [patch #9364] RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif, Simon Goldschmidt, 2018/03/15
- [lwip-devel] [patch #9364] RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif, Simon Goldschmidt, 2018/03/21
- [lwip-devel] [patch #9364] RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif, Aigner B., 2018/03/22