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

2682 Commits

Author SHA1 Message Date
Oleg Hahm
4a8e897c0e doc: minor fixing for crypto module
Moves the crypto module documentation to the right group and streamline the doxygen keywords.
2015-08-26 10:42:50 +02:00
Martine Lenders
293c5322de Merge pull request #3137 from authmillenon/slip/fix/some-fixes
gnrc_slip: Fixes
2015-08-25 22:19:37 +02:00
bd40b2c56b Merge pull request #3661 from authmillenon/auto_init/api/auto_init_gnrc_netif
sys: auto_init: rename auto_init_ng_netif to auto_init_gnrc_netif
2015-08-25 21:17:19 +02:00
Martine Lenders
8609678bcd ng_slip: port to ng_netapi_dispatch_receive() 2015-08-25 20:40:52 +02:00
Martine Lenders
b66ada2ae7 ng_slip: fix auto initialization 2015-08-25 20:40:52 +02:00
Martine Lenders
b47c4af50b ng_slip: fix some bugs 2015-08-25 20:40:51 +02:00
6d1aab7126 Merge pull request #2926 from kaspar030/wtimer
sys: add new timer subsystem
2015-08-25 19:20:07 +02:00
Andreas "Paul" Pauli
8855f593e2 Merge pull request #3676 from authmillenon/doc/fix/net
doc: fix and update net and net_gnrc documentation
2015-08-25 18:48:01 +02:00
Martine Lenders
f81f43ea38 gnrc_udp: fix #3707 2015-08-25 18:12:59 +02:00
Martine Lenders
8a07f8c548 gnrc_ipv6: fix #3707 2015-08-25 17:48:17 +02:00
808a8bc899 sys: xtimer: introduce new timer subsystem 2015-08-25 13:20:35 +02:00
02bc3ffb79 sys: timex: add "U" specifiers to constant definitions 2015-08-25 13:18:16 +02:00
Martine Lenders
882080460a Merge pull request #3660 from authmillenon/af/api/initial
af: initial import of global AF_ definition header
2015-08-25 09:14:44 +02:00
Martine Lenders
ac0e2f4371 net: remove redefinitions and their dependencies throughout the stack 2015-08-24 13:13:53 +02:00
Martine Lenders
ecb2bb5c2b af: initial import of global AF_ definition header 2015-08-24 13:13:52 +02:00
Martine Lenders
4cc2742a1a gnrc_ipv6: make IPv6 dependencies optional 2015-08-24 00:45:07 +02:00
Cenk Gündoğan
b604c99155 rpl: rename defines from NG_ to GNRC_ 2015-08-23 18:29:16 +02:00
Martine Lenders
4f68b81361 doc: expand nettype doc + simplify @brief 2015-08-22 14:27:00 +02:00
Martine Lenders
2cbeab4521 doc: fix and update net and net_gnrc documentation 2015-08-22 14:27:00 +02:00
Martine Lenders
a3dfd908f5 Merge pull request #3685 from OlegHahm/dont_forward_ll
gnrc_ipv6: do not forward link-local packets
2015-08-22 00:02:08 +02:00
Martine Lenders
c1e24d449e Merge pull request #3584 from cgundogan/pr/seqno
sys: Serial Number Arithmetic (RFC1982)
2015-08-21 23:55:08 +02:00
Oleg Hahm
0c14734a02 gnrc_ipv6: do not forward link-local packets 2015-08-21 23:46:43 +02:00
Oleg Hahm
8977cc1175 Merge pull request #3675 from authmillenon/gnrc_ipv6/fix/check-mtu
gnrc_ipv6: check link MTU before sending
2015-08-21 23:45:52 +02:00
Cenk Gündoğan
fce30a1d6c sys/seq: Serial Number Arithmetic 2015-08-21 23:30:04 +02:00
Cenk Gündoğan
04a8c159d1 Merge pull request #3674 from authmillenon/gnrc_sixlowpan/fix/max-datagram-size
gnrc_sixlowpan: don't send packets that exceed maximum datagram size
2015-08-21 23:08:53 +02:00
Martine Lenders
52c57be621 gnrc_sixlowpan: don't send packets that exceed maximum datagram size 2015-08-21 22:51:54 +02:00
Martine Lenders
e5b03dfddd netdev_eth: return payload length instead of frame length 2015-08-21 19:05:54 +02:00
Martine Lenders
942d774a44 shell: ifconfig: add support for IPv6 MTU 2015-08-21 19:05:53 +02:00
Martine Lenders
d88ae14d90 gnrc_ipv6: check link MTU before sending 2015-08-21 19:05:53 +02:00
Martine Lenders
f1864fd2b6 gnrc_ipv6_netif: initialize MTU from device, if possible 2015-08-21 19:05:52 +02:00
Oleg Hahm
79ac710ee5 Merge pull request #3677 from cgundogan/pr/rpl/cleanup
rpl: minor cleanup
2015-08-21 14:59:36 +02:00
Cenk Gündoğan
5ee36c6ac4 rpl: minor code cleanup 2015-08-21 13:54:39 +02:00
Cenk Gündoğan
baa57a6fc9 rpl: parse DIO and options only from pref. parent 2015-08-21 13:17:07 +02:00
d18cb7a9c3 sys: add netopt to string map function and netopt module 2015-08-21 11:03:56 +02:00
Oleg Hahm
155b91bd06 Merge pull request #3655 from OlegHahm/fib_multiple_instances
fib: allow for multiple instances of FIB
2015-08-20 16:39:13 +02:00
Oleg Hahm
1f7da4e436 Merge pull request #3659 from cgundogan/pr/rpl/dao_global_instance
rpl: omit dodag id in DAO(-ACK) for global instances
2015-08-20 15:54:51 +02:00
Oleg Hahm
4267212502 fib: allow for multiple instances of FIB 2015-08-20 15:47:27 +02:00
Oleg Hahm
bf00a19998 Merge pull request #3670 from cgundogan/pr/universal_address/docfix
universal_address: minor dox fixes
2015-08-20 14:48:56 +02:00
Cenk Gündoğan
5322205d34 universal_address: minor doc fixes 2015-08-20 13:59:43 +02:00
Martine Lenders
ab9d57dec5 gnrc_sixlowpan_iphc: set correct length for IPv6 header 2015-08-20 12:35:44 +02:00
Cenk Gündoğan
2ae99d9073 rpl: remove superfluous ifdef MODULE_IPV6_ADDR 2015-08-20 08:41:10 +02:00
Cenk Gündoğan
0894343092 rpl: omit dodag id in DAO(-ACK) for global instances 2015-08-20 08:41:10 +02:00
Martine Lenders
d438984ae5 Merge pull request #3669 from cgundogan/pr/gnrc/ipv6/remove_padding
gnrc_ipv6.c: remove padding added by lower layers
2015-08-20 08:35:03 +02:00
Cenk Gündoğan
29ccba3e2f gnrc_ipv6.c: remove padding added by lower layers 2015-08-20 00:10:37 +02:00
Joakim Gebart
56b0beeebe Merge pull request #3107 from gebart/pr/cppsupport
c++: Define some support functions required by GCC
2015-08-19 21:49:24 +02:00
Martine Lenders
6dc125e08b gnrc_sixlowpan: compare with actual packet size for fragmentation
Not with the uncompressed version
2015-08-19 17:51:54 +02:00
Martine Lenders
c2706ef492 auto_init: rename auto_init_ng_netif to auto_init_gnrc_netif 2015-08-19 17:21:28 +02:00
Martine Lenders
4d3c55f42b ng_slip: fix DEBUG output 2015-08-19 00:07:55 +02:00
Oleg Hahm
4d00996521 Merge pull request #3645 from authmillenon/gnrc/api/master-mv
gnrc: make all gnrc modules sub-modules of gnrc
2015-08-18 23:38:00 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
Martine Lenders
3ab2907a6e Merge pull request #3656 from authmillenon/ipv6_addr/doc/fix
ipv6_addr: adapt doc to proposed changes in #3608
2015-08-18 22:36:23 +02:00
Martine Lenders
6b22e15a54 Merge pull request #3657 from cgundogan/pr/rpl/doc_verbose
rpl: make urls in doc more verbose
2015-08-18 20:23:44 +02:00
Martine Lenders
cb63a4e221 Merge pull request #3489 from cgundogan/ng_rpl_prefix_info
ng_rpl: auto address configuration
2015-08-18 20:23:21 +02:00
Martine Lenders
70d40f17b0 Merge pull request #3653 from authmillenon/gnrc_rpl/fix/deps
gnrc_rpl: fix dependencies
2015-08-18 20:22:30 +02:00
Martine Lenders
d0f530da8e Merge pull request #3602 from authmillenon/ndp/api/take-out-msg-types
ndp: move type definitions out of ng_ context
2015-08-18 20:22:08 +02:00
Cenk Gündoğan
28dbd1f9fa rpl: make urls in doc more verbose 2015-08-18 19:07:15 +02:00
Martine Lenders
618a765bdc ndp: move type definitions out of ng_ context 2015-08-18 19:01:29 +02:00
Cenk Gündoğan
94b8d69dd9 ng_rpl: auto address configuration 2015-08-18 19:00:01 +02:00
Martine Lenders
4283b1515d gnrc_rpl: fix dependencies
The dependency conditional for RPL was at the very end of
`Makefile.dep`, giving depending modules no chance to pull in their
dependencies.

