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

2227 Commits

Author SHA1 Message Date
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
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