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
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
Simon Duquennoy
836249a8c8
Merge branch 'develop' into fix-ra-rdnss
2017-12-20 12:42:34 +01:00
Simon Duquennoy
7286491c16
Merge branch 'develop' into fix-ra-rdnss
2017-12-20 11:37:55 +01:00
Simon Duquennoy
8b14fc8d4a
Merge branch 'develop' into fix-non-router-compilation
2017-12-20 11:37:06 +01:00
Laurent Deru
425b463df8
Fix logic of RA flags related to RDNSS
2017-12-20 10:23:16 +01:00
Laurent Deru
4b43e4971b
Fix compilation error when not in Router mode
2017-12-20 10:14:11 +01:00
Simon Duquennoy
b938ad9aa7
Merge branch 'develop' into fix-icmp-error-source
2017-12-12 19:33:04 +01:00
Simon Duquennoy
118912d681
Merge branch 'develop' into fix-update-proto-remove-ext-hdr
2017-12-12 15:38:48 +01:00
Simon Duquennoy
d609fb9eec
Merge branch 'develop' into fix-sicslowpan-llhlen
2017-12-12 13:49:16 +01:00
George Oikonomou
7be2524e1b
Merge branch 'develop' into contrib/uipbuf
2017-12-11 21:48:20 +00:00
Laurent Deru
ebb1f5475e
Always use uip_ds6_select_src when sending back an icmp error
2017-12-11 17:49:26 +01:00
Laurent Deru
2bf9031b02
Update proto field in remove_ext_hdr()
2017-12-11 16:10:37 +01:00
Laurent Deru
418d792a4b
Sicslowpan uses twice UIP_LLH_LEN for IPPAYLOAD_BUF
2017-12-11 16:08:43 +01:00
Laurent Deru
ed239372c1
Use UIP_LLH_LEN in multicast engines and add more traces
2017-12-11 15:40:18 +01:00
Joakim Eriksson
bd6de2401f
added some documentation
2017-12-10 21:17:37 +01:00
Atis Elsts
5caff5290c
Readd back 'uip_stat' if UIP_STATISTICS is enabled
2017-12-10 20:04:14 +00:00
Joakim Eriksson
85eff304be
set MAX_MAC_TRANSMISSION to undefined in uipbuf clear
2017-12-09 10:22:19 +01:00
Joakim Eriksson
1356994795
added support for usage of the transmission count attirbute in uipbuf
2017-12-09 10:22:19 +01:00
Joakim Eriksson
941ddf35b8
IPv6: added uipbuf attributes similar to packetbuf
2017-12-09 10:22:19 +01:00
Simon Duquennoy
83fb4b68b5
Merge branch 'develop' into contrib/traceroute
2017-11-17 17:26:17 +01:00
Atis Elsts
a211cb6e31
Allow to set a different number of MAC retransmissions for different classes of packets
2017-11-17 14:13:20 +00:00
Simon Duquennoy
0bd107b0a0
uIP6 forwarding: clearer log messages
2017-11-14 10:04:31 +01:00
Simon Duquennoy
071f542078
uIP6: check MTU, check and update TTL even in the case of routing header forwarding
2017-11-13 16:37:23 +01:00
Simon Duquennoy
d494ee85c7
Fix logging in uip-ds6.c
2017-10-31 16:16:04 +01:00
George Oikonomou
8de3ffbc2e
Don't initialise the queuebuf unconditionally
...
Currently, it is only used by 6LoWPAN when fragmentation is enabled, by TSCH and by CSMA. Platforms that disable fragmentation and choose a different MAC layer (e.g. NULLMAC) will unnecessarily end up with the module linked in the image, wasting flash and/or RAM space.
2017-10-29 23:18:36 +00:00
Simon Duquennoy
663d1f121d
Autoconfigure Orchestra whenever the module is included
2017-10-12 18:32:19 +02:00
Simon Duquennoy
df01ebc219
Minor logging fixes
2017-10-11 17:25:07 +02:00
Simon Duquennoy
9d77bad2c2
sicslowpan: set SICSLOWPAN_COMPRESSION from .h file rather than .c, for integration with viewconf
2017-10-11 17:23:36 +02:00
Joakim Eriksson
1143d6f5aa
addressed some of the suggestions on the PR - naming and netstack MAC
2017-10-08 00:44:02 +02:00
Joakim Eriksson
f73454071f
added an example for packet processing - and added uipbuf module for header processing
2017-10-08 00:44:02 +02:00
Joakim Eriksson
0f9207640b
added netstack-ip-processor
2017-10-08 00:44:02 +02:00
Joakim Eriksson
ac12496e6d
added output function to network layer
2017-10-08 00:44:02 +02:00
Simon Duquennoy
25d69965a4
Move some readme files to wiki
2017-10-06 16:28:26 +02:00
Simon Duquennoy
14779f29f8
Rework Doxygen modules
2017-09-29 22:18:48 +02:00
Simon Duquennoy
543408db68
Re-organzie ip stack implementation
2017-09-22 17:09:54 +02:00
Nicolas Tsiftes
8ae774d413
Merge pull request #71 from simonduq/pr/rename-rpl
...
Rename old RPL implementation as rpl-legacy (update: rpl-classic)
2017-09-15 14:50:59 +02:00
Simon Duquennoy
786cc13a95
Rename old RPL implementation as rpl-classic
2017-09-14 04:55:36 +02:00
Simon Duquennoy
e9610ec647
Fix IPv6 log
2017-09-11 15:05:19 +09:00
Simon Duquennoy
0f92c6ebfd
Include contiki.h instead of contiki-conf.h so as to ensure consistent inclusion of contiki-default-conf.h
2017-09-08 14:20:59 +02:00
Simon Duquennoy
fc9e77b562
Move websocket implementation to os/net/app-layer/http-socket
2017-09-04 16:29:19 +02:00
Niclas Finne
2c86194ef8
Renamed core to os
2017-09-01 15:29:00 +02:00