Also it pulled in the deprecated module `net_help`, though it did not
use any of it's functions (it just included `inet_pton.h` for `AF_INET6`).
2015-08-18 18:59:02 +02:00
Martine Lenders
391522e1a8 ipv6_addr: adapt doc to proposed changes in #3608 2015-08-18 18:54:26 +02:00
Oleg Hahm
e5d5c37362 Merge pull request #3654 from OlegHahm/rpl_scan_findings
RPL: clang analyzer findings
2015-08-18 18:53:36 +02:00
Oleg Hahm
147bf75d5b Merge pull request #3599 from authmillenon/icmpv6/api/take-hdrs-out
icmpv6: put message definitions in their own files
2015-08-18 18:17:28 +02:00
Oleg Hahm
687cc6e175 rpl: removed superfluous assignment 2015-08-18 17:53:29 +02:00
Oleg Hahm
2e1b90f107 rpl: added assertions for null pointer checks 2015-08-18 17:53:11 +02:00
Martine Lenders
89009ae2f1 icmpv6: put message definitions in their own files 2015-08-18 17:30:23 +02:00
Martine Lenders
93031c9b60 sixlowpan: move non-GNRC stuff to its own module 2015-08-18 17:03:47 +02:00
Martine Lenders
87c222d2fa Merge pull request #3595 from authmillenon/gnrc/api/mv
gnrc: rename ng_netbase to gnrc
2015-08-18 16:59:34 +02:00
Oleg Hahm
e3edf34527 Merge pull request #3050 from cgundogan/ng_rpl_fib
ng_rpl: port to the new network stack
2015-08-18 16:48:29 +02:00
Martine Lenders
b969eeb217 gnrc: rename ng_netbase to gnrc 2015-08-18 16:11:55 +02:00
Oleg Hahm
72334c2847 sixlowpan: IPHC assertion
Just to tranquilize clang analyzer
2015-08-18 16:08:09 +02:00
Oleg Hahm
86a6b8a552 pktbuf: check NULL pointer before merging snips 2015-08-18 16:08:09 +02:00
Oleg Hahm
3757e57e71 netdev_eth: drop multicast with empty payload 2015-08-18 16:08:09 +02:00
Oleg Hahm
85fe445db8 pktbuf: assert for potential null pointer
In practice, this should not happen, since `_first_unused` should be
already set, if `_too_small_hole()` returns true.
2015-08-18 16:06:47 +02:00
Cenk Gündoğan
acd07de676 ng_rpl: shell commands for RPL 2015-08-18 12:03:30 +02:00
Cenk Gündoğan
7f6966aacc ng_rpl: RPL for the gnrc network stack 2015-08-18 12:03:28 +02:00
Oleg Hahm
b68213a410 Merge pull request #3561 from OlegHahm/ipv6_source_candidate_set
IPv6: implement source address candidate selection
2015-08-18 01:17:38 +02:00
Oleg Hahm
04d77bd3f2 IPv6: implement source address selection
see http://tools.ietf.org/html/rfc6724#section-4 and
http://tools.ietf.org/html/rfc6724#section-5
2015-08-17 23:10:55 +02:00
Martine Lenders
feb8b8cc0f Merge pull request #3639 from OlegHahm/unittest-color-output
Added a colored outputter to embUnit.
2015-08-17 22:06:51 +02:00
Oleg Hahm
bbe6ec50de Merge pull request #3613 from authmillenon/ng_sixlowpan/fix/issue-3588
ng_sixlowpan: fix #3588
2015-08-17 17:34:05 +02:00
Martine Lenders
56817ba015 Merge pull request #3596 from authmillenon/udp/api/disintangle
udp: put UDP header in its own module
2015-08-17 16:00:06 +02:00
Janos Kutscherauer
5d7ba5b35f Added a colored outputter to embUnit.
The outputter is called ColorTextOutputter and can be enabled by defining OUTPUT=COLORTEXT.
The colored outputter behaves just like the TextOutputter, but displays successful tests in GREEN and failed tests in RED. The summary message is also in GREEN/RED, but is slightly different from the TextOutputter.

