Commit Graph

90 Commits

Author SHA1 Message Date
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
Simon Duquennoy dfa7d735ac Added necessary includes 2018-02-02 08:48:37 -08:00
Simon Duquennoy 4ffab13eeb Routing API: drop_route 2018-02-02 08:48:37 -08:00
Simon Duquennoy eaa3b6ad79 Routing API: added link_callback 2018-02-02 08:48:37 -08:00
Simon Duquennoy fdbd89d018 Routing API: added ext_header_srh_update 2018-02-02 08:48:37 -08:00
Simon Duquennoy 25e07b7d23 Routing API: added ext_header_hbh_update 2018-02-02 08:48:37 -08:00
Simon Duquennoy 54655335c6 Routing API: added ext_header_update 2018-02-02 08:48:37 -08:00
Simon Duquennoy 4cdf2d4819 Routing API: added ext_header_srh_get_next_hop 2018-02-02 08:48:37 -08:00
Simon Duquennoy 03bab6f119 Routing API: added ext_header_remove 2018-02-02 08:48:37 -08:00
Simon Duquennoy 4c9f62ebe4 Added NETSTACK_ROUTING for routing protocol selection. Only used for init() so far. 2018-02-02 08:47:21 -08:00
Simon Duquennoy 871ee1e34f Added routing module with only routing.h, now included wherever RPL is used 2018-02-02 08:45:02 -08:00
Niclas Finne 0731c4f158 Added functions in uiplib to print a IP address to string and normal
output. Changed uip-debug to use the uiplib functions instead of its
own print functions.
2018-01-12 01:20:53 +01:00