Joakim Gebart
64b948f0e9
sys/net/network_layer/ng_ndp: Add missing inttypes.h include
2015-07-07 09:48:11 +02:00
Joakim Gebart
b1dcd89390
sys/net/network_layer/ng_ipv6/nc: Add missing inttypes.h include
2015-07-07 09:47:53 +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
Joakim Gebart
5c5b644602
sys/net/transport_layer/ng_udp: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
8fc1a656fa
sys/shell/commands: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
c2aa2aa91f
sys/net/link_layer/ng_nomac: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
b35c2782da
sys/net/link_layer/net_if: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
6577d21049
sys/net/ccn_lite: Add missing inttypes.h include
2015-07-07 00:53:27 +02:00
Joakim Gebart
aaeaa968e6
sys/net/application_layer/ng_zep: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Joakim Gebart
8f2da1d3d0
sys/net/routing/aodvv2: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Joakim Gebart
de3bd08798
sys/net/network_layer/fig: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Joakim Gebart
299e0eae03
sys/net/network_layer/ng_icmpv6: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Joakim Gebart
84114f3cc5
sys/net/network_layer/ng_ipv6: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Joakim Gebart
42cfa32077
sys/net/network_layer/ng_sixlowpan: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
adabd8c930
shell: let readline return an error on empty line so prompt gets print again
2015-07-06 11:33:44 +02:00
2d7642b8c1
shell: flush stdout after printing prompt
2015-07-06 09:53:29 +02:00
Oleg Hahm
6d0e68851c
doc: some fixes in 6LoWPAN documentation
2015-07-03 15:46:32 +02:00
Martine Lenders
4c5c0a87c9
ng_sixlowpan: clarify documentation
2015-07-03 00:26:04 +02:00
Martine Lenders
d450079348
ng_zep: add stability note
2015-07-02 15:47:20 +02:00
Martine Lenders
c5318336ae
net: intial import of the ZEP protocol
2015-07-02 15:47:19 +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
e6811e8c28
Merge pull request #3295 from authmillenon/ng_udp/doc/fix
...
ng_udp: fix documentation
2015-07-02 13:41:01 +02:00
Martine Lenders
715306b81c
Merge pull request #3294 from authmillenon/ng_pkt/doc/update
...
ng_pkt: update documentation
2015-07-02 13:37:19 +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
297f2cadcc
Merge pull request #3286 from authmillenon/ng_nomac/enh/use-dispatch-func
...
ng_nomac: use dispatch function
2015-07-02 13:22:33 +02:00
Martine Lenders
69992ee7eb
Merge pull request #3293 from authmillenon/ng_inet_csum/fix/wrap-around
...
ng_inet_csum: fix double-wrap around of carry
2015-07-02 12:55:27 +02:00
Martine Lenders
380c53c3e1
ng_udp: fix NULL pointer check in ng_udp_calc_csum
2015-07-02 12:20:55 +02:00
Martine Lenders
adb028361a
ng_udp: fix documentation
2015-07-02 12:20:55 +02:00
Martine Lenders
dac1307401
ng_pkt: update documentation
2015-07-02 12:19:37 +02:00
Martine Lenders
90d3af596e
ng_nomac: piggy-back some indentation fixes
2015-07-02 12:08:43 +02:00
Martine Lenders
dae00a81fb
ng_nomac: use dispatch function
2015-07-02 12:08:42 +02:00
Martine Lenders
ad6c02b349
ng_inet_csum: fix double-wrap around of carry
2015-07-02 12:06:31 +02:00
Peter Kietzmann
5788af1b90
Merge pull request #3292 from authmillenon/ng_ipv6_hdr/fix/off-by-one
...
ng_ipv6_hdr: fix for initial sum overflow
2015-07-02 11:22:48 +02:00
Martine Lenders
0465b83b7c
ng_ndp: cache determined next-hop in FIB
2015-07-01 22:34:12 +02:00
Martine Lenders
4a2af80e22
Merge pull request #3289 from authmillenon/ng_inet_csum/enh/add_debug_output
...
ng_inet_csum: add debug output
2015-07-01 21:37:30 +02:00
Martine Lenders
6687bbaea6
ng_inet_csum: add debug output
2015-07-01 18:25:40 +02:00
Martine Lenders
bf67751e15
ng_ipv6_hdr: fix for initial sum overflow
2015-07-01 17:49:43 +02:00
Oleg Hahm
5cab734d78
Merge pull request #3260 from gebart/pr/vtimer-remove-before-add
...
sys/vtimer: Remove timer before adding.
2015-07-01 15:31:57 +02:00
Martine Lenders
773ecc3615
ng_ipv6: remove redefinition of ifnum
2015-07-01 13:30:09 +02:00
Peter Kietzmann
fb6440c397
Merge pull request #2893 from authmillenon/ng_net/enh/centralize-dispatch
...
ng_netapi: centralize packet dispatchment for RCV and SND
2015-07-01 13:19:13 +02:00
Martine Lenders
56b4af60fd
Merge pull request #3245 from authmillenon/ng_ipv6/fix/multicast-multi-iface
...
ng_ipv6: fix behavior for multicast over multiple interfaces
2015-07-01 13:05:14 +02:00
Martine Lenders
3238ccd47e
Merge pull request #3159 from authmillenon/ng_net/feat/iid
...
ng_net: add IID option and simplify upper layers accordingly
2015-07-01 12:47:49 +02:00
Martine Lenders
4065e5ae05
ng_udp: use new netapi function
2015-07-01 12:38:59 +02:00
Martine Lenders
018dbb04b8
ng_sixlowpan: use new netapi functions
2015-07-01 12:38:59 +02:00
Martine Lenders
59f62e5366
ng_netapi: centralize packet dispatchment for RCV and SND
2015-07-01 12:38:59 +02:00
Martine Lenders
ba75602f14
ng_ipv6: fix behavior for multicast over multiple interfaces
2015-07-01 12:36:45 +02:00
Martine Lenders
cda934d2e1
ng_ipv6/netif: fix dereference interface correctly
2015-06-30 22:43:15 +02:00
Cenk Gündoğan
3162ca5408
Merge pull request #3272 from authmillenon/ng_ndp/fix/fib_get_next_hop
...
ng_ndp: fix ng_ndp_get_next_hop() for FIB fix in #3250
2015-06-30 18:13:17 +02:00
Hauke Petersen
a86f49a1e4
Merge pull request #3276 from haukepetersen/fix_vtimer_getlocaltime
...
sys/vtimer: initialize all values in get_localtime
2015-06-30 17:50:07 +02:00
Oleg Hahm
fedb0e03be
Merge pull request #3226 from authmillenon/ng_ndp/enh/restructure-functions
...
ng_ndp: code restructuring
2015-06-30 17:41:45 +02:00
haukepetersen
b803438774
sys/shell: fixed percentage calc of ping6 shell cmd
2015-06-30 14:47:50 +02:00
haukepetersen
b7c23c8e5b
sys/vtimer: initialize all values in get_localtime
2015-06-30 13:23:14 +02:00
Lotte Steenbrink
6d1b1ad077
aodvv2: fix rreq route cost calculation
...
store targseqnum from rreq in the right substruct, calculate rreq route cost from targaddr metric.
2015-06-29 09:04:23 -07:00
Martine Lenders
1b4a05e5a8
ng_ndp: fix ng_ndp_get_next_hop() for FIB fix in #3250
2015-06-29 14:46:52 +02:00
Lotte Steenbrink
04719b326c
Merge pull request #3266 from Lotterleben/aodvv2_fix_warn
...
aodvv2: fix return values of reader helper functions
2015-06-29 12:13:47 +02:00
Benoît Canet
5e7ea2d9e4
msg: Fix incorrect queues initializations
...
From core/include/msg.h:
/**
* @brief Initialize the current thread's message queue.
*
* @param[in] array Pointer to preallocated array of ``msg_t`` structures, must
* not be NULL.
* @param[in] num Number of ``msg_t`` structures in array.
* **MUST BE POWER OF TWO!**
*
* @return 0, if successful
* @return -1, on error
*/
int msg_init_queue(msg_t *array, int num);
sizeof(array) does does not compute an array size. Replace calls to sizeof()
with proper values
Closes #3269 .
Fix two crashes in the tests and probably more in the network stack.
2015-06-29 06:58:24 +02:00
Philipp Rosenkranz
1913b7ea66
Merge pull request #3229 from Kijewski/chacha
...
sys: add ChaCha stream cipher and PRNG
2015-06-28 21:13:59 +02:00
René Kijewski
2cf4253710
sys: add ChaCha stream cipher and PRNG
...
This implementation is optimized for a little code and data size, not
for speed. IMO the code is more readable than in the reference
implementation.
The biggest advantage of ChaCha over other stream ciphers is the very
little data usage with only 64 bytes of context, and its good encryption
speed.
Also part of this PR is pseudo-random number generator, that just
returns the keystream of a randomly initialized ChaCha context.
2015-06-28 18:32:04 +02:00
Martine Lenders
d69d04320e
Merge pull request #3225 from authmillenon/ng_icmpv6_echo/fix/unit_conversion
...
ng_icmpv6_echo: fix time output on shell command
2015-06-28 17:57:22 +02:00
Hauke Petersen
59b158c006
Merge pull request #3250 from BytesGalore/fib_check_nullpointer_parameter
...
fib: added check for passing NULL pointers to `fib_get_next_hop()`
2015-06-26 12:02:12 +02:00
Lotte Steenbrink
de2296d524
aodvv2: fix return values of reader helper functions
2015-06-25 16:48:15 -07:00
Joakim Gebart
ffcf9521f0
Merge pull request #3053 from gebart/pr/fletcher
...
sys/hashes: Add Fletcher's checksums
2015-06-25 16:03:49 +02:00
Joakim Gebart
c30f71aa8a
sys/vtimer: Remove timer before adding.
...
Workaround for a bug which causes the same timer to be added twice.
2015-06-25 10:09:56 +02:00
Oleg Hahm
b16e3fa358
gnrc: remove duplicate nomac from Makefile
2015-06-24 15:00:00 +02:00
Oleg Hahm
4c37e54109
Merge pull request #3171 from cgundogan/fib_autoinit
...
fib: auto init
2015-06-24 09:33:52 +02:00
BytesGalore
db18e5760a
fib: added check for passing NULL pointers to fib_get_next_hop()
2015-06-24 09:05:24 +02:00
Martine Lenders
0103fa2e91
Merge pull request #3234 from authmillenon/ng_pktqueue/api/take-out-prio
...
ng_pktqueue: remove priority queue dependency
2015-06-23 23:47:52 +02:00
Martine Lenders
1c4af66c3a
ng_icmpv6_echo: fix time output on shell command
2015-06-23 23:44:32 +02:00
Martine Lenders
6b6c0c3322
Merge pull request #3241 from haukepetersen/ng_frag_send_missingreturn
...
net/ng_sixlowpan_frag: added missing return
2015-06-23 17:58:40 +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
Lotte Steenbrink
8f4dd8dc13
aodvv2: fix one-off metric bug
2015-06-23 07:13:16 -07:00
Martine Lenders
4a34635d14
ng_ndp: stop for loop over packet nodes earlier
2015-06-23 15:25:13 +02:00
Martine Lenders
f28c5041eb
ng_nettest: initial import of a ng_netapi test framework
2015-06-23 15:22:55 +02:00
Hauke Petersen
b2efe73f87
Merge pull request #3243 from BytesGalore/ndp_comment_on_fall_through
...
ndp: added a word why we fall through into `NG_IPV6_NC_STATE_DELAY`
2015-06-23 13:54:28 +02:00
BytesGalore
9082ffb70d
Merge pull request #3237 from haukepetersen/ng_fix_frag_sendnth_ptrcheck
...
net/ng_sixlowpan: fix check for pkt==NULL
2015-06-23 13:48:01 +02:00
BytesGalore
e08d7a4434
ndp: added a word why we fall through into NG_IPV6_NC_STATE_DELAY
2015-06-23 12:51:12 +02:00
haukepetersen
6a44f56939
net/ng_sixlowpan_frag: added missing return
2015-06-23 02:56:21 +02:00
haukepetersen
a38d881424
net/ng_sixlowpan: fix check for pkt==NULL
2015-06-23 02:07:33 +02:00
haukepetersen
80205b6749
net/ng_sixlowpan: fix check of pktbuf return val
2015-06-23 01:55:01 +02:00
haukepetersen
9370506a72
sys/hashes: added MD5 implementation
2015-06-22 21:43:28 +02:00
Martine Lenders
0ca2cb1c93
ng_ndp: use new pktqueue
2015-06-22 18:19:55 +02:00
Martine Lenders
72b17d9620
ng_ipv6_nc: use new pktqueue
2015-06-22 18:19:55 +02:00
Martine Lenders
837d97e963
ng_pktqueue: take out priorities
...
This patch also makes ng_pktqueue independent from `priority_queue`
2015-06-22 18:19:54 +02:00
Hauke Petersen
a4f3bf49d3
net/ng_udp: mark received payload as NETTYPE_UNDEF
2015-06-22 16:37:03 +02:00
Martine Lenders
1f8e1cbbf3
Merge pull request #3218 from haukepetersen/ng_fix_sixlowpan_static
...
net/ng_sixlowpan: declared private methods static
2015-06-22 15:57:48 +02:00
Cenk Gündoğan
dd7f6c4218
ng_ndp: remove vtimer before setting it again
2015-06-20 12:09:45 +02:00
Martine Lenders
245c51f821
ng_sixlowpan: piggy-back cppcheck suppression
2015-06-19 17:17:29 +02:00
Martine Lenders
74430228cb
ng_sixlowpan: add missing return
2015-06-19 17:13:10 +02:00
Martine Lenders
1e4f8b4837
ng_ndp: code restructuring
...
Some code restructuring to be in line with other code of similar format.
2015-06-19 15:42:43 +02:00
Martine Lenders
b3acefd340
ng_sixlowpan: write protect pkt
2015-06-19 14:52:51 +02:00
6b2774640e
sys: net: ng_pktdump: add missing errno.h
...
file misses "ENOTSUP" otherwise
2015-06-18 13:28:39 +02:00
Hauke Petersen
dc82b801ac
net/ng_sixlowpan: declared private methods static
2015-06-17 17:25:08 +02:00
Martine Lenders
f183197d56
ng_sixlowpan_iphc: use NETCONF_OPT_IPV6_IID and ng_ieee802154_get_iid
2015-06-15 12:32:14 +02:00
Martine Lenders
bd20b9975d
ng_ipv6_netif: use NETCONF_OPT_IPV6_IID initialization for init
2015-06-15 12:32:14 +02:00
Martine Lenders
bdb1b6036d
ng_netdev_eth: add NETCONF_OPT_IPV6_IID handler
2015-06-15 12:32:13 +02:00
Martine Lenders
aa46e9c14c
ng_ieee802154: Add IID generator
2015-06-15 12:32:13 +02:00
Martine Lenders
b70100fdd6
ng_ethernet: Add IID generator
2015-06-15 12:32:13 +02:00
Martine Lenders
1208b719a3
ng_netconf: add IID option
2015-06-15 12:32:13 +02:00
Martine Lenders
3a1070dc22
eui64: export type to own module
2015-06-15 12:32:13 +02:00
Hauke Petersen
7105fe2e4f
sys/uart0: changed signature of uart0_putc
2015-06-14 17:04:42 +02:00
Hauke Petersen
1eec484a30
sys/shell: changed signature of put_char pointer
...
changed from void(*put_char)(int) to int(*putchar)(int).
This is beneficial, as now the std-libs putchar can be given as
an argument to shell_init() directly.
2015-06-14 17:02:57 +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
76d923b35d
auto_init_ng_netif: fix DEBUG output for xbee
2015-06-11 19:51:09 +02:00
Martine Lenders
64303f663d
ng_ipv6: add demux debug output
2015-06-11 16:32:25 +02:00
Martine Lenders
b580ce1c13
ng_icmpv6_echo: add missing od.h include for DEBUG output
2015-06-11 16:32:06 +02:00
Cenk Gündoğan
2fda604ef3
ng_icmpv6: fix release of pkt
2015-06-11 13:49:01 +02:00
Cenk Gündoğan
da2cd90ff7
Merge pull request #3177 from authmillenon/ng_ndp/doc/nbr_adv_timer
...
ng_ndp: expand documentation on ng_ipv6_nc_t::nbr_adv_timer
2015-06-10 12:10:34 +02:00
Martine Lenders
2bdf22af97
ng_ndp: expand documentation on ng_ipv6_nc_t::nbr_adv_timer
2015-06-09 19:34:34 +02:00
Martine Lenders
f0134f613c
ng_ndp: fix neighbor advertisement handling
...
The setting of the states and reset of the retransmission timers is
broken in the current implementation. This patch fixes that behavior and
simplifies the code a little.
2015-06-09 19:05:36 +02:00
Cenk Gündoğan
c6af4c9a21
fib: auto init
2015-06-05 22:16:34 +02:00
Cenk Gündoğan
ece64548a6
Merge pull request #2818 from BytesGalore/fib_get_conditionlal_entry_set
...
sys/net/fib: added function to request a set of destination addresses
2015-06-05 22:07:22 +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
Hauke Petersen
70acc31675
net/ng_udp: added ng_udp_print_hdr() function
2015-06-05 09:47:52 +02:00
Hauke Petersen
853594df82
net/eth_netdev: fixed debug hex_dump condition
2015-06-04 16:00:56 +02:00
Hauke Petersen
d8532ea052
Merge pull request #3119 from gebart/pr/cortexm-clang
...
cortexm: Add support for building with LLVM/Clang
2015-06-04 12:03:14 +02:00
Martine Lenders
5e7de0821b
Merge pull request #3096 from OlegHahm/ng_nativenet_netdev_auto_foobar
...
ng_nativenet: auto initialization and improvements
2015-06-03 17:53:18 +02:00
Oleg Hahm
4d9f965159
auto_init: initialize ng_netdev_eth
2015-06-03 13:00:35 +02:00
Martine Lenders
e7fde544af
Merge pull request #3145 from authmillenon/ng_ipv6_netif/fix/debug
...
ng_ipv6_netif: fix debug output
2015-06-03 12:56:19 +02:00
rajithr
70fa494666
sixlowpan/ip: Fixing an out of bounds access issue reported by Coverity Scan
...
sixlowpan/ip: Fixing an out of bounds access issue reported by Coverity Scan
2015-06-03 10:29:43 +05:30
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
Joakim Gebart
29f4a1a211
vtimer: use hwtimer_set instead of hwtimer_set_absolute
2015-06-02 19:24:21 +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
9bb46e97b0
ng_ipv6_netif: fix debug output
2015-06-02 17:58:41 +02:00
Martine Lenders
76f80939f5
ng_pktbuf: add DEBUG output
2015-06-02 17:33:41 +02:00
BytesGalore
9079e30da0
sys/net/fib: added function to request a set of destination addresses
2015-06-02 16:42:47 +02:00
Cenk Gündoğan
bdc12b05cd
Merge pull request #2783 from BytesGalore/fib_support_all_zero_addr
...
net/network_layer/fib: corrected handling of all 0 addresses
2015-06-02 11:50:41 +02:00
Lotte Steenbrink
69437fdfa0
Merge pull request #3102 from BytesGalore/fib_compat_old_network_stack
...
ip: added a define to enable a FIB compatibility mode replacing `get_next_hop()`
2015-06-02 11:28:31 +02:00
Joakim Gebart
baf568f7e8
Merge pull request #3136 from kaspar030/make_newlib__read_r_thread_safe
...
sys: newlib: make _read_r thread safe
2015-06-01 22:08:53 +02:00
BytesGalore
b39afa8649
ip: added a define to enable a FIB compatibility mode replacing get_next_hop()
2015-06-01 17:31:45 +02:00
Joakim Gebart
d804969f35
Merge pull request #2515 from lightblu/master
...
sys/vtimer: Fix two vtimer issues (hwtimer tick conversion).
2015-06-01 15:40:06 +02:00
Joakim Gebart
f376bbc8f6
cortexm: Add support for building with LLVM/Clang
...
as an alternative to the default GCC toolchain.
export TOOLCHAIN=llvm
to build with Clang instead of GCC
2015-06-01 14:56:29 +02:00
5549d0493d
sys: newlib: remove _read_r() race
2015-06-01 14:27:13 +02:00
be50f8b9f9
sys: newlib: use double-lock scheme for uart ringbuffer
2015-06-01 12:13:36 +02:00
Peter Kietzmann
850cf33843
Merge pull request #3130 from gebart/pr/vtimer-debug
...
vtimer: Add forward declarations of debug functions
2015-05-31 20:17:16 +02:00
Joakim Gebart
f8d5b18fec
vtimer: Move ENABLE_DEBUG to before irq.h and priority_queue.h include
...
or else some debug functions will not be declared.
2015-05-31 17:19:02 +02:00
Peter Kietzmann
6dc0e789e1
Merge pull request #3101 from gebart/pr/warning-fixes
...
Various warning fixes
2015-05-31 17:03:49 +02:00
Joakim Gebart
1becd9a94e
vtimer: Add forward declarations of debug functions
2015-05-31 12:03:27 +02:00
Joakim Gebart
41e1b57624
Merge pull request #3100 from haukepetersen/opt_cortexm_init
...
cpu: centralized cortex initialization and some defines
2015-05-30 09:21:46 +02:00
Hauke Petersen
e2cb8e7c81
sys/uart0: include cpu.h in board_uart0.h
...
Some CPUs (e.g. cortex-m based ones) define the UART0_BUFSIZE
in cpu.h. So also include this file here.
2015-05-29 16:44:52 +02:00
3965e889e1
sys: bitfield.h: some fixes
2015-05-29 15:56:23 +02:00
Joakim Gebart
0eaeca3640
sys/newlib/syscalls: fix warnings
...
- rx_cb: unused-parameter
- _write_r: sign-compare
- all stubbed syscalls: unused-parameter
2015-05-29 14:23:01 +02:00
Peter Kietzmann
c839e65479
Merge pull request #3025 from OlegHahm/netconf_retransmit
...
netconf: at86rf231: configure maximum retransmits
2015-05-29 10:10:56 +02:00
Martine Lenders
4d89ac6d03
Merge pull request #3085 from authmillenon/ng_net/fix/printf-stacksize
...
ng_net: use printf-stack size where it is needed
2015-05-29 07:32:37 +02:00
Martine Lenders
df18566576
Merge pull request #3103 from cgundogan/ng_netif_addr_to_str
...
ng_netif: clear out buffer before creating output
2015-05-29 07:30:02 +02:00
Martine Lenders
5a8a4312de
ng_udp: piggy-back fix for coding conventions
2015-05-28 23:22:44 +02:00
Martine Lenders
3db17eedbf
ng_net: use printf-stack size where it is needed
2015-05-28 23:22:44 +02:00
Cenk Gündoğan
16cdeb8759
ng_netif: clear out buffer before creating output
2015-05-28 20:05:16 +02:00
a10beb25f4
Merge pull request #3105 from cgundogan/ng_netdev_eth_marshall
...
ng_netdev_eth: default to NG_ETHERTYPE_UNKNOWN when no payload avail.
2015-05-28 18:35:16 +02:00
Lotte Steenbrink
104ea3ceb1
Merge pull request #3091 from Lotterleben/fib_helper_fn
...
Fib helper fn
2015-05-28 18:33:23 +02:00
Cenk Gündoğan
4bda0f6f54
ng_netdev_eth: default to NG_ETHERTYPE_UNKNOWN when no payload avail.
2015-05-28 18:20:32 +02:00
4e569513e6
Merge pull request #3047 from haukepetersen/rename_cpuconf
...
global: renamed cpu-conf.h into cpu_conf.h
2015-05-28 17:49:55 +02:00
Martine Lenders
38d7eb3e81
Merge pull request #3026 from OlegHahm/bitfields
...
bitfield: introduce bitfields of arbitrary length
2015-05-28 17:03:00 +02:00
Hauke Petersen
b570f3c1cb
sys/ng_pktbuf: fixed doxygen
2015-05-28 15:45:05 +02:00
Hauke Petersen
9943f51080
global: renamed cpu-conf.h into cpu_conf.h
2015-05-28 15:45:05 +02:00
Oleg Hahm
76e4c820e5
ng_netconf: ng_at86rf2xx: set retransmissions
...
Introduces a netconf option to configure the maximum amount of
retransmissions and implements this for the at86rf2xx radios.
2015-05-28 13:35:36 +02:00
Oleg Hahm
2ab7565d99
bitfield: introduce bitfield operators
2015-05-28 13:27:41 +02:00
Oleg Hahm
c441e7d9f6
ng_ndp: remove warning
2015-05-27 22:02:12 +02:00
Martine Lenders
e56f5ae1ed
ng_netconf: define maximum number of options
2015-05-27 22:00:12 +02:00
Oleg Hahm
2e691cf565
auto_init: eliminated pedantic warnings
...
Otherwise pedantic complains:
Warning: ISO C forbids an empty translation unit
2015-05-27 21:52:49 +02:00
Martine Lenders
ae3d88fcae
Merge pull request #2806 from authmillenon/ng_sixlowpan_iphc/feat/initial
...
ng_sixlowpan: Initial import of IP header compression
2015-05-27 18:07:11 +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
Lotte Steenbrink
b7b384d052
Merge pull request #3090 from BytesGalore/fib_add_word_on_lifetime
...
fib: added a word on the lifetime of a FIB entry
2015-05-27 15:28:05 +02:00
BytesGalore
e174ce2c56
fib: added a word on the lifetime of a FIB entry
2015-05-27 14:44:55 +02:00
Martine Lenders
85bd69314c
Merge pull request #3084 from OlegHahm/ndp_fib_fix
...
ng_ndp: fix call to FIB
2015-05-27 14:22:43 +02:00
Oleg Hahm
fe462fe9f1
Merge pull request #3081 from OlegHahm/ping6_output_fix
...
ping6: fix output for nanospecs
2015-05-27 13:30:32 +02:00
Fabian Nack
1ccf1335fe
Merge pull request #2592 from fnack/nhdp_ext_metric
...
sys/nhdp: Add metric infrastructure and DAT metric computation
2015-05-27 13:07:13 +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
Oleg Hahm
15e12dd06b
ng_ndp: fix call to FIB
2015-05-27 11:57:54 +02:00
Martine Lenders
9a989264d8
ng_sixlowpan: initial import of IP header compression
2015-05-27 11:54:50 +02:00
Oleg Hahm
83e22a28af
ping6: fix output for nanospecs
2015-05-27 11:11:45 +02:00
Fabian Nack
5fbafbf8ad
sys/nhdp: Add link metric calculation
2015-05-27 11:05:13 +02:00
Oleg Hahm
64f3db7f3f
ng_ipv6: only try to parse ext header if enabled
2015-05-27 11:00:18 +02:00
Martine Lenders
41aad42d8f
Merge pull request #3074 from authmillenon/ng_ipv6_ext/fix/exit-early
...
ng_ipv6_ext: exit early on invalid size
2015-05-27 01:43:21 +02:00
Lotte Steenbrink
d14191467f
fib: add FIB_DEVEL_HELPER flag and fib_devel_get_lifetime()
2015-05-26 15:34:31 -07:00
Joakim Gebart
1f94a93fb8
sys/hashes: Add Fletcher's checksums
2015-05-26 23:11:30 +02:00
Joakim Gebart
e0098d408a
sys/include/hashes.h: Update include guard
2015-05-26 23:11:02 +02:00
Lotte Steenbrink
b7d58d0310
Merge pull request #3073 from Lotterleben/ng_netif_dont_shift
...
ng_netif: don't shift entries upon remove
2015-05-26 22:19:23 +02:00
Joakim Gebart
6821350835
ng_pktbuf: Use atomic_dec instead of atomic_set_return
2015-05-26 21:23:49 +02:00
Joakim Gebart
718664dacc
sys/posix/pthread: Use atomic_int_t to handle spin lock
2015-05-26 21:23:48 +02:00
1c91baed8b
sys: net: add ng_netdev_eth netdev driver for dev_eth based ethernet devices
2015-05-26 21:05:19 +02:00
Martine Lenders
475bfe6e5f
Merge pull request #2944 from authmillenon/ipv6_netif/opt/auto-init-addr
...
ipv6_netif: initialize device dependent values
2015-05-26 21:01:55 +02:00
Martine Lenders
e509c101fe
ng_ipv6_ext: exit early on invalid size
2015-05-26 20:20:02 +02:00
Martine Lenders
e3bdc53c37
Merge pull request #2898 from authmillenon/ng_ipv6_ext/feat/initial
...
ng_ipv6_ext: initial import of extension header handling (including RPL SRH)
2015-05-26 20:16:50 +02:00
Lotte Steenbrink
e203eae8c6
ng_netif: don't shift entries upon remove
2015-05-26 10:33:09 -07:00
Oleg Hahm
1bd5a82678
Merge pull request #3070 from authmillenon/ng_slip/fix/rename-params
...
ng_slip: rename xbee_params_t to ng_slip_params_t
2015-05-26 19:29:45 +02:00
cfd9a5905a
Merge pull request #2766 from kaspar030/add_dev_eth
...
sys: net: introduce low-level ethernet driver API
2015-05-26 19:28:14 +02:00
Martine Lenders
c29a4b474c
ng_slip: rename xbee_params_t to ng_slip_params_t
...
Fixed copy pasta
2015-05-26 18:59:40 +02:00
Martine Lenders
863304356c
shell: fix netif output
2015-05-26 18:46:49 +02:00
Martine Lenders
971ee86de6
ipv6_netif: initialize device dependent values
2015-05-26 18:46:49 +02:00
7a80d31589
sys: auto_init: add auto initialization for dev_eth
2015-05-26 15:37:55 +02:00
f8177def22
sys: net: dev_eth: add low-level ethernet driver interface
2015-05-26 15:37:55 +02:00
PeterKietzmann
837e57635a
ng_sixlowpan_netif: add ENABLE_DEBUG flag
2015-05-26 14:45:57 +02:00
a267274e84
sys: make newlib support a module
2015-05-26 10:45:40 +02:00
Martine Lenders
4310ab37ba
Merge pull request #3048 from authmillenon/ipv6_netif/fix/get-best-src-mc
...
ipv6_netif: fix ng_ipv6_netif_find_best_src_addr() for multicast
2015-05-25 23:19:20 +02:00
Martine Lenders
350b040d72
ng_netif: adapt ng_netif_get for holey lists
2015-05-25 22:02:44 +02:00
Martine Lenders
e93b8a11ed
ipv6_netif: fix ng_ipv6_netif_find_best_src_addr() for multicast
...
Without this fix ng_ipv6_netif_find_best_src_addr() will return :: for most
multicast addresses
2015-05-22 17:46:01 +02:00
Oleg Hahm
7be7e00ab9
Merge pull request #3042 from gebart/pr/doxygen-@file-remove-filename
...
everything: Remove filename from @file Doxygen command
2015-05-22 17:10:04 +02:00
Martine Lenders
65fb2cf676
Merge pull request #3036 from BytesGalore/ng_ndp_debug_print_fixes
...
ng_ndp: repaired debug for the ndp.c
2015-05-22 11:41:26 +02:00
Joakim Gebart
13832d8e62
everything: Remove filename from @file Doxygen command
2015-05-22 07:34:41 +02:00
BytesGalore
ab663ba046
net/network_layer/fib: corrected handling of all 0 addresses
2015-05-21 20:11:30 +02:00
Lucas Jenss
426170b064
Improve naming of thread stacksize/priority constants
...
As discussed in #2725 , this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:
* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
BytesGalore
40336daa1a
ng_ndp: repaired debug for the ndp.c
2015-05-20 11:59:57 +02:00
Johann Fischer
b0e73b9a8c
Merge pull request #2983 from jfischer-phytec-iot/pr@kw2x-rf-autoinit
...
boards/pba-d-01-kw2x: add network interface auto init
2015-05-20 10:00:23 +02:00
BytesGalore
0492664081
Merge pull request #3013 from gebart/pr/rpl-global-repair-version
...
sys/net/routing/rpl: Remove redundant self-assign in rpl global repair
2015-05-20 07:19:00 +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
Lucas Jenß
29552fba44
Merge pull request #3029 from authmillenon/ng_ndp/fix/doc
...
ng_ndp: fix documentation
2015-05-19 15:29:24 +02:00
Joakim Gebart
1d69ea3159
sys/net/routing/rpl: Remove redundant assignment of dodag_version to itself
2015-05-19 15:01:53 +02:00
Hauke Petersen
354e5db5a8
Merge pull request #2963 from OlegHahm/fix_2962
...
at86rf2xx: fix EUI64 computation
2015-05-19 10:59:34 +02:00
Martine Lenders
91650e19ec
ng_ndp: fix documentation
2015-05-19 10:07:36 +02:00
Lotte Steenbrink
74254f5c2a
sixlowpan_netif: don't add duplicates
...
prevent ng_sixlowpan_netif_add() from adding duplicates as described in https://github.com/RIOT-OS/RIOT/issues/2965
2015-05-18 23:55:57 -07:00
Martine Lenders
d2fea78e76
auto_init: add ng_slip
2015-05-23 13:19:16 +02:00
Martine Lenders
96ab1fa283
ng_slip: initial import
2015-05-23 13:19:16 +02:00
Lotte Steenbrink
486f8dd8e9
Merge pull request #3044 from Lotterleben/ipv6_ifs_no_duplicates
...
ng_ipv6_netif: no more duplicates if empty entries are found before
2015-05-23 02:12:49 +02:00
BytesGalore
369e7bbf43
Merge pull request #2540 from josephnoir/topic/cpp-stl-compatibility
...
Add replacement headers for std thread, mutex and condition_variable
2015-05-19 07:56:54 +02:00
Lotte Steenbrink
cb0ee3288f
netif: don't add duplicates
...
prevent ng_ipv6_netif_add() and ng_ipv6_netif_add_addr() from adding duplicates as described in https://github.com/RIOT-OS/RIOT/issues/2965
2015-05-18 12:23:24 -07:00
Jonas
9b66477180
adapted new auto-init process to kw2xrf driver
...
added kw2xrf to auto-init
2015-05-18 17:12:44 +02:00
Joseph Noir
bddaee751d
Add replacement headers for thread, mutex and cond
...
These headers do not provide full stl functionality,
but a small subset:
* thread and this_thread
* condition_variable (some timed functions are missing)
* mutex, lock_guard and unique_lock
2015-05-18 13:57:02 +02:00
895b629630
Merge pull request #2901 from kaspar030/fix_auto_init_netif
...
network: make auto_init_ng_netif less board-dependant
2015-05-18 13:09:55 +02:00
Martine Lenders
e53cdbb1b5
Merge pull request #3015 from gebart/pr/cppcheck-warnings
...
cppcheck drive-by fixes
2015-05-18 11:51:22 +02:00
Joakim Gebart
869ce92246
ng_ndp: reduce scope of variables l2src, l2src_len
...
Fixes cppcheck warnings:
sys/net/network_layer/ng_ndp/ng_ndp.c:548: style (variableScope): The scope of the variable 'l2src' can be reduced.
sys/net/network_layer/ng_ndp/ng_ndp.c:549: style (variableScope): The scope of the variable 'l2src_len' can be reduced.
sys/net/network_layer/ng_ndp/ng_ndp.c:608: style (variableScope): The scope of the variable 'l2src' can be reduced.
sys/net/network_layer/ng_ndp/ng_ndp.c:609: style (variableScope): The scope of the variable 'l2src_len' can be reduced.
2015-05-18 06:34:13 +02:00
Joakim Gebart
ca7697d84f
sys/net/network_layer/sixlowpan/ip.c reduce scope of bmatch
2015-05-18 06:31:28 +02:00
Martine Lenders
abc0280543
ng_rpl: add source routing header parsing for ng_net
2015-05-17 21:51:52 +02:00
Martine Lenders
5ffdbc5652
ng_ipv6_ext: add routing header parsing
2015-05-17 21:51:50 +02:00
c944d54171
core: log: introduce logging API
2015-05-17 21:49:22 +02:00
Martine Lenders
dcfa2681d6
ng_ipv6_ext: initial import of extension header handling
2015-05-17 21:46:56 +02:00
8e1370b7bc
sys: auto_init: only auto init network interfaces when module is actually selected
2015-05-17 21:23:10 +02:00
Oleg Hahm
8658a346bd
ng_ieee802154: add data type for EUI-64
2015-05-17 21:06:48 +02:00
a89b382297
drivers: xbee: adapt to new auto_init_ng_netif scheme
2015-05-17 21:02:00 +02:00
3c00ff0c9b
drivers: adapt ng_at86rf2xx to new auto_init_ng_netif scheme
2015-05-17 21:02:00 +02:00
e655137d72
sys: auto_init: introduce new auto initialization scheme for network interfaces
2015-05-17 21:02:00 +02:00
Martine Lenders
4f1d7adfc6
Merge pull request #2910 from authmillenon/ng_ndp/feat/addr-res
...
ng_ndp: initial import of address resolution
2015-05-17 10:45:12 +02:00
Martine Lenders
db33a1047e
shell: add examplery ng_ipv6_nc_still_reachable()
2015-05-17 09:15:03 +02:00
Martine Lenders
ee11a2ae56
ng_ndp: initial import of the address resolution
2015-05-17 09:15:03 +02:00
Martine Lenders
c35a869a90
Merge pull request #3002 from authmillenon/ng_icmpv6_echo/fix/set-id
...
ng_icmpv6_echo: fix setting of ID field
2015-05-17 02:47:17 +02:00
Martine Lenders
ad001abbe7
Merge pull request #2909 from authmillenon/ipv6_netif/enh/opt
...
ipv6_netif: prepare for NDP
2015-05-16 21:50:49 +02:00
Oleg Hahm
aec03a11ee
Merge pull request #2995 from jfischer-phytec-iot/fix@ip-rm-addr-of-op
...
sys/net/network_layer/sixlowpan/ip.c: remove unnecessary address-of-operator
2015-05-16 19:50:23 +02:00
Oleg Hahm
5ad4b1f915
Merge pull request #2996 from jfischer-phytec-iot/fix@icmp-prefix-l-param
...
sys/.../icmp.c: fix wrong ndp_add_prefix_info parameter
2015-05-16 19:50:07 +02:00
Oleg Hahm
be707befbc
Merge pull request #2997 from jfischer-phytec-iot/fix@icmp-prefix-search
...
sys/.../icmp.c: fix prefix search
2015-05-16 19:42:39 +02:00
Martine Lenders
5f1d6f4f43
Merge pull request #2999 from jfischer-phytec-iot/fix@ip-get-best-src-addr
...
sys/.../ip.c: fix ipv6_net_if_get_best_src_addr
2015-05-16 19:30:05 +02:00
Martine Lenders
e032cda53d
Merge pull request #2998 from authmillenon/ng_icmpv6/fix/preset-csum-field
...
ng_icmpv6: pre-set checksum field to 0 for sending
2015-05-16 19:22:29 +02:00
Martine Lenders
d8285cd3d2
ng_icmpv6_echo: fix setting of ID field
2015-05-16 18:35:48 +02:00
Martine Lenders
9899153fb4
ipv6_netif: piggy-back fix for DEBUG messages
2015-05-16 15:04:56 +02:00
Martine Lenders
5e9a4acd29
shell: adapt sc_netif
2015-05-16 15:03:17 +02:00
Martine Lenders
70d7fae538
ipv6_netif: prepare for NDP
2015-05-16 15:03:16 +02:00
Ludwig Ortmann
6d0a8b222b
sys/compat/hwtimer: fix unused fcpu warning
2015-05-16 14:17:14 +02:00
Martine Lenders
87cf93668c
ng_icmpv6: pre-set checksum field to 0 for sending
2015-05-16 12:57:43 +02:00
Johann Fischer
7087bdcb50
sys/.../ip.c: fix ipv6_net_if_get_best_src_addr
...
This patch fixes ipv6_net_if_get_best_src_addr,
the function seems not to be finished.
The patch also adds a filter for the prefixes,
it is necessary because the prefixes are stored
in the same list as the addresses.
2015-05-16 12:33:30 +02:00
Johann Fischer
41cc10520d
sys/.../icmp.c: fix prefix search
...
Replace equal operator inside ndp_prefix_info_search by not equal.
Otherwise, the existing prefix can not be found.
2015-05-16 12:25:43 +02:00
Johann Fischer
b20a7b0a27
sys/.../icmp.c: fix wrong ndp_add_prefix_info parameter
...
Inside the function recv_rtr_adv, ndp_add_prefix_info was called
with the wrong parameter.
2015-05-16 11:35:28 +02:00
Johann Fischer
fd72aaa9ac
sys/net/network_layer/sixlowpan/ip.c: remove unnecessary address-of-operator
2015-05-16 11:06:46 +02:00
Cenk Gündoğan
cf86479e31
ng_ipv6/netif: fix debug in _add_addr_to_entry()
2015-05-16 08:31:57 +02:00
Martine Lenders
2f9054cb70
ng_nettype: adapt for new ethertype
2015-05-15 22:17:02 +02:00
Martine Lenders
02b31292df
ng_ethertype: add unknown ethertype
...
Wireshark uses `0x0000` to disect a protocol. This PR introduces
`NG_ETHERTYPE_UNKNOWN` == `0xffff` so we can use it experimentally
(since it is not disected by Wireshark).
2015-05-15 22:14:14 +02:00
Martine Lenders
0df6729c35
ng_ipv6: fix for API change in #2908
2015-05-15 20:18:38 +02:00
Lotte Steenbrink
e4dfd06c6d
fib: rename register function in fib.c too
2015-05-14 18:51:56 -07:00
Martine Lenders
51be1104fc
Merge pull request #2979 from Lotterleben/ndp_nc_duplicate_fix
...
ipv6_nc: no more duplicates if empty entries are found before
2015-05-15 13:22:33 +02:00
Lotte Steenbrink
09a67e050d
ipv6_nc: no more duplicates if empty entries are found before
2015-05-14 08:27:15 -07:00
Oleg Hahm
9c72f69de1
Merge pull request #2902 from authmillenon/ng_ipv6/enh/6in6
...
ng_ipv6: add 6in6 encapsulation support
2015-05-14 15:37:22 +02:00
Oleg Hahm
4d64b98f2c
Merge pull request #2756 from jremmert-phytec-iot/pr@ng_kw2xrf
...
driver/kw2xrf: added ng_netdev implementation for the Freescale kw2x radio
2015-05-14 12:51:00 +02:00
Lotte Steenbrink
6a0a2e8bd6
Merge pull request #2915 from BytesGalore/fib_register_rrp_with_prefix
...
net/network_layer/fib: added prefix consideration for RRP registration/signaling
2015-05-14 12:01:59 +02:00
Lotte Steenbrink
e32b1cca16
Merge pull request #2975 from authmillenon/ipv6_nc/enh/opt2
...
ipv6_nc: Make interface optional
2015-05-14 09:21:54 +02:00
Martine Lenders
343bec5593
ipv6_nc: Make interface optional
2015-05-14 04:21:41 +02:00
Oleg Hahm
46a3e8ac83
Merge pull request #2977 from gebart/pr/auto-init-eui64-no-memcpy
...
sys/net: do not use memcpy for single uint32_t copy
2015-05-13 20:29:28 +02:00
BytesGalore
85bf1c2ade
net/network_layer/fib: added prefix consideration for RRP registration/signaling
2015-05-13 20:08:11 +02:00
Oleg Hahm
05f47b2a81
Merge pull request #2974 from sgso/fix_unspecified_src_addr_in_ng_ipv6
...
ng_ipv6: set default values for src and dst in ng_ipv6_hdr_build()
2015-05-13 19:02:44 +02:00
Jonas
3287e71d45
Initial import of tests for kw2x radio
...
squash: driver: fixed typo to pass doccheck
squash: driver: bug fixes after test
squash: adapted Makefiles for correct build behaviour
restructured, no spi interaction in isr anymore
major bugfixes and restructurization
comments addressed
introduce new netconf option, ..AUTOCCA
squash: minor bugfix and add auto-init mechanism
squash: minor fixes to make travis happy
2015-05-13 13:06:59 +02:00
Martine Lenders
d1c2f7f72b
Merge pull request #2908 from authmillenon/ipv6_nc/enh/opt
...
ipv6_nc: prepare for NDP
2015-05-13 11:05:39 +02:00
Joakim Gebart
f8204d79d0
sys/net: do not use memcpy for single uint32_t copy
...
Saves two unnecessary function calls.
2015-05-13 09:52:36 +02:00
Sebastian Sontberg
c0ec7eb892
ng_ipv6: set default values for src and dst in ng_ipv6_hdr_build()
...
Later in the handling of IPv6 headers, the source address is only
automatically chosen and filled into the header if the unspecified
address is found in the src field, but it's never set to that value.
The default destination address is set to '::1'.
2015-05-13 00:51:25 +02:00
Martine Lenders
396b913f3d
shell: adapt ipv6_nc shell commands
2015-05-12 20:06:09 +02:00
Martine Lenders
3e3f7bdf3c
ipv6_nc: simplify API usage for NDP
...
* Bonus: simplify DEBUG output.
2015-05-12 20:06:09 +02:00
Martine Lenders
87e5f3acaa
Merge pull request #2964 from authmillenon/icmpv6/enh/listed-payload
...
icmpv6: add ability to add listed payload in ng_icmpv6_build
2015-05-12 20:01:30 +02:00
Martine Lenders
dd1b4ec5a7
ng_ipv6: add 6in6 encapsulation support
2015-05-12 19:19:21 +02:00
Martine Lenders
11e5fb3c9e
Merge pull request #2728 from authmillenon/ipv6_netif/enh/auto-link-local
...
ipv6_netif: auto-add corresponding link-local addresses
2015-05-12 19:08:14 +02:00
daniel-k
ca772815ed
net/ng_netreg: fix wrong documentation for ng_netreg_register()
2015-05-11 17:26:45 +02:00
Martine Lenders
ed6764f33b
icmpv6: add ability to add listed payload in ng_icmpv6_build
2015-05-11 01:27:12 +02:00
Lotte Steenbrink
d743972891
Merge pull request #2960 from authmillenon/shell/fix/ncache-output
...
shell: fix table output of neighbor cache
2015-05-10 23:25:09 +02:00
Martine Lenders
74e58f953b
shell: fix table output of neighbor cache
2015-05-10 14:06:03 +02:00
Oleg Hahm
4d85caee0f
Merge pull request #2953 from OlegHahm/ng_sizeof
...
net: use sizeof(stack) for thread_create
2015-05-10 12:27:05 +02:00
Oleg Hahm
e9145fb911
Merge pull request #2939 from gebart/pr/whitespace-fixes1
...
Whitespace fixes
2015-05-09 23:46:31 +02:00
Oleg Hahm
c3a60fcea1
net: use sizeof(stack) for thread_create
2015-05-09 20:48:53 +02:00
Oleg Hahm
23d3c636e5
Merge pull request #2922 from authmillenon/ng_ipv6/fix/debug-output
...
ng_ipv6: fix debug output
2015-05-09 19:57:35 +02:00
Oleg Hahm
ca0d510655
Merge pull request #2943 from OlegHahm/fix_multicast_interface
...
ng_ipv6: set interface for multicast
2015-05-09 18:40:35 +02:00
Martine Lenders
5ec625b06c
Merge pull request #2941 from cgundogan/ng_ipv6_netif_doc_fix2
...
ng_ipv6/netif: doc fix (interfaces => interface)
2015-05-09 18:36:36 +02:00
Martine Lenders
f3857e9f32
Merge pull request #2945 from authmillenon/sixlowpan_frag/fix/another
...
sixlowpan_frag: another bugfix for reassembly
2015-05-09 18:36:27 +02:00
Oleg Hahm
332eb13184
ng_ipv6: set interface for multicast
...
If no interface is given for a multicast, but the node has only one, it
must be set.
2015-05-09 16:23:28 +02:00
Martine Lenders
2c1b516c8e
sixlowpan_frag: another bugfix for reassembly
2015-05-09 16:18:16 +02:00
Oleg Hahm
d3250abdbe
ng_udp: add CREATE_STACKTEST to thread creation
2015-05-09 14:29:09 +02:00
Martine Lenders
926e1937cc
Merge pull request #2935 from authmillenon/netif_hdr/fix/print-addr_len-0
...
netif_hdr: print 0-length L2 addresses correctly
2015-05-09 12:20:16 +02:00
Martine Lenders
59e4d92fa5
Merge pull request #2938 from cgundogan/ng_ipv6_addr_doc_fix
...
ng_ipv6/addr: minor doc fix
2015-05-09 12:18:04 +02:00
Cenk Gündoğan
eed5d6ea16
ng_ipv6/netif: doc fix (interfaces => interface)
2015-05-09 10:22:56 +02:00
Joakim Gebart
45c3498091
sys/net/routing/Makefile: Unix line endings
2015-05-09 09:18:31 +02:00
Joakim Gebart
77cd875e8e
sys/net/transport_layer/socket_base/socket.c: trailing whitespace
2015-05-09 09:18:18 +02:00
Cenk Gündoğan
58e52b5896
ng_ipv6/addr: minor doc fix
2015-05-09 09:09:00 +02:00
Joakim Gebart
1026e47f8b
sys/net/include/socket_base.h: trailing space
2015-05-09 09:06:44 +02:00
Joakim Gebart
21c15bd6f5
sys/net/include/l2_ping.h: trailing space
2015-05-09 09:06:18 +02:00
Joakim Gebart
50ad4e7374
sys/include/net/ng_protnum.h: trailing spaces
2015-05-09 09:05:45 +02:00
Martine Lenders
ec61db5234
netif_hdr: print 0-length L2 addresses correctly
2015-05-08 19:08:21 +02:00
Martine Lenders
bc41cfc93f
sixlowpan_frag: Fix some debug messages for nano-specs
2015-05-08 18:32:29 +02:00
Martine Lenders
0514e11805
sixlowpan_frag: fix reassembly buffer garbage collection
2015-05-08 18:32:12 +02:00
Oleg Hahm
ffbd4f6bd2
Merge pull request #2925 from OlegHahm/ng_at86_cleanup
...
at86rf231: minor cleanup
2015-05-08 14:18:11 +02:00
Oleg Hahm
38ed6a8112
doxygen: cosmetics
2015-05-07 20:46:56 +02:00
BytesGalore
a1be18a1d0
net/network_layer/fib: fixed print type for printing routes
2015-05-07 17:13:55 +02:00
b0ebdbfc89
Merge pull request #2913 from kaspar030/hwtimer_compat
...
sys: add hwtimer compatibility layer for periph timers
2015-05-07 13:08:26 +02:00
Oleg Hahm
c8aff36237
netconf: added option to en/disable the SFD IRQ
...
Also includes the implementation for the AT86RF231
2015-05-06 15:58:02 +02:00
0921bce5dd
sys: add hwtimer layer for periph timers
2015-05-06 12:04:53 +02:00
Martine Lenders
ab21f5dfc1
ng_ipv6: fix debug output
2015-05-06 11:30:54 +02:00
Sebastian Sontberg
d0ea7c2a0c
ng_icmpv6_echo: fix call to undefined function
2015-05-04 14:50:18 +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
Lotte Steenbrink
3b3eaab98d
Merge pull request #2896 from Lotterleben/aodvv2_fix_rreqtable_redundancy_check
...
aodvv2: fix check for redundant RREQ
2015-05-01 10:29:13 +02:00
Martine Lenders
229f49ad5d
shell: add icmpv6_echo shell handler
2015-05-01 08:34:11 +02:00
Martine Lenders
86133b8404
ng_icmpv6_echo: initial import
2015-05-01 08:34:11 +02:00
Martine Lenders
da2ec1b89e
ng_icmpv6_error: add preliminary header
2015-05-01 08:34:11 +02:00
Martine Lenders
591ef1826f
ng_icmpv6: Initial import
2015-05-01 08:29:01 +02:00
haukepetersen
a4358bfdee
sys/auto-init: added mechanism to init network ifs
2015-04-30 15:08:49 +02:00
Hauke Petersen
195a8d88cd
Merge pull request #2892 from authmillenon/ng_ipv6/enh/use-netapi-rcv
...
ng_ipv6: use netapi_receive()
2015-04-30 11:00:52 +02:00
Martine Lenders
4741a01e36
Merge pull request #2721 from authmillenon/ipv6_nc/feat/iterators
...
ipv6_nc: add iterators
2015-04-30 08:59:44 +02:00
Martine Lenders
af1f7b4336
ng_ipv6: use netapi_receive()
2015-04-29 22:34:55 +02:00
Martine Lenders
188c1a4ca9
shell: add support for nc iterators
2015-04-29 21:22:29 +02:00
Martine Lenders
a767f66d72
ipv6_nc: add iterators
2015-04-29 21:22:28 +02:00
Martine Lenders
398788d638
ng_udp: remove unused variable
2015-04-29 21:10:29 +02:00
Oleg Hahm
832c6a949c
Merge pull request #2874 from authmillenon/sixlowpan_frag/fix/rbuf-fixes
...
ng_sixlowpan: fixes
2015-04-29 15:48:49 +02:00
Lotte Steenbrink
3d4e98eb1d
Merge pull request #2833 from authmillenon/ng_net/feat/hdr-print
...
ng_net: add header print functions
2015-04-29 12:05:04 +02:00
Martine Lenders
90ece67f94
Merge pull request #2880 from authmillenon/ng_udp/fix/csum
...
ng_udp: fix checksum calculation for extension headers
2015-04-29 12:01:31 +02:00
Oleg Hahm
51ff5e056c
Merge pull request #2625 from cgundogan/rpl_remove_global_root_indication
...
rpl: remove global variable indicating the root node
2015-04-29 10:41:21 +02:00
Martine Lenders
450abe6154
ng_sixlowpan: use ng_pktbuf_remove_snip()
2015-04-29 01:06:32 +02:00
Martine Lenders
4f5995a4cf
ng_sixlowpan_frag: add missing return
2015-04-29 01:06:17 +02:00
Martine Lenders
7c0d86e360
ng_sixlowpan_frag: fix reassembly buffer
2015-04-29 01:06:17 +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
Martine Lenders
797de13f01
ng_udp: fix setting of length field
...
udp_slip contains the UDP header already so this line technically adds
the length of the UDP header twice.
2015-04-28 21:02:52 +02:00
Cenk Gündoğan
b557000c20
rpl: remove global variable indicating the root node
2015-04-28 18:13:40 +02:00
Martine Lenders
3ba2a59cf5
ng_udp: fix checksum calculation for extension headers
2015-04-28 17:05:25 +02:00
BytesGalore
2ffe2e6f1f
Merge pull request #2633 from cgundogan/rpl_remove_rpl_get_my_dodag_from_parent_delete
...
rpl: remove rpl_get_my_dodag() dependency in rpl_delete_all_parents()
2015-04-28 16:24:21 +02:00
BytesGalore
2a8aa7add5
net/network_layer/fib: added clearing flags for expired entries
2015-04-28 14:30:04 +02:00
Hauke Petersen
b15b291e0a
net: added ng header for ieee802154
2015-04-27 18:56:59 +02:00
haukepetersen
e66e1dcfbe
net/ng_netreg: added include of ng_udp.h
2015-04-26 21:53:07 +02:00
haukepetersen
1441e2fd02
sys/auto_init: added initialization of ng_udp
2015-04-26 21:53:07 +02:00
haukepetersen
b1d8752711
net: added NG_UDP implementation
2015-04-26 21:53:07 +02:00
8921a370dc
Merge pull request #2582 from authmillenon/shell/feat/ifconfig-ipv6-output
...
shell: add ng_ipv6 support for ifconfig
2015-04-26 17:58:27 +02:00
Martine Lenders
cb07cd05e2
shell: add ng_ipv6 support for ifconfig
2015-04-26 14:00:48 +02:00
Martine Lenders
8a5e0d7d82
Merge pull request #2781 from authmillenon/ng_sixlowpan_frag/feat/initial
...
ng_sixlowpan: Initial import of datagram fragmentation
2015-04-26 03:20:15 +02:00
Martine Lenders
73d9739258
ng_sixlowpan: Initial import of datagram fragmentation
2015-04-26 02:21:20 +02:00
Oleg Hahm
2d8021ac06
Merge pull request #2857 from authmillenon/ipv6_addr/enh/rename-hdr-check
...
ipv6_addr: rename ng_ipv6_hdr_is_ipv6_hdr() to something less silly
2015-04-25 17:42:12 +02:00
Martine Lenders
e7860a40cc
Merge pull request #2846 from haukepetersen/ng_sc_netif_options
...
sys/shell: added RAWMODE option to netif sc
2015-04-24 19:26:59 +02:00
Martine Lenders
e2f6fb6b0f
Merge pull request #2856 from authmillenon/ng_ipv6/enh/1-if-opt
...
ng_ipv6: optimize multi-interface support
2015-04-24 19:01:29 +02:00
Hauke Petersen
3f7b705379
sys/shell: added option RAWMODE to netif cmds
2015-04-24 14:53:08 +02:00
Martine Lenders
5a0d222dcd
shell: add support for (un-)setting 6LoWPAN support on an interface
2015-04-23 16:23:42 +02:00
Martine Lenders
1d744650cf
Merge pull request #2614 from authmillenon/ng_sixlowpan/feat/initial
...
ng_sixlowpan: initial import
2015-04-23 16:17:43 +02:00
Martine Lenders
5412e0e68b
ng_sixlowpan: initial import
2015-04-23 11:29:53 +02:00
Martine Lenders
07e2dbaf7e
ng_sixlowpan_netif: initial import
2015-04-23 11:29:51 +02:00
Martine Lenders
82a1f53ff0
ng_ipv6: optimize multi-interface support
2015-04-23 10:57:51 +02:00
Lotte Steenbrink
e6e45ad567
Merge pull request #2736 from authmillenon/shell/fix/netif-return
...
shell: fix netif command for return values
2015-04-23 10:18:11 +02:00
Martine Lenders
3e9db4371f
ipv6_addr: rename ng_ipv6_hdr_is_ipv6_hdr() to something less silly
2015-04-23 02:26:48 +02:00
Martine Lenders
99c190d3ae
ng_ipv6: fix scope of netif header in multicast
2015-04-23 01:43:51 +02:00
Martine Lenders
8e4edf2b72
Merge pull request #2454 from authmillenon/ng_ipv6/feat/initial
...
ng_ipv6: initial import
2015-04-23 01:10:12 +02:00
Martine Lenders
b6c1dda1f4
Merge pull request #2854 from authmillenon/pktbuf/doc/enhance-pktbuf_add-doc
...
pktbuf: clarify doc of pktbuf_add()
2015-04-23 00:43:31 +02:00
Martine Lenders
a09909585b
shell: fix netif command for return values
2015-04-22 23:34:10 +02:00
Oleg Hahm
126eba73a9
Merge pull request #2606 from cgundogan/rpl_remove_multiple_instance_check
...
rpl: remove unnecessary check for multiple instances
2015-04-22 23:14:27 +02:00
Martine Lenders
02af5da9bb
Merge pull request #2778 from authmillenon/shell/feat/netif-promisc
...
shell: sc_netif: add set/unset for flags
2015-04-22 23:11:39 +02:00
Martine Lenders
a0c6db6591
ng_ipv6: initial import
2015-04-22 22:12:07 +02:00
Martine Lenders
d994908db4
pktbuf: clarify doc of pktbuf_add()
...
Fixes #2853
2015-04-22 19:22:41 +02:00
Martine Lenders
c9078b44ab
Merge pull request #2845 from haukepetersen/ng_add_netconf_rawmode
...
net/ng_netconf: added option for setting RAW mode
2015-04-22 17:31:46 +02:00
Martine Lenders
9238b33906
Merge pull request #2837 from OlegHahm/yadf
...
Yet another doxygen fix
2015-04-22 15:30:23 +02:00
Martine Lenders
94dc48da09
shell: sc_netif: add set/unset for promiscous mode
2015-04-22 15:28:27 +02:00
haukepetersen
96a1c6f74b
net/ng_netconf: added option for setting RAW mode
2015-04-21 18:58:58 +02:00
Oleg Hahm
2f3f40587a
doc: doxygen fix until sixlowpan is merged
...
* sixlowpan doxygen group does not yet exist
2015-04-21 18:53:37 +02:00
Oleg Hahm
9edf0b76db
doc: aodv specific stuff shouldn't show up in core
2015-04-21 18:53:36 +02:00
Martine Lenders
ac25058f26
Merge pull request #2727 from watr-li/unaligned-access-cortex-m0
...
Fix unaligned access on Samr21/Cortex-M0
2015-04-21 12:18:03 +02:00
Oleg Hahm
d274fc4a83
Merge pull request #2811 from josephnoir/topic/pthread_cond_osx
...
Add fix for clockid_t on OS X
2015-04-21 11:25:55 +02:00
Martine Lenders
c660fdfdac
Merge pull request #2785 from authmillenon/ng_sixlowpan_ctx/feat/initial
...
ng_sixlowpan: initial import of a context buffer
2015-04-20 10:22:35 +02:00
Oleg Hahm
09c07e918d
Merge pull request #2831 from OlegHahm/transceiver_broadcast
...
Use transceiver specific broadcast
2015-04-20 10:16:08 +02:00
Martine Lenders
79af989ef6
Merge pull request #2829 from authmillenon/ipv6_addr/fix/init-prefix
...
ipv6_addr: add missing mask to prefix initialization
2015-04-20 10:05:57 +02:00
Oleg Hahm
8926fa2269
rpl: added debug output for DAO default case
2015-04-19 20:56:05 +02:00
Oleg Hahm
3dd3bbb461
transceiver: use transceiver specific broadcast
2015-04-19 20:35:11 +02:00
Martine Lenders
7cbca8064d
Merge pull request #2830 from sgso/fix-pktdump-ipv6-header-version-dump
...
pktdump: fix formatting of snips and false illegal version warning
2015-04-19 18:22:05 +02:00
Sebastian Sontberg
b228e1a936
pktdump: fix formatting of snip dumps
2015-04-19 16:48:25 +02:00
Oleg Hahm
ca3cae112c
ps: updated authorship
2015-04-19 16:36:05 +02:00
Oleg Hahm
5e94995bfb
ps: removed unnecessary prototype from header
2015-04-19 16:36:05 +02:00
Oleg Hahm
a31aa449a6
ps: added doxygen documentation
2015-04-19 16:36:05 +02:00
Oleg Hahm
89b32aefe3
ps: thread_print_all() had the wrong module prefix
2015-04-19 16:36:05 +02:00
Sebastian Sontberg
a8c55ff844
pktdump: fix mishap in ip version header dump
2015-04-19 15:16:45 +02:00
Martine Lenders
3a72e5346b
unittests: add tests for ng_sixlowpan_ctx
2015-04-18 15:42:42 +02:00
Martine Lenders
39ed4baa92
ng_sixlowpan: initial import of a context buffer
2015-04-18 15:42:42 +02:00
Martine Lenders
43d5fe1e8e
ipv6_addr: add missing mask to prefix initialization
2015-04-18 15:40:02 +02:00
Lotte Steenbrink
02efbadc48
aodvv2: fix check for redundant RREQ
2015-04-16 09:34:42 -07:00
Martine Lenders
f58eac2188
Merge pull request #2807 from authmillenon/ipv6_addr/fix/prefix-init
...
ipv6_addr: do not null remaining bits in prefix initialization
2015-04-16 18:06:21 +02:00
Martine Lenders
534a2f93bf
Merge pull request #2814 from authmillenon/pktbuf/fix/remove-fix-return
...
pktbuf: fix snip-was-head case for pktbuf_remove_snip
2015-04-16 15:47:41 +02:00
Martine Lenders
480924afc0
Merge pull request #2741 from authmillenon/pktdump/feat/dump-ipv6
...
pktdump: add IPv6 header dump
2015-04-16 15:46:40 +02:00
Martine Lenders
798b9c782a
Merge pull request #2816 from authmillenon/pktdump/fix/reply-to-getset
...
pktdump: reply to netapi get/set
2015-04-16 15:44:07 +02:00
Martine Lenders
62c8d6ba8f
Merge pull request #2697 from authmillenon/pktdump/feat/snip-dump
...
pktdump: dump data of packet snips structured
2015-04-16 15:38:34 +02:00
Joseph Noir
e3a5bb25af
Add fix for clockid_t on OS X
2015-04-16 11:43:51 +02:00
Oleg Hahm
22689437fb
Merge pull request #2764 from Lotterleben/aodvv2_improve_offers_improvement
...
AODVv2: fix check if a route offers an improvement
2015-04-16 09:50:40 +02:00
Lotte Steenbrink
b1c3ca458a
ng_udp: improve debug output
...
This PR corrects the faulty debug output from ng_udp.c:151 and unifies
all debug messages with the prefix ``udp: cannot send packet``.
2015-04-15 20:09:35 -07:00
Lotte Steenbrink
aca795ddb2
Merge pull request #2810 from Lotterleben/aodvv2_na_mcast_init
...
AODVv2: rm unnecessary initialization of na_mcast
2015-04-15 16:06:06 +02:00
Lotte Steenbrink
7f4fc9269d
Merge pull request #2812 from BytesGalore/fib_shell_return_values
...
sys/shell: added missing return values for FIB command handler
2015-04-15 16:05:42 +02:00
Oleg Hahm
a18e9bb443
Merge pull request #2809 from authmillenon/netreg_hdr/fix/unused-parameters
...
netreg: ignore payload on default case in header build
2015-04-15 10:01:48 +02:00
Martine Lenders
cc95939050
pktdump: reply to netapi get/set
...
Since some layers need to get options from their neighboring layers the
previous behavior is potentially stack breaking when testing with this
module since no reply is given to this requests, reply blocking the
requesting thread in the process.
2015-04-14 17:09:16 +02:00
Martine Lenders
526d9d7ead
pktdump: add IPv6 header dump
2015-04-14 14:21:45 +02:00
Martine Lenders
f34df829dc
pktdump: dump data of packet snips structured
2015-04-14 14:20:33 +02:00
Martine Lenders
2c46c79fd5
pktbuf: fix snip-was-head case for pktbuf_remove_snip
2015-04-14 13:48:36 +02:00
e9fb853a81
Merge pull request #2804 from authmillenon/pktbuf/api/pktbuf_remove
...
pktbuf: add helper function to remove snips from packet
2015-04-14 12:30:14 +02:00
Lotte Steenbrink
82caf87128
Merge pull request #2796 from BytesGalore/aodv_return_on_socket_fail
...
routing/aodv: added return on failed socket creation for receiver thread
2015-04-14 11:43:36 +02:00
BytesGalore
bbaddc756d
sys/shell: added missing return values
2015-04-14 11:41:10 +02:00
Martine Lenders
1230fc4070
ipv6_addr: do not null remaining bits in prefix initialization
2015-04-14 11:12:28 +02:00
Cenk Gündoğan
ac5e9af4e5
Merge pull request #2607 from cgundogan/rpl_update_rt_table_for_all_dodags
...
rpl: update routing table information for all dodags
2015-04-14 11:11:43 +02:00
Martine Lenders
dde61699f0
netreg: ignore payload on default case in header build
2015-04-14 10:43:03 +02:00
Cenk Gündoğan
19c2ab8bc2
rpl: remove rpl_get_my_dodag() dependency in rpl_delete_all_parents()
2015-04-14 10:09:47 +02:00
Martine Lenders
67602bb443
Merge pull request #2600 from authmillenon/ipv6_nc/feat/mc-translation
...
[RFC] ng_netif_hdr: add flags for multicast and broadcast
2015-04-14 10:08:22 +02:00
Martine Lenders
37d214ba1a
pktbuf: add helper function to remove snips from packet
2015-04-14 02:06:03 +02:00
Cenk Gündoğan
d27cd45a81
rpl: update routing table information for all dodags
2015-04-13 18:59:22 +02:00
BytesGalore
feff423f07
routing/aodv: added return on failed socket cration for receiver thread
2015-04-13 11:59:12 +02:00
BytesGalore
c47563a745
Merge pull request #2789 from Lotterleben/aodvv2_mutex_fix
...
AODVv2: fix mutex for route message creation
2015-04-13 11:08:44 +02:00
Martine Lenders
d47cd80945
Merge pull request #2779 from kaspar030/fix_ipv6_addr_string_max_length
...
sys: net: ipv6: fix max ipv6 address string length
2015-04-11 19:26:01 +02:00
Lotte Steenbrink
5de25a7bd7
AODVv2: fix check if route offers improvement
2015-04-11 06:51:08 -07:00
Lotte Steenbrink
ae88d122e4
rm unnecessary initialization of na_mcast
2015-04-11 02:37:43 -07:00
BytesGalore
580ae0a63d
Merge pull request #2786 from Lotterleben/fib_typos
...
FIB: fix documentation typos
2015-04-10 16:41:13 +02:00
BytesGalore
073f117ad6
Merge pull request #2788 from Lotterleben/fib_parenteses_fix
...
FIB: remove extraneous parentheses
2015-04-10 16:39:29 +02:00
Lotte Steenbrink
436a105ff7
AODVv2: fix mutex for route message creation
2015-04-10 07:13:35 -07:00
Lotte Steenbrink
0666827d25
FIB: remove extraneous parentheses
2015-04-10 04:33:46 -07:00
Peter Kietzmann
821cf81608
Merge pull request #2773 from kaspar030/make_pktdump_internals_static
...
sys: net: ng_pktdump: mark internal functions as static
2015-04-10 13:15:25 +02:00
Lotte Steenbrink
d2e6e7ba17
FIB: fix some typos
2015-04-10 03:15:20 -07:00
Oleg Hahm
fce1d4538e
Merge pull request #2703 from cgundogan/rpl_rm_initializers
...
rpl: remove needless initializers
2015-04-10 11:48:52 +02:00
Oleg Hahm
bd828f109e
Merge pull request #2350 from gebart/pr/sixlowpan-buffer-name
...
sixlowpan: rename global buffer->sixlowpan_buffer
2015-04-10 11:38:54 +02:00
Martine Lenders
c94094529d
Merge pull request #2731 from authmillenon/ipv6_hdr/feat/initial
...
ipv6_hdr: Initial import
2015-04-10 07:35:41 +02:00
Martine Lenders
687947d3db
Merge pull request #2730 from authmillenon/inet_csum/feat/initial
...
inet_csum: initial import of Internet Checksum module
2015-04-10 07:24:58 +02:00
Lotte Steenbrink
e130b6929c
Merge pull request #2553 from authmillenon/net/feat/hdr-csum
...
ng_net: introduce checksum calculation
2015-04-10 02:01:10 +02:00
Martine Lenders
cdbd06d2d8
ipv6_netif: fix documentation
2015-04-10 01:29:35 +02:00
Martine Lenders
2dd24edcf8
ipv6_netif: auto-add corresponding link-local addresses
2015-04-10 01:29:33 +02:00
Martine Lenders
9c30851b45
ipv6_hdr: Initial import
2015-04-10 00:41:55 +02:00
Martine Lenders
10bff1c8a3
Merge pull request #2775 from kaspar030/fix-nomac-debug-warning
...
sys: net: ng_nomac: add cast to debug call to fix warning
2015-04-10 00:26:21 +02:00
Oleg Hahm
63c121528a
Merge pull request #2624 from cgundogan/rpl_recv_DIS_multiple_dodags
...
rpl: check all dodags when receiving DIS messages
2015-04-10 00:20:13 +02:00
Oleg Hahm
540ee49e61
Merge pull request #2653 from cgundogan/rpl_remove_get_my_dodag_dependencies
...
rpl: remove get_my_dodag dependency by passing the dodag as parameter
2015-04-10 00:18:02 +02:00
Peter Kietzmann
7cbc667199
Merge pull request #2774 from kaspar030/fix_pktdump_priority
...
sys: net: ng_pktdump: make pktdump have higher-than-main priority
2015-04-09 22:41:18 +02:00
Martine Lenders
a83fecd642
Merge pull request #2710 from haukepetersen/ng_scnetif_state
...
shell/ng_netif: enable to get/set a device's state
2015-04-09 21:47:53 +02:00
cf53d966be
sys: net: ipv6: fix max ipv6 address string length
2015-04-09 21:28:04 +02:00
Oleg Hahm
087b51e10b
Merge pull request #2500 from fnack/nhdp_optimize_rx
...
sys/nhdp: Remove temp address lists to optimize hello processing
2015-04-09 18:43:18 +02:00
8c419bbdf5
sys: net: ng_nomac: add cast to debug call to fix warning
2015-04-09 18:17:35 +02:00
4d15482669
sys: net: ng_pktdump: make pktdump have higher-than-main priority
2015-04-09 18:14:11 +02:00
f63109486b
sys: net: ng_pktdump: mark static functions as static
2015-04-09 18:11:52 +02:00
Martine Lenders
b8fea1a2c7
Merge pull request #2735 from authmillenon/ipv6_netif/feat/hl
...
ipv6_netif: expand interface
2015-04-08 12:18:26 +02:00
Martine Lenders
25b568e6d5
ipv6_netif: fix prefix for address flags
...
Since NDP will introduce interface specific flags this naming might get
confusing
2015-04-08 10:43:14 +02:00
Martine Lenders
05bcdd5398
ipv6_netif: add flags
2015-04-08 10:43:05 +02:00
Oleg Hahm
a532516205
Merge pull request #2757 from Lotterleben/invalid_routes
...
AODVv2: Broken & Expired routes to Invalid routes
2015-04-08 09:51:10 +02:00
Martine Lenders
fa2ab8b7cd
shell: adapt netif shell commands for bc flag
2015-04-03 16:05:10 +02:00
Martine Lenders
d382feabbe
netif_hdr: add flags for broadcast and multicast
2015-04-03 16:05:10 +02:00
haukepetersen
27d1f113a2
net/ng_pktdump: added CREATE_STACKTEST flag
2015-04-02 14:45:34 -07:00
Lotte Steenbrink
ccc33ec619
AODVv2: Broken & Expired routes to Invalid routes
2015-04-02 10:45:26 -07:00
Martine Lenders
bc072db0e9
shell: add commands to manage neighbor cache manually
2015-04-02 01:13:17 +02:00
Lotte Steenbrink
40acfa732b
Merge pull request #2705 from authmillenon/netif/feat/addr-str
...
netif: add functions to parse and output hardware addresses
2015-04-02 01:04:33 +02:00
BytesGalore
6d579c84e7
shell: fixed return value warning for FIB shell command handler
2015-04-01 18:17:51 +02:00
Martine Lenders
1a0d97fced
shell: adapt sc_netif to use new netif functions
2015-04-01 16:24:19 +02:00
Martine Lenders
882bcbe92e
netif: add functions to parse and output hardware addresses
2015-04-01 16:24:19 +02:00
Martine Lenders
9372d955b3
Merge pull request #2211 from BytesGalore/add_fib
...
sys/net/network_layer added a core implementation of a FIB
2015-04-01 11:40:21 +02:00
Oleg Hahm
26710c1085
Merge pull request #2499 from gebart/pr/lowpan-address-decoding-fixes
...
sixlowpan: Handle 16-bit addresses correctly (both decode and encode)
2015-04-01 11:36:56 +02:00
BytesGalore
30c76adc43
net: added a core implementation of a FIB
2015-04-01 10:24:35 +02:00
Martine Lenders
f1becc6870
Merge pull request #2534 from jfischer-phytec-iot/pr@udp-header-decompression
...
lowpan.c: add udp header decompression
2015-03-31 19:39:18 +02:00
Peter Kietzmann
aeb5316af2
Merge pull request #2744 from authmillenon/shell/fix/rm-return
...
shell: remove unneeded return
2015-03-31 09:22:24 +02:00
Martine Lenders
3ac8146f8b
style: replace tabs with spaces in source
2015-03-31 05:04:44 +02:00
Martine Lenders
8dd5010014
shell: remove unneeded return
2015-03-31 04:54:04 +02:00
Peter Kietzmann
dbd4475bfe
Merge pull request #2737 from authmillenon/shell/fix/alarm_handler
...
shell: fix rtc alarm handler
2015-03-30 09:48:36 +02:00
Peter Kietzmann
f725282565
Merge pull request #2738 from authmillenon/netreg/fix/warning
...
netreg: suppress unused parameter warning
2015-03-30 09:12:30 +02:00
Martine Lenders
476dd297bd
Merge pull request #2719 from haukepetersen/ng_opt_pktdump
...
net/ng_pktdump: manage stack internal and use msg queue
2015-03-30 02:43:43 +02:00
Martine Lenders
6f7af8f0a2
ipv6_netif: move default MTU from ng_ipv6.h
2015-03-30 01:18:07 +02:00
Martine Lenders
c6eaeb4366
ipv6_netif: add current hop limit to interface
2015-03-30 01:18:06 +02:00
Martine Lenders
7273d5c9ad
Merge pull request #2723 from authmillenon/ipv6_netif/feat/prefix-list
...
ipv6_netif: add prefix list to interface
2015-03-30 00:31:37 +02:00
Martine Lenders
716a1bb0f5
netreg: suppress unused parameter warning
2015-03-29 23:51:54 +02:00
Martine Lenders
d0bd218226
shell: fix rtc alarm handler
2015-03-29 20:54:35 +02:00
Martine Lenders
3b42fae668
Merge pull request #2602 from kushalsingh007/shell-return
...
Return-based error-handling for shell handlers
2015-03-29 18:29:58 +02:00
Martine Lenders
f192cda090
Merge pull request #2712 from authmillenon/nettype/fix/typo
...
nettype: fix typo
2015-03-29 15:12:23 +02:00
Martine Lenders
4571fe2f8d
netreg: add multiplexer for checksum calculation
2015-03-29 14:55:11 +02:00
Martine Lenders
fa689fe147
Merge pull request #2575 from authmillenon/ng_net/feat/hdr-build
...
ng_net: header building facilities
2015-03-29 14:28:49 +02:00
Lucas Jenss
5910cadb58
sys/net: Fix unaligned access on Samr21/Cortex-M0
...
*((uint16_t)*dest) results in a ldrh (load halfword) instruction
on an address that seems to not be halfword-aligned (?),
causing a hard-fault on the samr21-xpro board (cortex-m0
architecture). The issue seems to be very similar to
the one described in http://stackoverflow.com/a/21661366/124257
2015-03-29 04:58:44 +02:00
Martine Lenders
1ea70be0e8
netif: add convinience function for header building
2015-03-28 18:29:50 +01:00
Martine Lenders
69c593b80b
netreg: add multiplexer for header building
2015-03-28 18:28:04 +01:00
Hauke Petersen
bf48b86cfa
shell/ng_netif: enable to get/set a device's state
2015-03-28 14:04:17 +01:00
Martine Lenders
903a9d54ce
inet_csum: initial import of Internet Checksum module
2015-03-28 14:02:59 +01:00
Hauke Petersen
6dfca3bd45
Merge pull request #2716 from haukepetersen/fix_shell_makefiles
...
sys/shell_commands: Makefile: converted tabs to spaces
2015-03-28 14:00:54 +01:00
Hauke Petersen
7d50ad1954
Merge pull request #2715 from haukepetersen/ng_fix_scnetif
...
sys/shell: shortened description of netif shell cmd
2015-03-28 13:48:54 +01:00
Hauke Petersen
c349fca738
sys/auto_init: added initialization of pktdump
2015-03-28 13:47:03 +01:00
Hauke Petersen
4ccc3634b3
net/ng_pktdump: manage stack internally
2015-03-28 13:47:03 +01:00
Hauke Petersen
96efe23027
net/ng_pktdump: added message queue
2015-03-28 13:36:43 +01:00
Hauke Petersen
e8eebe43f2
Merge pull request #2718 from haukepetersen/ng_fix_nomac
...
net/ng_nomac: added missing return in event cb
2015-03-28 13:33:39 +01:00
Martine Lenders
dce3a6056d
ipv6_netif: add prefix list to interface
2015-03-27 20:39:52 +01:00
Martine Lenders
ff5633e44e
Merge pull request #2709 from haukepetersen/ng_scnetif_power
...
shell/sc_netif: added means to control TX power
2015-03-27 17:27:25 +01:00
Hauke Petersen
eb00d37456
Merge pull request #2708 from haukepetersen/ng_fix_pktdump
...
net/ng_pktdump: fixed memory leak
2015-03-27 15:14:33 +01:00
Martine Lenders
2219d21ba2
Merge pull request #2706 from authmillenon/nettype/feat/introduce_netif
...
nettype: introduce type for ng_netif_hdr_t
2015-03-27 15:13:20 +01:00
Hauke Petersen
6119ca00d8
sys/shell_commands: converted tabs to spaces in Makefile
...
Though technically it does not make a difference here, tabs have
a different semantic meaning than spaces in Makefiles. To be consistent
in RIOT we agreed to use two spaces for if conditions -> see #2626 .
2015-03-26 00:04:56 +01:00
Hauke Petersen
264f05bc62
net/ng_nomac: added missing return in event cb
2015-03-25 23:12:19 +01:00
Hauke Petersen
eecd6ec2cc
sys/shell: shortened description of netif shell cmd
2015-03-25 21:24:30 +01:00
kushalsingh007
9aae656be9
shell: Return-based error-handling for shell handlers
...
- Included the missing parts.
- Squashed with @authmillenon's commit
2015-03-25 23:54:04 +05:30
Joakim Gebart
334aeca246
sixlowpan: Refactor multicast destination compression handling
...
Stateless only, still no implementation for context-aware multicast encoding.
2015-03-25 08:08:07 +01:00
Joakim Gebart
9769d8adaf
sixlowpan: Fix conditions for 16 bit encoding of unicast destination
2015-03-25 08:08:04 +01:00
Joakim Gebart
34457017cf
sixlowpan: Fix conditions for encoding to 16 bit source addresses
2015-03-25 08:08:01 +01:00
Joakim Gebart
0b479b28e8
sixlowpan: Update reference to RFC 6282
2015-03-25 08:07:59 +01:00
Joakim Gebart
39c7566e11
sixlowpan: Decode 16-bit addresses correctly
...
10: 16 bits. The first 112 bits of the address are elided.
The value of the first 64 bits is the link-local prefix padded with zeros.
The following 64 bits are 0000:00ff:fe00:XXXX, where XXXX are the 16 bits carried in-line.
See https://tools.ietf.org/html/rfc6282
2015-03-25 08:07:55 +01:00
Joakim Gebart
f6bade32e6
rpl: Rename buffer->sixlowpan_buffer
2015-03-25 08:00:47 +01:00
Joakim Gebart
de7d6c7785
sixlowpan: rename global buffer->sixlowpan_buffer
2015-03-25 08:00:45 +01:00
Martine Lenders
cbe9aa6939
nettype: fix typo
2015-03-25 05:03:27 +01:00
Martine Lenders
70c1e4dd37
shell: adapt for new nettype_t value
2015-03-25 02:10:14 +01:00
Martine Lenders
79e76d05a0
nettype: introduce type for ng_netif_hdr_t
2015-03-25 02:10:14 +01:00
Hauke Petersen
f2e2cfd11c
shell/sc_netif: added means to control TX power
2015-03-24 22:16:50 +01:00
Hauke Petersen
227ff36e82
net/ng_pktdump: fixed memory leak
2015-03-24 22:14:16 +01:00
Hauke Petersen
5f77bbe1c8
Merge pull request #2563 from authmillenon/ng_pktbuf/fix/semantics
...
ng_pktbuf: change semantics for received packets
2015-03-24 16:49:49 +01:00
Martine Lenders
23d079bdf4
Merge pull request #2661 from authmillenon/ethertype/fix/byteorder
...
ng_ethernet: make ethertype network byte order
2015-03-24 15:57:54 +01:00
Cenk Gündoğan
7e19ef0536
rpl: remove needless initializers
2015-03-24 14:07:58 +01:00
Martine Lenders
db8cbc7afa
Merge pull request #2662 from authmillenon/ng_nomac/fix/receive
...
ng_nomac: fix receive
2015-03-24 01:15:15 +01:00
Martine Lenders
3fa96e5eb9
Merge pull request #2693 from haukepetersen/ng_netdev_fixconst
...
net/ng_netdev: made pointer to driver const
2015-03-23 23:23:25 +01:00
Martine Lenders
e431dc8171
Merge pull request #2585 from authmillenon/ng_nettype/api/translate
...
ng_nettype: add translation capabilities to ethertype and protnum
2015-03-23 21:47:47 +01:00
Martine Lenders
2526e4358a
Merge pull request #2666 from haukepetersen/ng_pktdump
...
net: added ng_netdump module
2015-03-23 20:33:01 +01:00
Ludwig Ortmann
90160d92d2
Merge pull request #2687 from cgundogan/rpl_debug_inst
...
rpl: edit debug message for instance == NULL
2015-03-23 18:48:14 +01:00
Martine Lenders
0e48448732
ng_nomac: fix receive with ng_netapi_receive()
2015-03-23 16:53:46 +01:00
Martine Lenders
326a402148
ng_netapi: introduce ng_netapi_receive()
2015-03-23 16:53:15 +01:00
Hauke Petersen
4968e54816
net/ng_netdev: made pointer to driver const
2015-03-23 16:20:25 +01:00
Hauke Petersen
497a3da9e3
net: added ng_pktdump module
2015-03-23 15:25:30 +01:00
Martine Lenders
21204dc3eb
ng_pktbuf: change semantics for received packets
2015-03-23 15:08:46 +01:00
Martine Lenders
678ca8dd79
ng_pkt: update documentation
2015-03-23 15:08:44 +01:00
Martine Lenders
d959c9265b
ng_nettype: fix documentation
2015-03-23 14:35:33 +01:00
Martine Lenders
fa59e3122c
ng_nettype: add translation capabilities to ethertype and protnum
2015-03-23 14:35:28 +01:00
Cenk Gündoğan
9bdcfcbe33
rpl: edit the debug message for instance == NULL
2015-03-22 19:07:31 +01:00
Martine Lenders
a4996395b0
Merge pull request #2665 from kushalsingh007/memleak
...
CppCheck: Removing memleak warning
2015-03-22 18:35:06 +01:00
Ludwig Ortmann
cf637942cc
*: add missing blank lines
...
Some functions had no blank lines to separate them from their
neighborhood.
2015-03-21 16:34:59 +01:00
Joakim Gebart
8865d9f25f
rpl: Fix DEBUG print which broke in 5585413ce0
...
rpl: pass rpl_instance_t directly instead of its id #2604
https://github.com/RIOT-OS/RIOT/pull/2604
2015-03-21 14:55:17 +01:00
Ludwig Ortmann
cbda26d7e9
Merge pull request #2590 from jhollister/malloc_osx_fix
...
cpu/native: Fix for missing malloc.h in OSX
2015-03-21 13:50:00 +01:00
James Hollister
93cff5613f
cpu/native: Fix for missing malloc.h in OSX
2015-03-21 01:41:54 -07:00
Martine Lenders
4c6ec9b013
Merge pull request #2596 from kushalsingh007/unused
...
CppCheck: Removing unusedVariable warnings
2015-03-20 22:20:38 +01:00
kushalsingh007
b180e80ee3
CppCheck: Removing memleak warning
...
- Changing the name of variable 'new' solved the problem.
2015-03-21 02:34:10 +05:30
Cenk Gündoğan
743f529efd
Merge pull request #2610 from cgundogan/rpl_remove_get_my_dodag_for_dio_dao
...
rpl: remove some usages of rpl_get_my_dodag
2015-03-20 20:19:43 +01:00
Cenk Gündoğan
f2b9b51adb
Merge pull request #2644 from cgundogan/rpl_pass_dodag_to_find_parent
...
rpl: pass dodag to the rpl_find_parent function
2015-03-20 19:52:33 +01:00
Martine Lenders
8111b15425
ng_ethernet: make ethertype network byte order
2015-03-20 18:45:24 +01:00
Martine Lenders
6a31fa80a7
Merge pull request #2568 from authmillenon/ng_netreg/feat/allow_nettype_undef
...
ng_netreg: Allow registration of NG_NETTYPE_UNDEF
2015-03-20 17:06:37 +01:00
Martine Lenders
72f91ad6be
Merge pull request #2659 from haukepetersen/ng_fix_scnetif_return
...
shell/sc_netif: added missing return statements
2015-03-20 16:28:08 +01:00
Hauke Petersen
2e2b0952fe
shell/sc_netif: added missing return statements
2015-03-20 15:10:01 +01:00
Hauke Petersen
506c97c4d9
shell/sc_netif: fixed output of PAN ID for decimal
2015-03-20 11:08:02 +01:00
Martine Lenders
09b1abcb4e
ng_netreg: Allow registration of NG_NETTYPE_UNDEF
2015-03-20 11:00:32 +01:00
kushalsingh007
e3d0471183
CppCheck: Removing unusedVariable warnings
...
-Suppressed warning which occured due to VDEBUG not being used.
-Added comment explaining reason to suppress the warning.
2015-03-20 04:26:30 +05:30
Cenk Gündoğan
1ab4f7c975
rpl: remove get_my_dodag dependency by passing the dodag as parameter
2015-03-19 19:54:30 +01:00
Cenk Gündoğan
5fb526fde8
rpl: pass dodag to the rpl_find_parent function
2015-03-19 19:47:08 +01:00
Cenk Gündoğan
1cd351e6b0
rpl: check all dodags when receiving DIS messages
2015-03-19 19:44:58 +01:00
Cenk Gündoğan
27f0c2fd3f
rpl: remove some usages of rpl_get_my_dodag
2015-03-19 19:08:01 +01:00
Oleg Hahm
52017a967a
Merge pull request #2545 from kushalsingh007/refactor_vtimer_set_msg
...
Changing return type of vtimer_set_msg
2015-03-19 17:24:40 +01:00
Oleg Hahm
bfe2c9a47f
Merge pull request #2622 from cgundogan/rpl_get_dodags_function
...
rpl: expose global rpl_dodags variable
2015-03-19 17:20:51 +01:00
Hauke Petersen
44ce49fce2
net/ng_netbase: added include of ng_netif/hdr.h
2015-03-19 15:28:41 +01:00
Martine Lenders
7027519f28
ng_ipv6: provide support for ng_netif
2015-03-19 15:13:17 +01:00
Martine Lenders
89a10f2630
Merge pull request #2629 from haukepetersen/ng_netbase
...
net: introduced ng_netbase pseudo module and header
2015-03-19 12:32:06 +01:00
Martine Lenders
631977fba6
Merge pull request #2637 from haukepetersen/ng_opt_netdev_send
...
net/ng_netdev: added error code to send()
2015-03-19 11:42:19 +01:00
Cenk Gündoğan
d7722c1766
rpl: expose global rpl_dodags variable
2015-03-19 11:03:43 +01:00
kushalsingh007
1dc6c3581f
vtimer: changing return type of several functions to void
...
- Changed the return type for vtimer_init,vtimer_set_msg and vtimer_remove.
- Current return value is not used anywhere and has no meaning attached to it.
- Fix for #1533
- Removed tests which checked for vtimer_set_msg being set.
- Done doxygen adaption for corresponding vtimer functions.
2015-03-19 03:56:00 +05:30
Oleg Hahm
942df88b0c
Merge pull request #2635 from OlegHahm/more_doc_cleanups
...
More documentation cleanups
2015-03-18 18:59:00 +01:00
Hauke Petersen
002fd2bc81
net/ng_netdev: added error code to send()
2015-03-18 18:34:19 +01:00
Oleg Hahm
dd0a6496f7
Merge pull request #2608 from cgundogan/rpl_make_send_DAO_aware_of_multiple_dodags
...
rpl: make send_DAO aware of multiple dodags
2015-03-18 17:17:25 +01:00
Oleg Hahm
f228586d9f
Merge pull request #2609 from cgundogan/rpl_make_send_DIO_aware_of_multiple_dodags
...
rpl: make send_DIO aware of multiple dodags
2015-03-18 17:16:33 +01:00
Hauke Petersen
7e8bc3f21c
net/ng_netdev: fixed missing include of kernel.h
2015-03-18 15:27:23 +01:00
Hauke Petersen
ed65ced885
net: re-ordered includes in ng_netreg + ng_pktbuf
2015-03-18 15:27:23 +01:00
Hauke Petersen
b84eb0478f
net/ng_nomac: made use of ng_netbase pseudo header
2015-03-18 15:27:23 +01:00
Hauke Petersen
9f58c28881
ng_net: introduced ng_netbase.h pseudo header
2015-03-18 15:27:23 +01:00
Oleg Hahm
c396a9009e
Merge pull request #2604 from cgundogan/rpl_use_instance_t_as_parameter
...
rpl: pass rpl_instance_t directly instead of its id
2015-03-18 14:45:48 +01:00
Oleg Hahm
3d411807c0
doc: fix and complemented some doxygen headers
2015-03-18 14:27:48 +01:00
Joakim Gebart
b67f8ca06c
Merge pull request #2504 from gebart/pr/sixlowpan-dest-addr-bcast
...
sixlowpan: Broadcast message when neighbour not found in cache.
2015-03-18 10:07:42 +01:00
Joakim Gebart
569d291838
Merge pull request #2543 from cgundogan/rpl_use_global_address
...
rpl: use global ip addresses instead of link-local ones
2015-03-18 09:21:14 +01:00
Cenk Gündoğan
f8408308d7
rpl: remove call to rpl_get_my_preferred_parent() in rpl_send_DAO, because of dependency to rpl_get_my_dodag()
2015-03-17 19:56:34 +01:00
Martine Lenders
dccd2ac484
Merge pull request #2613 from authmillenon/netif/fix/remove
...
ng_netif: cleanup array after remove
2015-03-17 01:26:46 +01:00
Martine Lenders
2f8d8ed07e
Merge pull request #2581 from authmillenon/shell/api/update_ifconfig
...
shell: port ifconfig for ng_netif
2015-03-17 01:26:02 +01:00
Martine Lenders
d6262df0d2
shell: port ifconfig for ng_netif
2015-03-16 16:46:31 +01:00
Martine Lenders
49e5938eb5
ng_netif: cleanup array after remove
2015-03-16 16:25:25 +01:00
Hauke Petersen
67b1237592
net/ng_nomac: adapted to net[api|dev] changes
2015-03-16 15:18:05 +01:00
Hauke Petersen
8124907f3a
net/ng_netapi: changed semantics of get function
2015-03-16 15:18:05 +01:00
Hauke Petersen
48c41661bc
net/ng_netdev: changed semantics of get function
2015-03-16 15:18:05 +01:00
Cenk Gündoğan
442e7b10b9
rpl: make send_DAO aware of multiple dodags
2015-03-16 12:38:17 +01:00
Cenk Gündoğan
4346513e4b
rpl: make send_DIO aware of multiple dodags
2015-03-16 12:26:17 +01:00
Cenk Gündoğan
a7c3807c29
rpl: remove unnecessary check for multiple instances
2015-03-16 09:52:06 +01:00
Cenk Gündoğan
5585413ce0
rpl: pass rpl_instance_t directly instead of its id
2015-03-16 09:35:14 +01:00
Martine Lenders
99e810e9b5
Merge pull request #2461 from authmillenon/ng_ipv6_nc/feat/initial
...
net: initial import of an IPv6 neighbor cache
2015-03-14 02:26:16 +01:00
Martine Lenders
e80e4fb181
Merge pull request #2580 from authmillenon/ng_netconf/api/add_src_len
...
ng_netconf: add source length identifier
2015-03-13 23:09:18 +01:00
Martine Lenders
c1708682e8
ng_ipv6_nc: Initial import
2015-03-13 20:42:47 +01:00
Martine Lenders
5b3cf47acd
ng_netconf: add source length identifier
...
The rational is that for devices with dual addressing modes (or more) as
for example IEEE 802.15.4 you can get or set these addressing modes for
the source address of a packet. The length of the destination address is clear
since it usually arrives through the `ng_netif_hdr_t`.
In case of IEEE 802.15.4 this is needed to determine the compression
state of source IPv6 addresses in 6LoWPAN IPHC.
2015-03-13 14:59:10 +01:00
Oleg Hahm
67abf81a02
Merge pull request #2576 from fnack/nhdp_ext_seqno
...
sys/nhdp: Add interface-specific sequence number to created RFC5444 packets
2015-03-13 13:52:36 +01:00
Oleg Hahm
0144bb589b
Merge pull request #2546 from authmillenon/ng_ipv6_addr/api/add_string_functions
...
[RFC] ng_ipv6_addr: add (optional) string conversion functions
2015-03-13 13:41:37 +01:00
Hauke Petersen
77edb92ed8
Merge pull request #2588 from authmillenon/nomac/fix/compilable
...
ng_nomac: add to sys/Makefile
2015-03-13 11:57:46 +01:00
Oleg Hahm
8537344db9
doc: update outdated vtimer documentation
...
vtimer was changed in 6ee5e737f9
to use a
user specified type for vtimer_set_msg(), but documentation didn't
reflect this new API.
2015-03-13 10:25:48 +01:00
Fabian Nack
133aeedea5
sys/nhdp: Add interface specific packet sequence number
2015-03-13 07:06:40 +01:00
Fabian Nack
48ce3d467c
sys/nhdp: Remove temp address lists to optimize hello processing
2015-03-13 06:57:06 +01:00
Martine Lenders
95432fadaa
ng_nomac: add to sys/Makefile
2015-03-12 21:57:18 +01:00
Martine Lenders
ba14149695
Merge pull request #2426 from haukepetersen/ng_nomac
...
net: added ng_nomac MAC implementation
2015-03-12 21:09:49 +01:00
Martine Lenders
0cca4867ea
ng_ipv6_addr: add string to address conversion function
2015-03-12 21:06:43 +01:00
Martine Lenders
9f2e2121c1
ng_ipv6_addr: add address to string conversion function
2015-03-12 21:06:41 +01:00
Fabian Nack
75e1467c58
Merge pull request #2549 from fnack/nhdp_opt_if
...
sys/nhdp: Allocate memory for NHDP's if table static
2015-03-12 20:10:35 +01:00
Hauke Petersen
549867b57e
net: added ng_nomac module
2015-03-12 17:15:39 +01:00
Fabian Nack
4d4b4bf348
sys/nhdp: Allocate memory for NHDP's if table static
2015-03-12 14:57:18 +01:00
Hauke Petersen
4bebf3b01a
net/nomac: removed legacy implementation
2015-03-12 13:55:24 +01:00
Martine Lenders
d67d983773
Merge pull request #2579 from authmillenon/net/feat/initial-ethertype-ethernet
...
net: initial import of ethertypes and the ethernet header
2015-03-12 13:01:16 +01:00
Martine Lenders
4364493051
ng_ethernet: intial import
2015-03-12 11:31:25 +01:00
Martine Lenders
dab8f9f6c0
ng_ethertype: initial import
2015-03-12 11:27:12 +01:00
Oleg Hahm
5a3a6e392c
Merge pull request #2584 from gebart/pr/auto-init-eui64-local
...
sys: Set Local bit in EUI64 generated from CPU ID
2015-03-12 10:39:54 +01:00
Oleg Hahm
7256a1399a
Merge pull request #2566 from kushalsingh007/fd
...
Changed description for fd_t::fd in sys/include/fd.h
2015-03-12 09:09:45 +01:00
Joakim Gebart
57bf21a471
sys: Set Local bit in EUI64 generated from CPU ID
2015-03-12 07:45:40 +01:00
kushalsingh007
cf75c04b41
fd: Clean-up documentation and rename members
...
-Fixes #1759
-Changes fd_t::__active to fd_t::internal_active
-Changes fd_t::fd to fd_t::internal_fd
-Made changes in the associated files that use the above fields.
2015-03-12 10:31:37 +05:30
Joakim Gebart
5286b68f2e
Merge pull request #2573 from kushalsingh007/scope
...
Reducing the scope of variable after running static code analyser.
2015-03-11 14:18:25 +01:00
Cenk Gündoğan
5d382b4ac8
rpl: use global ip addresses instead of link-local ones
2015-03-10 20:51:58 +01:00
Hauke Petersen
40f7227c02
sys/shell: added (ng_)netif shell commands
2015-03-10 17:43:48 +01:00
kushalsingh007
3dbe4cd8af
Reducing the scope of variable after running static code analyser.
...
- Part of fix for issue number 480 (variableScope)
- Suppression of warnings that are not needed.
2015-03-10 22:03:18 +05:30
Hauke Petersen
b9f4cdc3ae
Merge pull request #2559 from authmillenon/ng_netdev/doc/fixes
...
ng_netdev: fix some documentation and a suggestion for a type change
2015-03-10 15:14:05 +01:00
Hauke Petersen
3540ff9a26
Merge pull request #2560 from authmillenon/ng_netif_hdr/fix/static-inline
...
ng_netif_hdr: make inline functions static
2015-03-10 14:23:32 +01:00
Joakim Gebart
bda0b999bd
Merge pull request #2522 from cgundogan/rpl_prefix_info
...
rpl: implement basic prefix information option for DIOs
2015-03-10 14:00:01 +01:00
Joakim Gebart
0bc3ff5b19
rpl: Send DAOs for adding /128 routes (host-only) to the parent instead of /16
2015-03-10 12:35:09 +01:00
kushalsingh007
390e030f84
Removing the warnings after running static code analyser.
...
-Changes to fix all the clarifyCalulation warnings.
-Fixes a part of issue number 480
2015-03-10 04:08:43 +05:30
Martine Lenders
b540e65e72
ng_netif_hdr: simplify address getter/setter
2015-03-09 17:36:33 +01:00
Martine Lenders
081784d16a
ng_netif_hdr: fix documentation
2015-03-09 03:52:12 +01:00
Martine Lenders
84713f4873
ng_netif_hdr: make inline functions static
2015-03-08 22:54:06 +01:00
Martine Lenders
c66612b50b
ng_netdev: change event_type to same type as msg_t::content::value
2015-03-08 22:42:35 +01:00
Martine Lenders
fd0d83711a
ng_netdev: fix documentation
2015-03-08 22:41:35 +01:00
Oleg Hahm
c1fe7f0095
ccnl: correct debug output
2015-03-05 16:27:37 +01:00
Martine Lenders
878bc94b38
ng_netif: Add missing include
2015-03-04 18:30:45 +01:00
Johann Fischer
939f07aab8
sys/net/network_layer/sixlowpan/lowpan.c: add udp header decompression
2015-03-04 18:18:27 +01:00
Lotte Steenbrink
1793eb7ec8
Merge pull request #2450 from authmillenon/netreg/api/pointer-based
...
RFC: netreg: move to pointer-based API
2015-03-04 15:33:15 +01:00
Björn Lichtblau
2ee6ff0cfd
sys/vtimer: Fix longterm_tick_timer handling.
...
Before, the longterm_tick_timer had special handling in update_shortterm.
This approach was bad because the longterm_tick_timer's shooting microseconds time
had different semantics like the rest and thus it could end up in a blocking
position in the priority queue at some point in time, although it should
get executed at another point in time.
Made the longterm_tick_timer handling / meaning of its microseconds the same
as the other timers and also removed seconds, because it is now the same
as longertm_tick_timer.absolute.seconds.
See also https://github.com/RIOT-OS/RIOT/pull/2515
2015-03-04 13:52:19 +01:00
Martine Lenders
ec5f686cd0
netreg: move to pointer-based API
...
Moving to a pointer-based API simplifies a lot, since there is no need
for an internal pool of entries anymore. Therefore, a lot of
organizational overhead and some restrictions (e.g. an upper limit on
entries) are dropped.
The entries can be stored in the stack of the respective thread.
2015-03-04 13:17:00 +01:00
Joakim Gebart
70cf054b5e
sixlowpan: Broadcast message when neighbour not found in cache.
2015-03-04 08:47:10 +01:00
Oleg Hahm
a846409a55
Merge pull request #2523 from gebart/pr/lowpan-eui-short-addr-local
...
sixlowpan: Handle short hardware addresses correctly
2015-03-04 02:38:40 +01:00
Martine Lenders
36c757b8c8
Merge pull request #2448 from haukepetersen/fix_doc_shell
...
sys/shell: fixed and unified doxygen headers
2015-03-03 23:14:46 +01:00
Thomas Eichinger
8b5f784e0b
Merge pull request #2446 from thomaseichinger/ng_netconf_reset
...
net/ng_netconf: improve comment describing NETCONF_STATE_*
2015-03-03 23:07:43 +01:00
Thomas Eichinger
40062c3ac3
net/ng_netconf.h: fix doxygen comments
2015-03-03 23:06:32 +01:00
Joseph Noir
f614d4b186
Merge pull request #1222 from BytesGalore/add_pthread_simple_tls
...
Everything seems to work, so here we go: sys:posix:pthread added dynamic pthread thread local storage
2015-03-03 22:38:27 +01:00
haukepetersen
b6ca321270
net/ng_pktbuf: added missing #inlcude <stdio.h>
2015-03-03 22:12:16 +01:00
Hauke Petersen
be9987292f
net: added generic network interface header format
2015-03-03 22:00:46 +01:00
Cenk Gündoğan
d6242360da
net_if: proper u/l-bit inversion for short addresses
2015-03-03 20:03:54 +01:00
Joakim Gebart
2aa031e7c7
sixlowpan: Set U/L bit in short address to local.
2015-03-03 19:56:11 +01:00
Joakim Gebart
4520d31d3d
net-if: Set U/L bit in short address to local.
2015-03-03 19:56:11 +01:00
Cenk Gündoğan
c60450df4c
rpl: implement basic prefix information option for DIOs
2015-03-03 19:36:14 +01:00
Martine Lenders
714c912a88
Merge pull request #2519 from haukepetersen/ng_netapi_fixes
...
net/ng_netapi: fixed implementation
2015-03-03 18:17:40 +01:00
Hauke Petersen
2323c08d32
sys/shell: fixed and unified doxygen headers
...
- changed doxygen group name to sys_shell
- added some missing fields
- unified the doxygen header format
2015-03-03 18:10:06 +01:00
Hauke Petersen
e7466b1dad
Merge pull request #2513 from gebart/pr/udp-delete-unused-csum-func
...
udp: Delete unused udp_csum function.
2015-03-03 18:08:52 +01:00
Hauke Petersen
45ce082ad6
net/ng_netapi: fixed implementation
...
- renamed opt variable in _get_set
- fixed msg type MACRO names
2015-03-02 18:44:33 +01:00
Johann Fischer
90ab40657a
sys/net/network_layer/sixlowpan/lowpan.c: reduce scope of debug variable
2015-03-02 18:42:38 +01:00
Joakim Gebart
824c0a3daf
udp: Delete unused udp_csum function.
...
udp_csum is never referenced anywhere in the tree, not even in a header file.
2015-03-02 12:32:02 +01:00
Joakim Gebart
726bdf9d7b
Merge pull request #2512 from cgundogan/ip_d_addr_unused
...
ip: use d_addr instead of s_addr when setting the destaddr
2015-03-02 12:23:11 +01:00
03Lichtbla76
645ba51eba
sys/vtimer: Fix two vtimer issues (hwtimer tick conversion).
...
vtimer does not handle well the different timers (vtimer <-> hwtimer)
with regard to their overflows:
* in update_shortterm HWTIMER_TICKS cannot be just applied to next, this will be wrong when next overflows.
* in vtimer_now wrong parentheses mix up vtimer and hwtimer ticks.
Maybe related issues:
* https://github.com/RIOT-OS/RIOT/issues/2435
* https://github.com/RIOT-OS/RIOT/issues/1753
2015-03-02 11:52:00 +01:00
Cenk Gündoğan
c3fc24700c
rpl: use d_addr instead of s_addr when setting the destaddr
2015-03-02 10:33:45 +01:00
Cenk Gündoğan
3832fc57f5
Merge pull request #2496 from gebart/pr/6lowpan-print-addr
...
sixlowpan: Properly print source address when ENABLE_DEBUG
2015-03-02 08:21:42 +01:00
Joakim Gebart
dcebfe55a4
Merge pull request #2491 from cgundogan/rpl_use_all_rpl_nodes_addr
...
rpl: use the all-RPL-nodes multicast address
2015-02-28 11:08:09 +01:00
Joakim Gebart
911bf20749
Merge pull request #2494 from gebart/pr/transceiver-frame-size
...
sys/net/transceiver: Copy the entire frame for AT86RF231 and CC2420
2015-02-27 09:56:21 +01:00
Martine Lenders
bafafe7b8a
Merge pull request #2497 from gebart/pr/lowpan-eui64-inv-local-bit
...
sixlowpan: Invert local/universal bit in EUI-64 when forming IPv6 Interface Identifiers.
2015-02-27 09:34:46 +01:00
Joakim Gebart
578eb38c38
sixlowpan: Properly print source address when ENABLE_DEBUG
2015-02-26 19:22:07 +01:00
Joakim Gebart
db59de6c2e
sixlowpan: Refactor DAC/DAM decoding to match SAC/SAM implementation.
2015-02-26 13:53:07 +01:00
Joakim Gebart
9933a431e3
sixlowpan: Refactor SAC/SAM decoding.
2015-02-26 12:19:30 +01:00
Joakim Gebart
ff6f8ff82b
sixlowpan: Invert local/universal bit in EUI-64 when forming IPv6 Interface Identifiers.
2015-02-26 09:59:28 +01:00
Joakim Gebart
1eee289cb4
rpl: Make addr_str static
2015-02-26 09:56:52 +01:00
Joakim Gebart
716f48dc0f
sys/net/transceiver: Copy the entire frame for AT86RF231 and CC2420
...
The previous code could cause either cut off addresses or buffer overflows. This change modifies it to copy the entire frame.
2015-02-26 09:55:16 +01:00
Cenk Gündoğan
1d4d3fa1c1
rpl: use the all-RPL-nodes multicast address
2015-02-25 20:33:13 +01:00
Fabian Nack
d9480cadfc
sys - nhdp: Add nhdp impl
2015-02-24 11:50:58 +01:00
Fabian Nack
2143d572d0
sys/timex: Defines for time calculations
2015-02-24 11:50:42 +01:00
José Roberto de Souza
237e3f4dcb
sys/posix: fix strncasecmp
...
This should be a OR or when comparing only parts os strings would
return a wrong value.
const char *first = "testA";
const char *second = "test";
uint8_t contains = strncasecmp(first, second, strlen(second));
2015-02-23 11:24:01 -03:00
Oleg Hahm
4e80d80e94
Merge pull request #2365 from cgundogan/rpl_refactor_modes
...
rpl: remove duplicate code by merging rpl_storing.c and rpl_nonstoring.c
2015-02-22 21:22:56 +01:00
Cenk Gündoğan
d6e8e57d1f
rpl: merge storing/non-storing to reduce the amount of redundant code
2015-02-21 15:36:28 +01:00
Martine Lenders
51363f9631
Merge pull request #2451 from authmillenon/sys/enh/remove-deprecated-modules
...
sys: clean-up Makefile
2015-02-21 15:31:26 +01:00
Cenk Gündoğan
fbf3296ca5
Merge pull request #2462 from BytesGalore/rpl_fix_hardfault_on_no_ocp
...
sys/net/routing/rpl: catch hardfault when OCP from DIO is not supported
2015-02-21 13:32:01 +01:00
Oleg Hahm
8ad299882c
Merge pull request #2191 from cgundogan/rpl_remove_send_mutex
...
rpl: remove send mutex
2015-02-21 13:30:09 +01:00
Martine Lenders
d198724981
sys: clean-up Makefile
2015-02-20 20:20:47 +01:00
Martine Lenders
dad4e8d5df
Merge pull request #2433 from authmillenon/ng_ipv6_addr/feat/initial
...
ng_ipv6_addr: initial import
2015-02-20 19:27:17 +01:00
Martine Lenders
ff36abb2cf
ng_ipv6_addr: initial import
...
The motivation behind this module is to allow for address handling
functions where they, but not the full IPv6 functionality might be
needed. This new version of the IPv6 address data type utilizes the
byteorder.h header to enforce network byte-order on its members.
2015-02-20 17:40:26 +01:00
BytesGalore
9e0ccc395a
sys/net/routing/rpl: catch hardfault when OCP from DIO is not supported
2015-02-19 19:05:27 +01:00
Ludwig Ortmann
4f29a7757e
Merge pull request #2285 from authmillenon/pktbuf/api/use-pkt
...
pktbuf: port to use pkt_t instead of void*
2015-02-19 14:46:15 +01:00
Martine Lenders
41f60aca4c
pktbuf: port to use ng_ version
2015-02-19 13:51:27 +01:00
Hauke Petersen
f33938078b
net/ng_netdev: changed return value of rem_cb
2015-02-18 18:05:23 +01:00
Oleg Hahm
ccd3db6ae8
Merge pull request #2431 from BytesGalore/fix_rpl_correct_byte_order
...
sys/net/routing/rpl: apply correct byte order for RPL messages
2015-02-17 21:46:05 +01:00
BytesGalore
5a0eba2b1e
sys/net/routing/rpl: apply correct byte order for RPL messages
2015-02-17 20:41:11 +01:00
Oleg Hahm
a6e902ff42
Merge pull request #2455 from authmillenon/ng_protnum/feat/initial
...
ng_protonum: Initial import of protocol number defines
2015-02-17 19:54:13 +01:00
Martine Lenders
c4e6504c8e
ng_protonum: Initial import of protocol number defines
2015-02-17 19:17:14 +01:00
Martine Lenders
1126c97dcf
ng_pktqueue: fix documentation
2015-02-15 12:57:43 +01:00
Martine Lenders
fc441064b9
ng_pkt: fix documentation
2015-02-15 12:57:43 +01:00
Martine Lenders
3837e31f59
ng_nettype: fix documentation
2015-02-15 12:57:42 +01:00
Martine Lenders
d32aa48413
ng_netreg: fix documentation
2015-02-15 12:57:42 +01:00
Martine Lenders
84754c1b83
ng_netif: fix documentation
2015-02-13 12:43:42 +01:00
Martine Lenders
580eb63835
ng_netdev: fix documentation
2015-02-13 12:43:37 +01:00
Martine Lenders
0b95b3ae40
ng_netconf: fix documentation
2015-02-13 12:42:46 +01:00
Martine Lenders
c601b72ba7
ng_netapi: fix documentation
2015-02-13 12:42:24 +01:00
Martine Lenders
c80c04d6ed
netreg: Initial import
2015-02-12 16:13:38 +01:00
Martine Lenders
e6f21eee97
Merge pull request #2441 from thomaseichinger/ng_netconf_reset
...
net/ng_netconf: add reset state to ng_netconf_state_t
2015-02-12 15:01:47 +01:00
Martine Lenders
c6777ffeed
Merge pull request #2427 from authmillenon/netapi/api/naming-fixup
...
netdev: unify msg type macro with msg type macros in netapi
2015-02-12 12:02:50 +01:00
Thomas Eichinger
6a425b5784
net/ng_netconf: add reset state to ng_netconf_state_t
2015-02-12 11:48:34 +01:00
Martine Lenders
15a6e2066d
netdev: piggy-back some formatting error
2015-02-11 20:04:58 +01:00
Ludwig Ortmann
a6d9b57930
Merge pull request #2436 from LudwigOrtmann/pr/nstf_doxygen_fixup
...
nstf doxygen fixup
2015-02-11 18:10:55 +01:00
Johann Fischer
2c703e5732
Merge pull request #2434 from jfischer-phytec-iot/fix@recv_ieee802154_frame
...
Fix packet processing in mac layer.
2015-02-11 16:12:08 +01:00
Ludwig Ortmann
c6fb00a235
netconf: fix doxygen
2015-02-11 13:44:08 +01:00
Ludwig Ortmann
eaa9102a6a
netif: fix doxygen
2015-02-11 13:42:06 +01:00
Martine Lenders
b208371163
Merge pull request #2417 from authmillenon/netif/feat/initial
...
netif: Initial import of ng_* version
2015-02-11 12:41:54 +01:00
Martine Lenders
cfc64ff4de
Merge pull request #2342 from authmillenon/pkt/api/simplify
...
pkt: simplify API
2015-02-11 12:41:43 +01:00
Johann Fischer
ce423816af
sys/net/network_layer/sixlowpan/mac.c: add missing p->processing--;
2015-02-11 11:57:46 +01:00
Martine Lenders
cb74094edd
pktqueue: adapt to change in pkt.h
2015-02-11 11:01:33 +01:00
Martine Lenders
7317097db2
pkt: simplify API
2015-02-11 11:01:33 +01:00
Martine Lenders
894cd964f9
netif: Initial import of ng_* version
2015-02-11 10:52:51 +01:00
Martine Lenders
934806394f
netdev: unify msg type macro with msg type macros in netapi
2015-02-10 18:19:04 +01:00
Hauke Petersen
c2cfd89fa5
net/ng_netapi: fixed get/set msg type macro names
2015-02-10 18:04:32 +01:00
Hauke Petersen
bf95a8f089
Merge pull request #2425 from haukepetersen/ng_fix_netdev
...
net/ng_netdev: fixed msg type macro name
2015-02-10 17:46:05 +01:00
Hauke Petersen
157fea687b
Merge pull request #2424 from haukepetersen/ng_fix_netapi
...
net/ng_netapi: fixed typo
2015-02-10 17:45:56 +01:00
Hauke Petersen
f9e2404772
net/ng_netdev: fixed msg type macro name
2015-02-10 17:26:49 +01:00
Hauke Petersen
28ad246c9f
net/ng_netapi: fixed typo
2015-02-10 17:25:15 +01:00
Ludwig Ortmann
4172566fb7
Merge pull request #2423 from LudwigOrtmann/pr/unittest-doc
...
unittest doxygen fixup
2015-02-10 17:17:11 +01:00
Ludwig Ortmann
bfd34a6855
Merge pull request #2421 from LudwigOrtmann/pr/netdev_ng_fixup
...
netdev_ng fixup
2015-02-10 16:55:35 +01:00
Ludwig Ortmann
5db7cb8cc5
sys/embunit: don't doxygen embunit.h content
2015-02-10 15:42:33 +01:00
Ludwig Ortmann
7b0e3c7f74
sys/embunit: add wiki link
2015-02-10 15:42:33 +01:00
Ludwig Ortmann
9d6a3ac46a
sys/embunit: fix doxygen declaration
2015-02-10 15:42:33 +01:00
Martine Lenders
e5e1d0dd6d
Merge pull request #2397 from authmillenon/nettype/feat/initial
...
nettype: intial import
2015-02-10 15:10:08 +01:00
Lotte Steenbrink
52d51a781a
Merge pull request #2419 from BytesGalore/lowpan_release_mutex_on_unknown_iphc
...
sys/net/sixlowpan: prevent deadlock when no IPHC context is recognized
2015-02-10 14:46:35 +01:00
Hauke Petersen
d46d6541c1
Merge pull request #2399 from haukepetersen/ng_netconf
...
ng_net: add global configuration options
2015-02-10 14:26:27 +01:00
Ludwig Ortmann
8234bc87e7
ng_net: unify header guard
2015-02-10 14:22:36 +01:00
Ludwig Ortmann
3f055f18dd
ng_net: fix doxygen group
2015-02-10 14:22:15 +01:00
Martine Lenders
09ebb0e89c
Merge pull request #2400 from haukepetersen/ng_netapi
...
ng_net: add new version of NETAPI
2015-02-10 14:03:27 +01:00
Martine Lenders
9d36c05398
nettype: intial import
2015-02-10 13:32:10 +01:00
BytesGalore
c7eea4d0d5
sys/net/sixlowpan: change to release lowpan.c::lowpan_context_mutex
when no context is recognized
2015-02-10 12:27:56 +01:00
Hauke Petersen
c5c9c3dfab
ng_net: added global configuration options
2015-02-10 11:41:27 +01:00
Hauke Petersen
87e2b6db50
ng_net: added new version of NETAPI
2015-02-10 11:34:56 +01:00
Hauke Petersen
71496771c5
net: added ng version of the netdev interface
2015-02-09 18:53:04 +01:00
Martine Lenders
fe29514597
Merge pull request #2411 from cgundogan/ip_static_addr_str
...
ip: make addr_str static
2015-02-08 22:15:08 +01:00
Ludwig Ortmann
dd2da2fb71
Merge pull request #2405 from cgundogan/restrict_with_leading_underscores
...
Use `__restrict` instead of `restrict`
2015-02-08 22:07:23 +01:00
Cenk Gündoğan
4347039e88
ip: make addr_str static
...
When setting the `ENABLE_DEBUG` flag to *1* in ip.c,
the **rpl_udp** example won't compile, because the variable `addr_str`
is also defined in **rpl_udp.h** as extern.
Prefixing `addr_str` with `static` in ip.c solves this problem.
2015-02-08 22:07:19 +01:00
Martine Lenders
498313a23f
doc: Add mail address where it is missing
2015-02-08 19:41:14 +01:00
Cenk Gündoğan
3ff5231ffd
sys: restrict => __restrict
2015-02-08 19:19:50 +01:00
Martine Lenders
0eb2d78dda
doc: use my real name
2015-02-08 18:52:16 +01:00
BytesGalore
4b189b6e58
rpl: added configurable RPL MOP on compile time
...
- e.g. `make RPL_MOP=RPL_MOP_NON_STORING_MODE`
- changed the MOP defines to have `RPL_MOP_*` prefix
2015-02-05 19:17:51 +01:00
Christian Mehlis
f69a5ae1f6
Merge pull request #2374 from cgundogan/bloom_doc_bytes_bits
...
sys/bloom: changed doc from bytes -> bits
2015-02-03 18:16:27 +01:00
Cenk Gündoğan
13e7bbccfc
rpl: wrong length for DAO options
2015-02-03 11:47:07 +01:00
Cenk Gündoğan
c14217c68e
rpl: introduce constants for PREFIX_INFO length with/without RPL_OPT_LEN
2015-02-03 10:41:28 +01:00
Cenk Gündoğan
26095013a1
rpl: introduce constants for DODAG_CONF length with and without RPL_OPT_LEN
2015-02-03 10:41:27 +01:00
Cenk Gündoğan
432688accb
rpl: wrong length of DIO options
...
Currently, the DIO options `dodag conf` and `prefix info` are off by two
bytes in their `length` field. The RFC states, that the length field
should not include the option `type` field and the `length` field (two bytes).
For Prefix Info Option: Option Length: 30 (RFC 6550, P.61)
For Dodag Conf Option: Option Length: 14 (RFC 6550, P.52)
Wireshark complains about DIOs as malformed packets, otherwise.
Can be reproduced by running the rpl_udp example and logging the DIOs
via wireshark.
2015-02-03 10:41:27 +01:00
Cenk Gündoğan
eb202ffe6d
rpl: remove unsused warning
2015-02-02 12:54:58 +01:00
Cenk Gündoğan
f3c6ef7e66
rpl: remove common globals by prefixing with static
2015-02-02 12:54:58 +01:00
Oleg Hahm
5792f37e87
Merge pull request #2367 from x3ro/fix-orphaned-debug-outputs
...
Fix misc errors that occur with ENABLE_DEBUG
2015-01-30 11:05:44 +01:00
Lucas Jenss
8e758d7463
sys: Misc errors that occur w/ ENABLE_DEBUG fixed
...
I enabled debug output in all files to poke around
and there were some errors (seemingly) due to code
changes that were not tested with debug enabled. This
commits tries to fix these issues.
2015-01-30 01:36:28 +01:00
Cenk Gündoğan
5c77530da4
sys/bloom: changed doc from bytes -> bits
2015-01-29 15:06:01 +01:00
Oleg Hahm
6715bccf5b
Merge pull request #2190 from cgundogan/rpl_new_parent_dodag_assignment
...
rpl: wrong dodag assignment to parent
2015-01-29 11:24:38 +01:00
Martin Landsmann
6e90ad6d73
sys/posix/pthread: added dynamic pthread thread local storage
2015-01-27 23:04:12 +01:00
BytesGalore
714ee38355
boards: core: cpu: drivers: sys: added missing header guards
2015-01-27 19:10:57 +01:00
Cenk Gündoğan
993f7cc7c6
rpl: remove rpl_send_mutex
...
This PR is based on #2155 .
Since RPL/Trickle is only using one thread in #2155 , the send mutex becomes
obsolete and can be removed safely.
2015-01-27 12:35:41 +01:00
Joakim Gebart
f71f8322d9
Merge pull request #2348 from gebart/pr/fno-common-fixes1
...
Removing (some) common globals, working towards #2346
2015-01-26 09:11:10 +01:00
Joakim Gebart
14b4418e6b
transceiver: Reduce scope of globals in transceiever.c.
2015-01-23 20:06:40 +01:00
Joakim Gebart
3f4478e2bb
sixlowpan: Reduce scope on some globals in ip.c
2015-01-23 19:46:26 +01:00
Joakim Gebart
c5e1683a8c
rpl: Make ipv6_buf local.
2015-01-23 19:46:26 +01:00
Joakim Gebart
526a84093b
rpl: Remove extra definition of rpl_process_pid.
2015-01-23 19:46:26 +01:00
Joakim Gebart
6a810fe989
sys/net/routing: reduce scope of globals in etx_beaconing.c
2015-01-23 18:01:28 +01:00
Joakim Gebart
cd248f89f0
sixlowpan: reduce scope of globals in mac.c
2015-01-23 14:04:59 +01:00
haukepetersen
df9dabfa7d
net/udp: cleaned up header and documentation
2015-01-22 14:23:03 +01:00
Ludwig Ortmann
3d2b328288
sys/vtimer: bypass weak attribute missing on OSX
2015-01-22 10:24:27 +01:00
Oleg Hahm
f6a415a3d9
Merge pull request #2306 from cgundogan/rpl_no_macros_for_shell
...
rpl: wrong macro definitions in rpl shell commands
2015-01-16 22:00:11 +01:00