George Oikonomou
7e6d5c2971
Don't force RPL MOP configuration in contiki-default-conf.h
...
rpl-private.h handles the default MOP correctly, whereas the block in `contiki-default-conf.h` is not only redundant but also fails to handle situations where RPL multicast is required.
2017-03-17 22:33:17 +00:00
Mohamed Seliem
08b12f2346
fix a macro related to multicast, which are not user configuration
...
fix a macro related to multicast, which are not user configuration
- RPL_CONF_MULTICAST -> RPL_WITH_MULTICAST
2017-03-17 20:21:56 +02:00
Nicolas Tsiftes
b756841522
Merge pull request #2102 from yatch/pr/rpl-leaf-only-debug-msg
...
RPL: move a debug message for RPL_LEAF_ONLY to a correct place
2017-03-10 15:11:31 +01:00
Simon Duquennoy
a24ac862de
Merge pull request #2046 from yatch/pr/ringbufindex-bugfix
...
Bugfix in ringbufindex
2017-03-09 13:06:33 +01:00
Yasuyuki Tanaka
2d42b91c7b
ringbufindex: fix bugs of ringbufindex_peek_{put,get}
2017-03-09 16:47:24 +09:00
Yasuyuki Tanaka
fbf9bb9e64
ringbufindex: explain return values by the APIs
2017-03-09 16:47:24 +09:00
Yasuyuki Tanaka
baaa3da23e
ringbufindex: fix a typo in a comment
2017-03-09 16:47:24 +09:00
Laurent Deru
9b6ba3c009
Make frame fcf creation and parsing standalone functions
2017-03-08 15:25:55 +01:00
Simon Duquennoy
c37e7cfb0e
Merge pull request #2108 from yatch/pr/poc-tsch-queue-flush-nbr-queue
...
TSCH: POC of a bug in tsch_queue_flush_nbr_queue()
2017-03-08 10:18:41 +01:00
Oliver Schmidt
a38cfc889e
Merge pull request #2118 from oliverschmidt/master
...
Made rest of Microsoft-specific chat optional.
2017-02-24 20:53:55 +01:00
Oliver Schmidt
be9711d92e
Made rest of Microsoft-specific chat optional.
...
Made code rest of the code in the SLIP driver optional that takes care of the Microsoft-specific CLIENT / SERVER / CLIENTSERVER chat.
2017-02-23 21:43:51 +01:00
Antonio Lignan
f5f13c968c
Merge pull request #2061 from cetic/pr-nat64-small-updates
...
Various updates for NAT64
2017-02-21 21:52:18 +01:00
Yasuyuki Tanaka
effdc6e212
TSCH: add debug messages to track queued packet addresses
2017-02-10 16:56:14 +01:00
Yasuyuki Tanaka
25ac43dae9
RPL: move a debug message for RPL_LEAF_ONLY to a correct place
2017-02-08 00:02:26 +01:00
Oliver Schmidt
6463c91a4f
Removed artifacts of former uip_appdata handling.
...
Adam Dunkels writes on 2/5/2017 on the Contiki mailing list:
[...] the original idea was that the application could just point the uip_appdata pointer to wherever the data was, but we then changed it so that the data actually had to be copied into the uip_aligned_buf buffer. So, yes, the network device driver should only need to read from this buffer. [...]
This change removes comments on the possibility of uip_appdata pointing somewhere outside the uip_aligned_buf. And it removes code in the SLIP drivers not necessary anymore.
Additionally it makes code in a SLIP driver optional that takes care of the Microsoft-specific CLIENT / SERVER / CLIENTSERVER chat.
2017-02-05 23:20:39 +01:00
Nicolas Tsiftes
5eb2ac15ff
Merge pull request #2073 from cetic/pr-fix-send-na
...
Fix semantic of UIP_ND6_SEND_NA and add UIP_ND6_SEND_NS
2017-01-20 13:18:43 +01:00
Nicolas Tsiftes
0cfda4c026
Merge pull request #2053 from cetic/pr-fix-dag-lifetime
...
Use RPL_DAG_LIFETIME when computing dag lifetime
2017-01-20 11:08:43 +01:00
Nicolas Tsiftes
2e754c7832
Merge pull request #2063 from cetic/pr-ndp-config
...
Make all NDP configuration parameters user configurable
2017-01-17 08:22:52 +01:00
Nicolas Tsiftes
f80f673e21
Merge pull request #2062 from cetic/pr-add-defrt_list_head
...
Adding uip_ds6_defrt_list_head()
2017-01-17 08:21:50 +01:00
Laurent Deru
0fb597f2fa
Use RPL_DAG_LIFETIME when computing dag lifetime
2017-01-16 16:56:22 +01:00
Laurent Deru
12c930893c
Fix semantic of UIP_ND6_SEND_NA and add UIP_ND6_SEND_NS
2017-01-16 15:48:14 +01:00
Laurent Deru
e5a604552e
Allow modification of IP64 prefix
2017-01-16 14:38:35 +01:00
Laurent Deru
10be59cc15
Update nameserver using DHCP info
2017-01-16 14:38:35 +01:00
Laurent Deru
37fe6a2fa6
Use uip-debug in ip64-ipv4-dhcp.c
2017-01-16 14:37:52 +01:00
Laurent Deru
63ac4d2a3d
Adding uip_ds6_defrt_head()
2017-01-16 13:54:36 +01:00
Laurent Deru
88d0003b75
Make all NDP configuration parameters user configurable
2017-01-16 13:50:56 +01:00
Antonio Lignan
3d40056f4f
Merge pull request #2054 from cetic/pr-check-incoming-rank
...
Reject parents with invalid rank
2017-01-13 16:08:00 +01:00
Laurent Deru
0da6e128eb
Remove servername from DHCP request
2017-01-13 13:35:25 +01:00
Laurent Deru
f9ffa252f6
Reject parents with invalid rank
2017-01-13 12:32:33 +01:00
Laurent Deru
d866e6bd34
Make RPL route lifetime RFC compliant
2017-01-13 10:54:06 +01:00
Yasuyuki Tanaka
1d5fc88ae9
TSCH: fix indentation in tsch-packet.c
2017-01-10 11:45:59 +01:00
Yasuyuki Tanaka
3dc74dc632
TSCH: fix a wrong return value
...
tsch_security_secure_frame() returns the length of MIC in case of
success. Otherwise, it is supposed to return 0. There was one case where
it returns 1 in an error handling block.
2017-01-10 11:45:59 +01:00
Yasuyuki Tanaka
35a1701236
TSCH: handle error cases returning -1 properly
...
- tsch_send_eb_process() in tsch-slot-operation.c
- tsch_rx_slot() in tsch.c
2017-01-10 11:45:59 +01:00
Yasuyuki Tanaka
0b81c0de18
TSCH: make *dest_addr const (tsch_packet_create_eack)
2017-01-10 11:45:59 +01:00
Yasuyuki Tanaka
667dd6a210
TSCH: put tsch_ prefix to definitions in the global scope
...
struct asn_t -> struct tsch_asn_t
struct asn_divisor_t -> tsch_asn_divisor_t
ASN_ macros -> TSCH_ASN_ macros
current_asn -> tsch_current_asn
2017-01-10 11:45:59 +01:00
Antonio Lignan
7d9134757f
Merge pull request #2004 from yatch/pr/tsch-security-update
...
Trivial Updates on tsch-security.[ch]
2017-01-10 11:23:55 +01:00
Antonio Lignan
82f3ce392e
Merge pull request #2028 from joakimeriksson/minimal-net-ND-fix
...
added support for 6-bytes link-layer address
2017-01-10 09:07:50 +01:00
Antonio Lignan
bfef0b5d6a
Merge pull request #2032 from simonduq/pr/tsch-ka-fix
...
TSCH bugfix: reset keep-alive timeout when switching time source
2017-01-10 08:47:30 +01:00
Nicolas Tsiftes
1537488e74
Merge pull request #2035 from simonduq/pr/csma-fix
...
CSMA bugfix: do not use field on a struct that may have been deallocated
2017-01-09 08:45:49 +01:00
Simon Duquennoy
0de3563ddb
CSMA bugfix: do not use field on a struct that may have been deallocated
2017-01-05 10:47:11 +01:00
Antonio Lignan
53efcec1fa
Merge pull request #1994 from yatch/pr/bugfix-framer802154-sender-addr
...
Bugfix on source address setting in framer_802154.create()
2017-01-04 14:10:57 +01:00
Simon Duquennoy
fe99f1144a
TSCH bugfix: reset keep-alive timeout when switching time source
2017-01-04 11:01:46 +01:00
Joakim Eriksson
cbf4a843e2
fixed comment.
2016-12-29 22:49:01 +01:00
Yasuyuki Tanaka
4faf139523
TSCH: change the return type of the APIs (tsch-security.h)
...
The return type is changed to "int" to "unsigned int" because APIs
provided by tsch-security are supposed to return an integer larger than
or equal to zero. This change clarifies that.
2016-12-15 19:32:22 +01:00
Yasuyuki Tanaka
da853386a6
TSCH: fix indentation in tsch-packet.c
2016-12-15 19:32:04 +01:00
Yasuyuki Tanaka
38ff8e5283
TSCH: add brief API explanations (tsch-security.h)
2016-12-15 19:16:28 +01:00
Yasuyuki Tanaka
5186fa2ef1
TSCH: set PACKETBUF_ADDR_SENDER before NETSTACK_framer.create()
2016-12-15 15:10:15 +01:00
Yasuyuki Tanaka
da29a5f8e3
ContikiMAC: set PACKET_ADDR_SENDER in qsend_list()
2016-12-15 15:10:15 +01:00
Yasuyuki Tanaka
586fb9a7fe
framer-802154: bugfix on source address setting
2016-12-15 15:10:15 +01:00
Yasuyuki Tanaka
aa1f408825
packetbuf: add packetbuf_remaininglen()
...
packetbuf_freelen() returns the length of free space in packetbuf.
2016-12-14 14:19:46 +01:00