Martine Lenders
9ce5a5b02c
Merge pull request #6083 from miri64/gnrc_sock_ip/fix/fix-memcpy-type
...
gnrc_sock_ip: fix memcpy()/memset() sizeof-type
2016-11-09 22:38:06 +01:00
Martine Lenders
653e36277c
gnrc_sock_ip: fix memcpy()/memset() sizeof-type
...
The type in the `sizeof()` is just plain wrong. This fixes it.
2016-11-09 21:24:28 +01:00
e0164660eb
Merge pull request #6064 from miri64/gnrc_sixlowpan_nhc/fix/forwarding
...
gnrc_sixlowpan_nhc: fix forwarding case
2016-11-09 15:56:21 +01:00
Martin Elshuber
b582e64b09
gnrc_sixlowpan_iphc.c: Updated comments some logic
2016-11-08 13:04:12 +01:00
Martin Elshuber
faa47a0e03
gnrc_sixlowpan_iphc: Fixed encoding when COMP=0
...
Summary:
Even ehen COMP is cleared, the algorithm always elides part of the address when a matching
context is found.
This behviour occurs because in the line
if ((src_ctx != NULL) || ipv6_addr_is_link_local(&(ipv6_hdr->src)))
the COMP bit is not tested.
This patch fixes the problem by setting [src|dst]_ctx to NULL if the
context must not be used.
2016-11-07 19:53:04 +01:00
Martine Lenders
1605b506c9
gnrc_sixlowpan_nhc: fix forwarding case
2016-11-07 15:46:56 +01:00
Martine Lenders
dc907b76fa
gcoap: use generic netreg initializers
...
PR #5526 introduced mbox support for netreg so using these functions
is now required.
2016-11-03 12:56:58 +01:00
Martine Lenders
6dac4bd530
Merge pull request #5950 from zhuoshuguo/add_packet_queue_module_to_gnrc_mac
...
gnrc: Add priority packet queue module to gnrc
2016-11-01 07:45:31 +01:00
Ken Bannister
f3431fb49e
gcoap: initial commit
2016-10-31 22:41:52 -04:00
zhuoshuguo
0ebe2a0309
gnrc: add priority packet queue module.
2016-10-31 16:53:01 +01:00
Martine Lenders
60d7b7efa2
gnrc_sock_udp: fixed minor bug
2016-10-30 18:48:41 +01:00
Martine Lenders
eb50b33fb5
gnrc_sock: actually **bind** implicitly
2016-10-29 20:58:27 +02:00
Martine Lenders
9508c8f5a5
tests: provide gnrc_sock_ip tests
2016-10-26 15:20:39 +02:00
Martine Lenders
1a6ebf2aae
gnrc_sock_ip: provide port for sock_ip
2016-10-26 15:20:39 +02:00
Martine Lenders
b971c575ad
gnrc_sock_udp: provide port for sock_udp
2016-10-26 15:20:38 +02:00
Martine Lenders
0016463687
all: fix for new netreg_entry_t structure
2016-10-25 22:17:18 +02:00
Martine Lenders
97adff5eac
gnrc_netreg: add arbitrary callback support
2016-10-25 21:35:57 +02:00
Martine Lenders
b84d955921
gnrc_netreg: add mbox support
2016-10-25 21:31:54 +02:00
Hauke Petersen
bc232a5642
Merge pull request #5524 from miri64/gnrc_netreg/api/helper-macro
...
gnrc_netreg: introduce helper macro/function for entry init
2016-10-25 21:21:25 +02:00
Martine Lenders
dc45cd2610
gnrc: use new netreg helper functions everywhere
2016-10-25 18:47:30 +02:00
Dennis Kirsch
8c25ffeba8
gnrc_netif_hdr: Fix debug output format of if_pid, rssi and lqi
2016-10-17 10:11:08 +02:00
Peter Kietzmann
359f3b5fc7
Merge pull request #5897 from miri64/ieee802154/enh/cleanup
...
ieee802154: clean-up (Intra-PAN behavior + broadcast)
2016-10-04 14:10:00 +02:00
DipSwitch
6a484d19cb
ndp: fix debug in message in gnrc_ndp_internal_send_nbr_sol
2016-10-03 11:56:22 +02:00
Martine Lenders
a0454b3787
ieee802154: remove need for IEEE802154_BCAST flag
2016-09-30 14:57:05 +02:00
Martine Lenders
ff2f9983f0
Merge pull request #5880 from OlegHahm/fix_debug_newlines
...
debug: add missing line breaks
2016-09-28 15:21:28 +02:00
Martine Lenders
6f0018f66a
Merge pull request #5694 from miri64/gnrc/enh/0-length-payload
...
gnrc_pktbuf: allow for 0-sized payload snips
2016-09-28 07:09:23 +02:00
Oleg Hahm
b428979a1d
debug: add missing line breaks
2016-09-27 23:38:41 +02:00
Martine Lenders
5dad8f1edd
gnrc_pktbuf: allow for 0-sized payload snips
2016-09-27 21:49:57 +02:00
Cenk Gündoğan
ad6677b33f
gnrc_rpl: netstats_rpl: introduce statistics
2016-09-27 20:40:04 +02:00
Martine Lenders
9874a6d69a
Merge pull request #5811 from makomi/gnrc
...
sys/net/gnrc: fix cppcheck errors/ warnings
2016-09-05 13:06:04 +02:00
Matthias Kolja Miehl
95baea86d6
sys/net/gnrc: gnrc_zep: fix nullPointer error
2016-09-05 02:24:11 +02:00
Matthias Kolja Miehl
0e1d749340
sys/net/gnrc: gnrc_rpl_control_messages: fix variableScope
2016-09-05 02:24:05 +02:00
Matthias Kolja Miehl
b108a57637
sys/net/gnrc: gnrc_ipv6_ext: fix variableScope
2016-09-05 02:23:59 +02:00
Martine Lenders
b43ffab953
Merge pull request #5515 from miri64/csma_sender/fix/adaptations
...
csma_sender: fixes and adaptions
2016-09-02 10:12:38 +02:00
Martine Lenders
dd7fb1c63b
Merge pull request #5228 from OlegHahm/gnrc_ipv6_hdr_get
...
gnrc ipv6: convenient function to get the header
2016-09-01 23:16:49 +02:00
Peter Kietzmann
cd548cad46
Merge pull request #5751 from miri64/gnrc_udp/fix/consider-netif-hdr
...
gnrc_udp: consider netif header in send dispatch
2016-08-30 23:10:13 +02:00
Martine Lenders
9ba68cc88d
Merge pull request #5749 from miri64/gnrc_udp/fix/missing-duplication
...
gnrc_udp: add missing duplitation step
2016-08-30 22:35:00 +02:00
smlng
c1fe8d5d9d
gnrc_rpl: fix prefix length
2016-08-25 16:35:17 +02:00
Martine Lenders
2c5fbab3ff
Merge pull request #5525 from miri64/gnrc/enh/dispatch-send
...
gnrc: use gnrc_netapi_dispatch_send() instead of manual iteration
2016-08-25 14:21:19 +02:00
Martine Lenders
bd230d3b63
gnrc_ipv6: gnrc_icmpv6: use dispatch_receive helper function
2016-08-18 13:25:07 +02:00
Martine Lenders
b869102450
gnrc_udp: consider netif header in send dispatch
2016-08-15 19:33:50 +02:00
Martine Lenders
af180ef2f1
gnrc_udp: add missing duplitation step
2016-08-15 17:23:19 +02:00
Martine Lenders
72d177074b
gnrc: use gnrc_netapi_dispatch_send() instead of manual iteration
2016-08-12 14:06:58 +02:00
Martine Lenders
d587046462
Merge pull request #5551 from miri64/gnrc_ipv6/enh/copy-flags
...
gnrc_ipv6: copy user flags from old netif headers
2016-08-05 14:09:31 +02:00
Martine Lenders
f844008a12
gnrc_netif_hdr: print flags
2016-07-26 21:06:36 +02:00
Martine Lenders
6d72cdb595
gnrc_ipv6: copy user flags from old netif headers
...
Upper layers might want to utilize the flags (e.g. to tell 6LoWPAN to elide
UDP checksums). This change allows for this by copying non-addressing related
flags to the address resolution generated netif header from the user generated
netif header.
2016-07-26 21:06:36 +02:00
Oleg Hahm
a2b9defc8b
gnrc ipv6: convenient function to get the header
2016-07-22 16:34:52 +02:00
ec897a868c
core, gnrc_netreg: remove redundant or unneeded clist.h include
2016-07-18 13:17:31 +02:00
Martine Lenders
e9bbd54f58
Merge pull request #5033 from Yonezawa-T2/validate_ipv6_size
...
gnrc_ipv6: validates payload size
2016-06-07 17:50:28 +02:00
Yonezawa-T2
0de34c91c6
gnrc_ipv6: validates payload size
2016-06-07 10:01:23 +09:00