Also:
* Added fancy simple none-verbose color-outputter for EmbUnit. The outputter outputs a simple statistics line in GREEN or RED, according to the test success or failure. (Also, the ColorTextOutputter was adjusted to use the statistics output of this new ColorOutputter.) The new outputter can be activated with OUTPUT=COLOR.
* Added a single character "." output for the simple color outputter and replaced the color codes by macros.
2015-08-17 15:04:27 +02:00
Martine Lenders
1129f56741 ng_sixlowpan: fix #3588 2015-08-17 14:43:48 +02:00
Oleg Hahm
bc3aba24a4 Merge pull request #3594 from authmillenon/ipv6/api/disentengle-hdr-ext
ipv6: move non-GNRC types and functions in their own module
2015-08-17 13:11:51 +02:00
Oleg Hahm
8861834de7 Merge pull request #3641 from cgundogan/pr/netif/docfix
sys/include/net/ng_ipv6/netif.h: docfix
2015-08-17 12:53:45 +02:00
Cenk Gündoğan
edc609d2e2 sys/include/net/ng_ipv6/netif.h: docfix 2015-08-17 11:49:05 +02:00
Martine Lenders
bce1cf618d Merge pull request #3586 from daniel-k/fix/pktbuf_release_check_contains
ng_pktbuf_static: check if pkt is in buffer before derefencing in ng_pktbuf_release
2015-08-17 10:22:44 +02:00
Martine Lenders
2903667494 tests: adapt unittests for ipv6_hdr module division 2015-08-14 17:18:37 +02:00
Martine Lenders
4f650b31f9 ipv6: move non-GNRC types and functions in their own modules 2015-08-14 17:18:35 +02:00
Martine Lenders
9f3cef5f6a gnrc_ipv6: return receive after forwarding 2015-08-14 14:19:31 +02:00
Martine Lenders
b82f11be81 gnrc_ndp: only lookup non-link-local addresses in FIB 2015-08-14 14:19:31 +02:00
Martine Lenders
2206e877e8 gnrc_ndp: assume anything in neighbor cache to be on-link 2015-08-13 20:44:38 +02:00
Martine Lenders
7d44d00379 gnrc_ndp: don't use FIB as destination cache for now 2015-08-13 20:44:07 +02:00
Hauke Petersen
e6a9549d16 Merge pull request #3213 from haukepetersen/add_pktbuf_iovecexport
net/ng_pktbuf: added IOVEC export function
2015-08-12 19:46:01 +02:00
Hauke Petersen
e93189288a sys/libc/uio.h: added include of stdlib for size_t 2015-08-12 18:25:24 +02:00
Peter Kietzmann
5afc6700ac Merge pull request #3616 from cgundogan/pr/shell/not_found_one_line
sys/shell/shell.c: command not found in one line
2015-08-12 17:11:16 +02:00
Oleg Hahm
6663679a8c ndp: missing initialization 2015-08-12 16:09:30 +02:00
Cenk Gündoğan
4deb0213b9 sys/shell/shell.c: command not found in one line 2015-08-12 13:16:37 +02:00
Oleg Hahm
8639d2c27d at86rf2xx: rename remaining files and variables 2015-08-11 23:52:02 +02:00
daniel-k
420d5e48ca ng_pktbuf_static: check if pkt is in buffer before derefencing in ng_pktbuf_release 2015-08-11 23:40:04 +02:00
Martine Lenders
203561e741 ipv6_addr: remove ng_ prefix 2015-08-11 13:27:07 +02:00
Oleg Hahm
9aa96509ee Merge pull request #3441 from authmillenon/gnrc/enh/prepare-multi-ndp
ng_ndp: prepare for parallel NDP implementations
2015-08-11 10:02:04 +02:00
Martine Lenders
fbea5092c3 ng_ipv6_netif: add functions for routing behavior changes 2015-08-11 02:49:18 +02:00
Martine Lenders
4e5fa612c1 ng_ndp: prepare for parallel NDP implementations 2015-08-11 02:49:18 +02:00
Martine Lenders
8aa8b60807 fib: doc fix 2015-08-11 02:29:28 +02:00
Martine Lenders
2e6c974c15 Merge pull request #3568 from haukepetersen/opt_fib_ngprefix
net/fib: removed any ng_'s from the FIB
2015-08-11 02:28:00 +02:00
Martine Lenders
c82dfda445 Merge pull request #3567 from authmillenon/timex/enh/timex_to_str
timex: make timex_to_str more efficient
2015-08-11 02:21:41 +02:00
Martine Lenders
293d0e3b58 ng_netapi: enhance documentation with references 2015-08-11 01:48:28 +02:00
Martine Lenders
ea48b48dd3 timex: make timex_to_str more efficient 2015-08-11 01:33:21 +02:00
Hauke Petersen
85fe67e629 net/fib: removed all ng prefixes from fib 2015-08-10 15:43:55 +02:00
Hauke Petersen
219fd0641f net/ng_pktbuf: added IOVEC export function 2015-08-10 10:37:55 +02:00
Hauke Petersen
b7705feeff net/ng_nettype: added pseudo-type for IOVEC snips 2015-08-10 10:37:55 +02:00
Hauke Petersen
ae83ab52af net/ng_pkt: added function to count snips in pkt 2015-08-10 10:37:55 +02:00
Martine Lenders
a5e039cf4d udp: put UDP header in its own module 2015-08-10 03:18:09 +02:00
Martine Lenders
54fe08feda Merge pull request #3591 from authmillenon/at86rf2xx/api/mv
at86rf2xx: remove ng_ prefix
2015-08-10 02:53:26 +02:00
Martine Lenders
8f9e1656e1 at86rf2xx: remove ng_ prefix 2015-08-10 00:08:21 +02:00
Martine Lenders
f0cb1429f0 native: rename ng_nativenet to dev_eth_tap 2015-08-09 22:04:26 +02:00
Martine Lenders
ca71ae4f59 dev_eth: fix documentation 2015-08-09 22:02:10 +02:00
Oleg Hahm
9e5d717466 ipv6: fix and improve check for global address
* embedded IPv4 addresses are considered as global
* remove check for multicast
* consolidate loopback and unspecified check
2015-08-09 20:22:21 +02:00
Joakim Gebart
0a11d79e9d sys/cpp11-compat: chrono: remove unused include cstdio 2015-08-08 14:44:41 +02:00
Joakim Gebart
d670d6eb51 sys/cpp11-compat: condition variable: fix includes 2015-08-08 14:44:41 +02:00
Joakim Gebart
248fb1c6c0 sys/cpp11-compat: Add C++ runtime helpers
cppsupport.cpp contains functions which are necessary in order to use
some features of the C++ language, e.g. calling static constructors or
virtual functions.

