Rehan MALAK
cc7c2312ec
missing header inttypes.h
2018-09-21 10:15:43 +02:00
Simon Duquennoy
ba8f8b9bda
Merge branch 'develop' into bugfix/mcast-stats
2018-09-16 20:03:30 +02:00
Afonso Oliveira
1e7e721395
correct identation
2018-09-10 10:49:06 +01:00
Afonso Oliveira
81429bf499
Merge branch 'develop' of https://github.com/contiki-ng/contiki-ng into develop
2018-09-10 10:42:48 +01:00
George Oikonomou
bf9fa6d34f
Fix multicast engine stats extension usage
2018-09-09 20:25:21 +01:00
Afonso Oliveira
57f1042bf3
add qualifier const to uip-ds6-route methods
2018-09-07 16:39:53 +01:00
Andreas Urke
b18320415d
Fix incorrect parsing of record TTL into expiration time
2018-08-30 13:48:36 +02:00
Toshio Ito
840bab8f6c
uip_icmp6_send: move log messages at the end of function.
...
It prints UIP_IP_BUF->destipaddr, but this is updated in the middle of
this function. Before this fix, the address was NOT the destination of
the ICMPv6 packet, but was whatever destination that previous operation
wrote to uip_buf.
2018-07-06 13:46:36 +09:00
Simon Duquennoy
95208a804a
Deployment: use node-id for compact address logging
2018-06-06 15:38:26 +02:00
George Oikonomou
92e4ff3ef4
Tidy-up doxygen for uiplib
2018-05-26 02:22:43 +01:00
Simon Duquennoy
bc9934ee5a
Implement function uip_sr_link_snprint
2018-05-18 08:43:19 -07:00
George Oikonomou
a0f43087e3
Merge branch 'develop' into neighbor-discovery-bug
2018-05-18 13:40:06 +01:00
Rehan MALAK
dc46ae2033
better clarity of memcmp test
2018-05-18 00:57:26 +02:00
Simon Duquennoy
ff1f57509a
Introduce UIPLIB_IPV6_MAX_STR_LEN
2018-05-16 12:25:42 -07:00
Simon Duquennoy
29061e9885
Rework uiplib_ipaddr_snprint, and use it from logging module and shell
2018-05-16 12:25:41 -07:00
Rehan MALAK
8cae7a9a91
Fix neighbor discovery bug
...
return value of memcmp is positive or negative or null
and should not be cast in an uint8_t
make -C "tests/09-ipv6" works now on 64bits
2018-05-16 20:57:47 +02:00
kkrentz
c89a513ad1
uip-ds6.c: Avoid compilation warning
2018-05-14 09:22:45 -07:00
Simon Duquennoy
d22ab9413d
Various logging improvements
2018-05-14 03:02:12 -07:00
Simon Duquennoy
981c8fbe30
Fix uip6 log
2018-05-13 06:41:35 -07:00
Simon Duquennoy
9de0f76b83
Merge remote-tracking branch 'origin/develop' into contrib/sicslowpan
2018-05-13 06:41:12 -07:00
kkrentz
4ba95b0768
uip-ds6.c: Compacted code for deriving IIDs from short addresses
2018-05-12 02:42:53 -07:00
kkrentz
21dd6209ff
uip: Support for IEEE 802.15.4 short addresses
2018-05-12 02:29:33 -07:00
George Oikonomou
b45d284be2
Merge branch 'release-4.1' into develop
2018-05-09 22:18:01 +01:00
Niclas Finne
01a4b38fc8
uiplib: ensure string is null-terminated when printing unspecified address
2018-04-25 16:53:46 +02:00
Simon Duquennoy
f9a1f958e1
Merge remote-tracking branch 'origin/release-4.1' into develop
2018-04-20 08:37:14 -07:00
Simon Duquennoy
eae1e7eb5a
sicslowpan: abort fragmentation in case the header does not fit the first fragment
2018-04-11 04:19:03 -07:00
Simon Duquennoy
0c9d2b4049
sicslowpan: when compressing, make sure never to overflow packetbuf with headers
2018-04-11 02:07:25 -07:00
Simon Duquennoy
8abd9ad984
Merge branch 'develop' into pr/ndc-bugfix
2018-04-07 14:30:04 +02:00
Simon Duquennoy
b45276775e
sicslowpan: fix compilation with fragmentation disabled
2018-04-06 12:47:09 -07:00
Simon Duquennoy
07c3e411ea
Fix typos in comments
2018-04-06 12:47:08 -07:00
Simon Duquennoy
b10274d042
sicslowpan: neater logs
2018-04-06 12:47:08 -07:00
Simon Duquennoy
6c309825f9
sicslowpan: rework fragment output. Minimizes #frags. Fixes early #frag estimate. Clearer logs.
2018-04-06 12:47:08 -07:00
Simon Duquennoy
bf3d93decc
sicslowpan: rename SICSLOWPAN_FIXED_HDRLEN to MAC_MAX_HEADER
2018-04-06 12:47:08 -07:00
Simon Duquennoy
d0aea6d0a1
sicslowpan: removing unused option SICSLOWPAN_USE_FIXED_HDRLEN
2018-04-06 12:47:08 -07:00
Simon Duquennoy
9dfcb2ebb6
Various logging improvements
2018-04-05 20:47:02 +02:00
Yasuyuki Tanaka
601e14ebc7
uip-nd6: bugfix on address resolution by Neighbor Discovery protocol
...
nbr_table_update_lladdr() fails to update the lladdr of a nbr with a
new one when the new lladdr is used in nbr_table. This causes
communication errors when NS/NA is employed.
uip_ds6_nbr_update_ll() is introduced to resolve this issue. And
nbr_table_update_lladdr() is removed since it's not used any more.
2018-04-01 13:11:47 +02:00
Yasuyuki Tanaka
49e5cf3c8c
sicslowpan: fix debug messages and remove TABs
2018-03-26 20:55:56 +02:00
Simon Duquennoy
a65dcea7ce
uip6.c: label 'process' is only used when multicast AND routing are set
2018-03-09 16:29:06 +00:00
Simon Duquennoy
ddaacdd41d
Only use LOG_*_ENABLED flags from within C 'if' statements
2018-02-25 06:23:42 -08:00
George Oikonomou
46cf366698
Merge branch 'develop' into contrib/PRI
2018-02-24 15:03:46 +00:00
Simon Duquennoy
9596a4285e
Use PRI macros for safe printf and logs
2018-02-23 10:58:45 -08:00
Niclas Finne
309745780e
Removed the remaining Contiki Interface declaration macros (CCIF/CLIF)
2018-02-21 01:14:10 +01:00
Simon Duquennoy
123105ab20
Move source routing state management from RPL Lite and RPL Classic to uip.
2018-02-02 08:51:29 -08:00
Simon Duquennoy
65cbc45145
Rename routing module flags
2018-02-02 08:50:17 -08:00
Simon Duquennoy
5f4ad6d657
Fix compilation of multicast engines smrf and esmrf
2018-02-02 08:50:17 -08:00
Simon Duquennoy
f117770131
Fix inclusion paths
2018-02-02 08:50:17 -08:00
Simon Duquennoy
26d51c15d7
Routing API: added more missing functions, homogenize configuration
2018-02-02 08:50:17 -08:00
Simon Duquennoy
15b81c0fe5
Fix protocol-dependent def of UIP_MAX_ROUTES
2018-02-02 08:48:37 -08:00
Simon Duquennoy
fb8bf3d02d
Remove unused define in uip6.c
2018-02-02 08:48:37 -08:00
Simon Duquennoy
c9861b0726
Routing API: added neighbor_state_changed
2018-02-02 08:48:37 -08:00