Valentin Sawadski
fbc5b5300d
trims resolv.c by removing unrequired static declarations
...
Closes https://github.com/contiki-os/contiki/issues/1333
2015-10-28 14:58:52 +01:00
Simon Duquennoy
b979beb075
Merge pull request #1167 from bkozak-scanimetrics/contikimac_fix_qsend_list_packetbuf_pending
...
Fix Mishandling of PENDING/Queued Packets at ContikiMAC and CSMA
2015-10-23 10:52:17 +02:00
Simon Duquennoy
1e1241f075
Merge pull request #1156 from amitgeron/stunicast-timer-fix
...
Stunicast timer fix
2015-10-23 10:51:40 +02:00
Adam Dunkels
5e08b15b0a
Merge pull request #1313 from tadodotcom/tmp-remove-uip-is-addr-link-local
...
Removes duplicate of uip_is_addr_linklocal
2015-10-21 08:16:27 +02:00
Simon Duquennoy
2daa3d7377
Merge pull request #1269 from tadodotcom/tmp-uip-fallback-iface
...
More flexibility for the fallback interface
2015-10-20 11:33:14 +02:00
Valentin Sawadski
b0c7dabf4c
Removes duplicate of uip_is_addr_linklocal
...
A simple search and replace of `uip_is_addr_link_local` to ensure the more
commonly used `uip_is_addr_linklocal` is used consistently.
2015-10-20 11:18:46 +02:00
Simon Duquennoy
c1797e0ffe
Merge pull request #912 from cetic/pr-dag-lifetime
...
Add DODAG lifetime, update of parent rank when switching dag and multi dodag non-regression test
2015-10-18 20:26:37 +02:00
Konrad Krentz
1a12ef3334
llsec: Unsecuring within parse
2015-10-14 08:22:44 -07:00
Konrad Krentz
0a6b1cb646
llsec: Added AEAD mode to CCM*
2015-10-14 08:22:44 -07:00
Konrad Krentz
c656a4d1c5
llsec: Fixed style issues in CCM*
2015-10-14 08:22:44 -07:00
Konrad Krentz
b522c042ec
llsec: Replaced bootstrap function with a simple init function
2015-10-14 08:21:40 -07:00
Konrad Krentz
2059b6559e
llsec: Let llsec_drivers define their own framer
2015-10-14 08:21:40 -07:00
Oliver Schmidt
6b29e4b30d
Merge pull request #1303 from oliverschmidt/master
...
Initialize acknowledgment no. on establishment of outgoing TCP connection.
2015-10-10 19:55:28 +02:00
Oliver Schmidt
7d38c48a8b
Initialize acknowledgment number on establishment of outgoing TCP connection.
...
Ported change 2432a8ee7d
(set expected reception sequence no to zero - to get initial connection to avoid having ack-number other than zero) from uIPv6 to uIPv4.
2015-10-10 17:41:56 +02:00
Valentin Sawadski
44b3cd4e09
Fixes a possible unsafe memcpy in uip_udp_packet_send
...
If the buffers overlap, memcpy must not be used as it might have arbitrary
results. memmove() on the other hand is safe to use.
2015-10-09 08:30:49 +02:00
Laurent Deru
15bc0c6daa
Update rank of parent when it has changed DODAG
2015-09-30 15:48:36 +02:00
Laurent Deru
34126173b4
Add DAG lifetime
2015-09-30 15:48:36 +02:00
Laurent Deru
c5b563f8e1
Estimated fragments should take into account 802.15.4 header size
2015-09-30 09:02:42 +02:00
Nicolas Tsiftes
0a648df3c3
Merge pull request #1207 from simonduq/fix-nd6-alignement
...
ND6 alignment bugfix
2015-09-29 22:01:37 +02:00
Nicolas Tsiftes
881cd25484
Merge pull request #1288 from joakimeriksson/rpl-early-ocp-check
...
RPL: check if objective function is supported before creating dag.
2015-09-29 21:56:55 +02:00
Joakim Eriksson
24a38a3aa8
check if objective function is supported before adding as parent and creating a dag
2015-09-29 21:10:03 +02:00
Simon Duquennoy
d65b3e1ab6
Merge pull request #1090 from rajithr/patch-1
...
Protection against possible buffer overflow
2015-09-28 13:29:45 +02:00
Simon Duquennoy
1a6681a09d
Merge pull request #987 from ioannisg/send-ns-in-tcpip_ipv6_output
...
Send the first NS attempt inside tcpip_ipv6_output()
2015-09-28 13:29:04 +02:00
Simon Duquennoy
3d7d5d3a45
uip-nd6.c: added function extract_lladdr_aligned for clarity
2015-09-25 19:03:39 +02:00
Nicolas Tsiftes
222a75426a
Merge pull request #1256 from tadodotcom/tmp-refactor-tcpip-packet-input
...
Refactor tcpip.c packet input
2015-09-25 16:18:42 +02:00
Nicolas Tsiftes
a536801e24
Merge pull request #657 from atiselsts/networking_patches
...
Phase RDC memory allocation bugfix
2015-09-24 16:50:00 +02:00
Nicolas Tsiftes
3fcff231ec
Merge pull request #1132 from tpetry/master
...
LRU deletion strategy for rime routes
2015-09-24 14:27:14 +02:00
Simon Duquennoy
db60906e99
Merge pull request #1121 from uknoblic/ip64
...
ip64: Streamlined configuration parameters
2015-09-24 11:24:18 +02:00
Ulf Knoblich
c6db6b171a
ip64: Streamlined configuration parameters
2015-09-24 09:27:11 +02:00
Valentin Sawadski
5b818d5a39
Fixed formatting of documentation
2015-09-23 09:25:31 +02:00
Valentin Sawadski
056f58ae1e
Updates IP64 Fallback Interfaces to return ints
2015-09-23 09:20:31 +02:00
lebrush
b3f6019924
More flexibility for the fallback interface.
...
When there's a failure to send a packet in the fallback interface the
destination is unreachable and therefore the source should be notified.
2015-09-22 12:53:04 +02:00
Billy Kozak
467f28286c
The CSMA driver no longer throttles queued packets
...
Fix for #1166
Updated the CSMA driver so it no longer applies a time delay for
sending queued packets which were sent without error.
2015-09-18 09:35:29 -06:00
Billy Kozak
32e668ae2a
Fix for #1165
...
It is possible that packetbuf is modified by the call to
mac_call_sent_callback. If this occurs ContikiMAC will not be able to
recognize that a packet is pending.
This fixes this problem by storing pending status in a local variable before
calling mac_call_sent_callback.
2015-09-18 09:33:10 -06:00
Valentin Sawadski
cad1c37fb3
Better prints of ::FFFF: prefixed IPv4-mapped addresses
...
IPv4-mapped Address [1] are now printed accoriding to the text representation
mixed IPv4 and IPv6 networks as specified in [2]
[1] https://tools.ietf.org/html/rfc6890#page-14
[2] https://tools.ietf.org/html/rfc3513#page-5
2015-09-18 14:57:01 +02:00
Valentin Sawadski
43770a934d
Refactor tcpip.c packet input
...
The UIP_CONF_FORWARD is now handled in a better way that the general structure
of packet_input can be clearer seen.
2015-09-15 09:31:43 +02:00
Nicolas Tsiftes
70b3585f76
Merge pull request #1249 from simonduq/fix-rpl-icmp-warnings
...
Fix compiler warnings in rpl-icmp6.c
2015-09-10 14:44:04 +02:00
Simon Duquennoy
5329c42034
Remove unused variables
2015-09-08 23:38:43 +02:00
Simon Duquennoy
63ddba93a9
Merge pull request #1169 from feshie/pr-warnings-fix
...
Fix multiple warnings (TCPIP, coap-observe, msp430, z1/tmp102, ContikiMAC)
2015-09-08 09:05:44 +02:00
Arthur Fabre
e8cbf2e5fb
Fix warning in TCPIP
...
When disabling TCP support, the following warning is triggered:
../..//core/net/ip/tcpip.c:159:1: warning: ‘start_periodic_tcp_timer’
defined but not used [-Wunused-function]
An added ifdef guard now only defines this function when TCP support is
enabled.
2015-09-07 17:52:22 +01:00
Adam Dunkels
92c1a68b94
Merge pull request #1215 from joakimeriksson/rpl-child-locking
...
Move locking of neighbors / children from RPL to uip-ds6-route module
2015-09-02 19:42:45 +02:00
rajithr
2a2acf62ed
Fix for out of bounds access
...
Fix for out of bounds access by limiting the printing to the size limit of the buffer
2015-08-31 16:10:00 +05:30
Simon Duquennoy
ddf970d3db
Merge pull request #695 from sdefauw/contiki
...
IPv6 prefix bug
2015-08-29 20:27:50 +02:00
Joakim Eriksson
9e16d93278
removed pointer to next parent since it is not used anymore
2015-08-28 19:15:23 +02:00
Joakim Eriksson
4d5c749cf7
removed locking of rpl-parent since it was never unlocked - moved to routing module
2015-08-27 18:45:06 +02:00
Joakim Eriksson
5dee80a253
added locking of nexthop for routes to avoid the risk of nexthop removal
2015-08-27 18:45:06 +02:00
Joakim Eriksson
7c2bff0462
added debug print for nbr-table-module
2015-08-27 18:45:06 +02:00
Adam Dunkels
2b549f3789
Bugfix: need to explictly drop RPL packets by setting uip_len = 0, otherwise those packets are forwarded, with the wrong link layer address as a sender, causing the mesh to create false routes
2015-08-27 10:28:54 +02:00
Adam Dunkels
9cd84563cb
Send a no-path DAO when becoming feather mode, so that the network can drop routes to us, which are no longer needed
2015-08-27 10:27:56 +02:00
Adam Dunkels
bfb29d2f11
Merge pull request #1116 from cetic/pr-uip-clear-buffer
...
Add uip_clear_buf() macro and replace all instances of uip_len = 0
2015-08-27 10:27:08 +02:00