Tobias Heider
3b5860451c
gnrc/sock: fix fallthrough warning ( #7403 )
...
* gnrc/sock: fix fallthrough warning
* gnrc/sock: added spaces around "Fall Through."
2017-07-25 21:12:30 +02:00
Martine Lenders
d9bb94eff8
Merge pull request #7183 from miri64/gnrc_pktbuf/enh/fix-common-module
...
gnrc_pktbuf: move common auxiliary functions to common module
2017-07-15 17:07:26 +02:00
b80c249d2c
sys/netopt: add new enum types for LoRa
2017-06-30 18:59:49 +02:00
Hauke Petersen
91ff52a897
net/emcute: use size_t for length comparisons
2017-06-28 22:52:34 +02:00
Hauke Petersen
ae367e5537
net/emcute: check value of length field before use
2017-06-28 22:51:39 +02:00
Sebastian Meiling
9ce9dd601c
Merge pull request #6554 from zhuoshuguo/lwmac_retry
...
LWMAC: A simple duty cycling 802.15.4 MAC protocol (2nd try).
2017-06-26 12:50:44 +02:00
e71bf07a68
Merge pull request #7223 from kb2ma/gcoap/confirm_piggy_server
...
net/gcoap: Provide piggybacked ACK response to confirmable request
2017-06-24 21:47:37 +02:00
Ken Bannister
7c0374b975
Reject incoming empty message type as not handled yet
2017-06-22 12:57:34 -04:00
zhuoshuguo
e5d8dde920
gnrc_priority_queue: updated coding style.
2017-06-22 11:36:55 +02:00
Ken Bannister
19ba56b96f
net/gcoap: Add server piggybacked ACK response to a CON request
2017-06-21 22:47:08 -04:00
zhuoshuguo
a54655890e
LWMAC: a simple duty cycling 802.15.4 MAC protocol.
2017-06-21 16:40:04 +02:00
b70a4885f4
Merge pull request #7203 from zhuoshuguo/fix_gnrc_mac_coding_style
...
gnrc_mac: update coding style.
2017-06-21 15:02:39 +02:00
zhuoshuguo
83e1385683
gnrc_mac: updated coding style.
2017-06-19 10:15:41 +02:00
Ken Bannister
aa2f97c80f
net/gcoap: Protect update to open requests with mutex.
2017-06-18 06:29:43 -04:00
Ken Bannister
24b21dbfbc
net/gcoap: Protect message ID state with atomic updates.
...
Also changed semantics for storage of message ID, from last ID to next ID.
This change provides idiomatic use of the return value of the atomic
function, without other side effects on gcoap.
2017-06-18 06:16:15 -04:00
Martine Lenders
f51e4ca767
fixup! gnrc_pktbuf: move common auxiliary functions to common module
2017-06-15 15:15:02 +02:00
Martine Lenders
b32200e3ad
gnrc_ipv6_nib: fix caching mechanism of neighbor cache
2017-06-15 11:40:46 +02:00
Martine Lenders
d8336c38b6
gnrc_pktbuf: move common auxiliary functions to common module
...
The packet buffer was originally designed to have a replaceable
back-end. This is why the actual module is called `gnrc_pktbuf_static`.
However, since than some auxiliary functions snuck into the static
back-end, which should go into the common module (which is a
pseudo-module at the moment).
This fix makes the `gnrc_pktbuf` pseudo-module an actual module and
moves the auxiliary functions to that module.
2017-06-14 12:24:56 +02:00
Cenk Gündoğan
72c3c9cf6a
Merge pull request #6325 from miri64/gnrc_ipv6_nib/feat/internal
...
gnrc_ipv6_nib: initial import of internal NIB functions
2017-06-09 22:05:47 +02:00
Martine Lenders
e92f97cb12
gnrc_ipv6_nib: initial import of internal NIB functions
2017-06-09 21:52:37 +02:00
Martine Lenders
0b42721511
Merge pull request #7155 from zhuoshuguo/gnrc_mac_use_csma_sender
...
gnrc_mac: use csma_sender API when needed for csma transmission
2017-06-09 17:48:37 +02:00
zhuoshuguo
7565cd1d10
gnrc_mac: use software csma when needed.
2017-06-09 16:45:24 +02:00
Martine Lenders
1a4c01a912
Merge pull request #7138 from gebart/pr/netopt-ed-level
...
netopt: Add NETOPT_LAST_ED_LEVEL
2017-06-09 10:34:33 +02:00
BytesGalore
89716729c8
Merge pull request #7161 from cgundogan/pr/trickle_enhancements
...
trickle: enhancements
2017-06-09 09:15:54 +02:00
Cenk Gündoğan
04d89d3381
rpl: adjust to trickle enhancements
2017-06-09 09:03:24 +02:00
Joakim Nohlgård
533542314d
netopt: Add NETOPT_LAST_ED_LEVEL
2017-06-09 07:14:58 +02:00
Cenk Gündoğan
6add982d3f
rpl: send dis near parent timeout
2017-06-08 21:46:06 +02:00
Cenk Gündoğan
935292ce44
gcoap: make stack size configurable
2017-06-07 08:20:35 +02:00
Hauke Petersen
7ba22cfbf8
net/gcoap: added some additional debug output
2017-06-01 11:13:15 +02:00
Cenk Gündoğan
3921fc86a7
Merge pull request #6901 from BytesGalore/rpl_drop_dao_ack_on_mc
...
rpl: drop DAO-ACK when received via multicast
2017-05-30 21:28:58 +02:00
BytesGalore
da38b77ba4
rpl: drop DAO-ACK when received on multicast
2017-05-30 18:05:00 +02:00
Cenk Gündoğan
6065be76e1
ndp: warn gcc-7 about intentional fall-through
...
Since gcc-7 `Wimplicit-fallthrough` is activated by using `-Wextra`.
This leads to the following problem when compiling `gnrc_networking`:
```
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c: In function ‘gnrc_ndp_internal_set_state’:
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c:106:15: error: this statement may fall through [-Werror=implicit-fallthrough=]
t = ipv6_iface->reach_time;
~~^~~~~~~~~~~~~~~~~~~~~~~~
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c:109:9: note: here
case GNRC_IPV6_NC_STATE_DELAY:
^~~~
```
The fall-through in this code is intentional. There are several ways to
warn the comiler about such intentional fall-throughs, which include
e.g. attributed empty statements (`__attribute__ ((fallthrough));`).
I don't like tis approach however. The best way would probably be to
remove this fall-through from the code. However, to keep the diff
minimal, and since ndp will change in the future, I went for warning
the compiler using comments.
The compiler checks comments for several *fall through* regexs to
decide whether a fallthrough was intentional or not.
You can read more about this gcc option in [1]. A note about
fallthrough comment regexs is at the bottom of this article.
[1] https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/
2017-05-30 14:23:37 +02:00
Hauke Petersen
bb90e293a2
net/gcoap: make input parameters const
2017-05-26 16:34:40 +02:00
Martine Lenders
d4693648ba
Merge pull request #7095 from kaspar030/add_headerguard_check_script
...
dist: tools: add headerguard check script
2017-05-24 18:08:29 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
Ken Bannister
9d37be2729
gcoap: Add server-side Observe registration and notifications.
2017-05-23 17:55:04 -04:00
Hauke Petersen
ba5635889c
net/gcoap: make gcoap_op_state return count directly
2017-05-22 13:50:59 +02:00
Hauke Petersen
cd4109100f
net/gcoap: fixed coding style issue
2017-05-22 13:47:36 +02:00
Hauke Petersen
31dfe382a3
net/gnrc/eth: enable filtering of L2 addresses
2017-05-18 15:24:25 +02:00
Hauke Petersen
145e4761c1
net/gnrc/802154: enable filtering of L2 addresses
2017-05-18 15:24:25 +02:00
Hauke Petersen
e8b0e0b9e7
net: added L2FILTER option to netopt
2017-05-18 15:24:25 +02:00
Hauke Petersen
fdadfe279c
net: added link layer address filter module
2017-05-18 15:24:25 +02:00
Martine Lenders
1fdad5b184
gnrc_tcp: fix return on closed state
2017-05-17 18:39:38 +02:00
Sebastian Meiling
f0ae5d2dd8
Merge pull request #6969 from brummer-simon/gnrc_tcp-replace_msg_queue
...
gnrc_tcp: improvement: Replace tcbs msg queue with mbox
2017-05-17 15:13:03 +02:00
Sebastian Meiling
9944642f92
Merge pull request #6997 from brummer-simon/gnrc_tcp-abort_call
...
gnrc_tcp: improvement: abort() - call
2017-05-17 15:08:12 +02:00
Simon Brummer
42e15ed7c4
gnrc_tcp: improvement: Replace tcbs msg queue with mbox
2017-05-17 13:02:52 +02:00
Simon Brummer
b08b12ec8f
gnrc_tcp: improvement: abort() - call
2017-05-17 13:01:28 +02:00
smlng
1be74bc7a5
gnrc, tcp: set param THREAD_CREATE_STACKTEST for mem stats in ps
2017-05-15 13:16:18 +02:00
f5a4124866
Merge pull request #6976 from miri64/conn/cleanup/rm
...
net: remove conn API
2017-05-12 16:09:00 +02:00
smlng
cc24aab5a5
gnrc, tcp: fix assert
2017-05-12 09:39:25 +02:00