zephyr/tests/net
Vinicius Costa Gomes 8e304ef2e6 iot/zoap: Fix requiring that the buffer is unchanged for retransmit
It is possible that the buffer waiting for retransmission is modified
after it is sent, for example, it can be compacted by 6lo, and our
assumption of where is the message ID is located in the buffer is no
longer valid.

As the message ID is the only information that is necessary for
keeping track of retransmissions, we keep a copy of it in the pending
struct, as well as the destination address of the retransmission.

Change-Id: Id33d54353404628673541225a1a05e27ee08765f
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
2017-02-27 10:28:54 +02:00
..
6lo net: Set the network link address type when setting link address 2017-02-22 17:28:25 +02:00
arp net: Set the network link address type when setting link address 2017-02-22 17:28:25 +02:00
buf license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
context net: Set the network link address type when setting link address 2017-02-22 17:28:25 +02:00
dhcpv4 net: Set the network link address type when setting link address 2017-02-22 17:28:25 +02:00
icmpv6 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
ieee802154 net: Set the network link address type when setting link address 2017-02-22 17:28:25 +02:00
iface net: Set the network link address type when setting link address 2017-02-22 17:28:25 +02:00
ip-addr net: Set the network link address type when setting link address 2017-02-22 17:28:25 +02:00
ipv6 net: Set the network link address type when setting link address 2017-02-22 17:28:25 +02:00
lib iot/zoap: Fix requiring that the buffer is unchanged for retransmit 2017-02-27 10:28:54 +02:00
mgmt net: Set the network link address type when setting link address 2017-02-22 17:28:25 +02:00
nbuf net: nbuf: Fix net_nbuf_compact() API 2017-02-08 10:12:36 +02:00
neighbor license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
route net: Set the network link address type when setting link address 2017-02-22 17:28:25 +02:00
rpl net: Set the network link address type when setting link address 2017-02-22 17:28:25 +02:00
tcp net: Set the network link address type when setting link address 2017-02-22 17:28:25 +02:00
trickle license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
udp net: Set the network link address type when setting link address 2017-02-22 17:28:25 +02:00
utils net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00