1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

121 Commits

Author SHA1 Message Date
Martine Lenders
4d5d65a718 Merge pull request #3534 from cgundogan/pr/ng_pktbuf_static/minor_style_fix
ng_pktbuf_static: remove unnecessary parens
2015-07-31 19:45:07 +02:00
Cenk Gündoğan
aec0a703c6 ng_pktbuf_static: remove unnecessary parens 2015-07-31 19:14:49 +02:00
Cenk Gündoğan
b475bfd8f0 ng_pktbuf_static: enhance _pktbuf_contains 2015-07-31 18:44:39 +02:00
Martine Lenders
3d9945667f Merge pull request #3496 from authmillenon/ng_pktbuf/enh/new_default
ng_pktbuf: new default packet buffer implementation
2015-07-29 02:08:46 +02:00
Martine Lenders
377f5ccbee gnrc: replace ng_pktbuf_add() with ng_pktbuf_mark() where it's needed 2015-07-29 00:47:30 +02:00
Martine Lenders
9e823076f4 ng_pktbuf: new default packet buffer implementation 2015-07-29 00:47:30 +02:00
Hauke Petersen
bce198ebf8 net: removed deprecated non-gnrc netapi 2015-07-28 23:10:21 +02:00
Oleg Hahm
03b7c7349a Merge pull request #3457 from authmillenon/gnrc/api/rename-netconf
gnrc: rename ng_netconf to ng_netopt
2015-07-28 18:21:09 +02:00
Martine Lenders
de7dc143b7 ng_netapi: piggy-back cppcheck catch 2015-07-28 13:33:24 +02:00
Martine Lenders
6f56b983f0 gnrc: replace all instances of ng_netconf with ng_netopt 2015-07-28 13:33:12 +02:00
Martine Lenders
3a47459ca0 ng_pktbuf: provide more detailed information in packet buffer stats 2015-07-22 23:20:23 +02:00
Martine Lenders
16e10b46cf ng_pktbuf: handle size == pkt->size case for ng_pktbuf_add() 2015-07-13 20:18:56 +02:00
Martine Lenders
d1b34aec35 ng_pktbuf: fix possible packet corruption in case of internal error
Fixes #3365
2015-07-11 12:21:40 +02:00
Martine Lenders
a04becb4f8 ng_pktbuf: fix debug output for _pktbuf_add_unsafe 2015-07-09 12:31:58 +02:00
Peter Kietzmann
c3814a7127 Merge pull request #3316 from authmillenon/ng_pktbuf/fix/align
ng_pktbuf: fix alignment overwrite issue
2015-07-08 10:49:26 +02:00
Martine Lenders
3b133811d6 ng_pktbuf: fix alignment overwrite issue
Currently it can happen if there is a spot of size `n` free that a chunk
of size `n + 1` is inserted, if `n` is devisable by the word length of
the platform. This patch fixes this issue.
2015-07-07 17:02:23 +02:00
Joakim Gebart
767d3eb4df sys/net/crosslayer/ng_netif/hdr/ng_netif_hdr_print.c: Add missing inttypes.h include 2015-07-07 09:47:26 +02:00
Martine Lenders
75ff56a21f Merge pull request #3247 from authmillenon/ng_nettest/fix/bugfixes
ng_nettest: some fixes
2015-07-02 14:29:28 +02:00
Martine Lenders
74eac9b144 ng_nettest: change function prototypes to allow for exp_pkts == 0 2015-07-02 13:35:00 +02:00
Martine Lenders
871a6f9cde ng_nettest: some fixes 2015-07-02 13:35:00 +02:00
Martine Lenders
ad6c02b349 ng_inet_csum: fix double-wrap around of carry 2015-07-02 12:06:31 +02:00
Martine Lenders
6687bbaea6 ng_inet_csum: add debug output 2015-07-01 18:25:40 +02:00
Martine Lenders
59f62e5366 ng_netapi: centralize packet dispatchment for RCV and SND 2015-07-01 12:38:59 +02:00
Oleg Hahm
b85f076027 Merge pull request #3098 from authmillenon/ng_nettest/feat/initial
ng_nettest: initial import of a ng_netapi test framework
2015-06-23 17:02:11 +02:00
Martine Lenders
f28c5041eb ng_nettest: initial import of a ng_netapi test framework 2015-06-23 15:22:55 +02:00
6b2774640e sys: net: ng_pktdump: add missing errno.h
file misses "ENOTSUP" otherwise
2015-06-18 13:28:39 +02:00
René Kijewski
98aec32f6b ng_netif: more formats for ng_netif_addr_from_str 2015-06-13 13:38:11 +02:00
René Kijewski
7d3d8dee21 ng_netif: make const what is const 2015-06-12 21:53:59 +02:00
René Kijewski
5eed801072 ng_netif: non-destructive ng_netif_addr_from_str 2015-06-12 21:53:59 +02:00
Martine Lenders
46a0fe6cdd pktdump: add 6LoWPAN dump 2015-06-05 16:14:56 +02:00
Hauke Petersen
3967f48852 net/ng_pktdump: added printing of udp header 2015-06-05 09:47:53 +02:00
Martine Lenders
aa3452063d Merge pull request #3089 from authmillenon/pktbuf/enh/debug-output
ng_pktbuf: add DEBUG output
2015-06-02 21:20:14 +02:00
Martine Lenders
c6af1b2c21 Merge pull request #3092 from authmillenon/ng_pktbuf/fix/some-fixes
ng_pktbuf: Some fixes
2015-06-02 18:32:57 +02:00
Martine Lenders
76f80939f5 ng_pktbuf: add DEBUG output 2015-06-02 17:33:41 +02:00
Cenk Gündoğan
16cdeb8759 ng_netif: clear out buffer before creating output 2015-05-28 20:05:16 +02:00
Martine Lenders
1168544e6b ng_pktbuf: don't use atomic_dec() 2015-05-27 15:37:31 +02:00
Martine Lenders
9cea4b6618 ng_pktbuf: only duplicate header 2015-05-27 15:37:14 +02:00
Oleg Hahm
e857ca7f51 Merge pull request #2933 from gebart/pr/atomic-set-return-deprecated
core: remove atomic_set_return
2015-05-27 12:33:39 +02:00
Joakim Gebart
6821350835 ng_pktbuf: Use atomic_dec instead of atomic_set_return 2015-05-26 21:23:49 +02:00
Lotte Steenbrink
e203eae8c6 ng_netif: don't shift entries upon remove 2015-05-26 10:33:09 -07:00
Martine Lenders
350b040d72 ng_netif: adapt ng_netif_get for holey lists 2015-05-25 22:02:44 +02:00
Lotte Steenbrink
487064e51a ng_netif: don't add duplicates
prevent ng_netif_add() from adding duplicates as described in https://github.com/RIOT-OS/RIOT/issues/2965
2015-05-19 08:56:11 -07:00
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
Martine Lenders
ec61db5234 netif_hdr: print 0-length L2 addresses correctly 2015-05-08 19:08:21 +02:00
Oleg Hahm
d1bfa2f2ff Merge pull request #2555 from authmillenon/ng_icmpv6/feat/initial
ng_icmpv6: Initial import
2015-05-01 11:37:42 +02:00
Martine Lenders
591ef1826f ng_icmpv6: Initial import 2015-05-01 08:29:01 +02:00
Martine Lenders
cba4e5b8f1 pktdump: fix printf formatting
%zu would be the correct format string for `size_t`, but with nano-specs
this is not outputted.
2015-04-28 21:16:47 +02:00
Martine Lenders
067a3498c5 netif_hdr: add print function 2015-04-28 21:16:47 +02:00
Martine Lenders
32e27c3ff3 ipv6_hdr: add print function 2015-04-28 21:16:47 +02:00
haukepetersen
e66e1dcfbe net/ng_netreg: added include of ng_udp.h 2015-04-26 21:53:07 +02:00