TODO/Not implemented yet:
 - Test virtual functions
 - Handle exceptions (stack unwinding)
 - Run time type identification (RTTI)
2015-08-08 14:44:41 +02:00
Cenk Gündoğan
e24754b6eb Merge pull request #3545 from cgundogan/pr/fib/shell
sys/shell: make dev parameter optional for fibroute
2015-08-08 09:22:50 +02:00
Cenk Gündoğan
6b36a0760b sys/shell/commands/sc_fib.c: make dev param optional 2015-08-08 08:48:56 +02:00
Cenk Gündoğan
1168b1020d ng_fib: pretty print ipv6 addresses 2015-08-08 08:17:39 +02:00
Martine Lenders
b256b9c256 Merge pull request #3579 from authmillenon/ether/api/mv-ether
ethernet/ethertype: remove ng_ prefix
2015-08-07 18:20:14 +02:00
Martine Lenders
9607ade1a1 Merge pull request #3582 from authmillenon/ieee802154/api/mv
ieee802154: remove ng_ prefix
2015-08-07 17:42:02 +02:00
Martine Lenders
59475feaff Merge pull request #3583 from authmillenon/inet_csum/api/mv
inet_csum: remove ng_ prefix
2015-08-07 17:38:26 +02:00
Martine Lenders
0046d8fffb Merge pull request #3572 from cgundogan/pr/sc_ipv6_nc/iface_optional_and_reset
sc_ipv6_nc: make iface optional and add reset function
2015-08-07 17:37:58 +02:00
Martine Lenders
472ee315f0 ethernet/ethertype: remove ng_ prefix 2015-08-07 17:09:19 +02:00
Martine Lenders
5c03268516 inet_csum: remove ng_ prefix 2015-08-07 16:59:13 +02:00
Martine Lenders
e8d5d5576a gnrc: piggy-back some code style changes 2015-08-07 16:53:05 +02:00
Martine Lenders
b7545365df protnum: remove ng_ prefix 2015-08-07 16:02:09 +02:00
Martine Lenders
9cf5e5fb6a ieee802154: remove ng_ prefix 2015-08-07 14:36:04 +02:00
Peter Kietzmann
6908e07322 Merge pull request #3578 from tfar/sandbox/tobias/2015/08/cbor_bytestring_api
cbor: add API to encode non null-terminated byte strings
2015-08-07 09:34:59 +02:00
Oleg Hahm
1373795ec5 Merge pull request #3575 from OlegHahm/ipv6_more_address_types
Ipv6: more address types
2015-08-07 09:22:50 +02:00
Oleg Hahm
7845110369 ipv6: added checks for more address types
Added checks for:
* Global Unicast Addresses
* IPv6 Addresses with Embedded IPv4 Addresses
  * IPv4-Compatible IPv6 Address
  * IPv4-Mapped IPv6 Address
* Site-Local IPv6 Unicast Addresses
2015-08-07 08:15:05 +02:00
Martine Lenders
73a42314a5 Merge pull request #3576 from haukepetersen/mv_netopt
net: remove ng_ from netopt header
2015-08-07 07:17:42 +02:00
Tobias Markmann
f5418fa666 cbor: add API to encode non null-terminated byte strings 2015-08-06 22:30:44 +02:00
Oleg Hahm
edfd8012ed ipv6: removed null-pointer reference in debug 2015-08-06 16:48:17 +02:00
Hauke Petersen
38956457a1 sys: adapted to renamed netopt header 2015-08-06 15:37:11 +02:00
Hauke Petersen
327de5ec06 net: made NETOPT independent from the gnrc stack 2015-08-06 15:24:52 +02:00
2633352f30 sys: make: remove obsolete ieee802154 2015-08-06 12:13:54 +02:00
a5642efc23 sys: net: remove ccnlite-ext-appserver 2015-08-06 12:13:19 +02:00
8fd237d550 sys: make: remove obsolete network Makefile includes 2015-08-06 12:13:19 +02:00
00a44c9147 sys: net: remove AODVv2
(will be upgraded to gnrc soon)
2015-08-06 12:13:19 +02:00
8f51256be8 sys: net: pnet: turn into dummy implementation based on gnrc 2015-08-06 12:13:19 +02:00
c60cd298c5 sys: net: get back socket_base 2015-08-06 12:13:19 +02:00
a227b7334f sys: get back net_help include path 2015-08-06 12:13:19 +02:00
544cf33b17 sys: config: remove saving of obsolete transceiver config 2015-08-06 12:13:18 +02:00
5d8349298f remove bulk of legacy network stack and drivers 2015-08-06 12:12:47 +02:00