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

882 Commits

Author SHA1 Message Date
Oleg Hahm
61a61c35b1 gnrc netif: add link-type indicator for IPv6 IFs 2015-09-01 11:32:16 +02:00
Oleg Hahm
4dbd491097 netopt: introduced link type (wired or wireless) 2015-09-01 11:32:16 +02:00
Oleg Hahm
b514eeab04 Merge pull request #3706 from OlegHahm/fib_size_parameter
fib: add size parameter
2015-09-01 11:28:55 +02:00
Oleg Hahm
86cabbd102 fib: add data struct for meta information
In order to properly make use of different FIB tables, handling of different sizes is required. The fib_table_t provides a pointer to the array of entries and its size.
2015-09-01 11:09:10 +02:00
Lotte Steenbrink
9cfd2c5200 shell.h: fix tiny typo in documentation 2015-08-31 17:09:39 -07:00
Martine Lenders
a913c01e99 gnrc_ndp_internal: add capability to add external options to NAs 2015-08-31 18:03:12 +02:00
Martine Lenders
27148ed0b3 Merge pull request #3734 from authmillenon/sixlowpan/api/6lo-nd-types
sixlowpan: initial import of 6LoWPAN-ND submodule
2015-08-31 15:35:41 +02:00
Martine Lenders
2fd1d9dc91 sixlowpan: initial import of 6LoWPAN-ND submodule 2015-08-31 15:18:42 +02:00
Martine Lenders
ef1a8ac483 ndp: update for 6LoWPAN-ND option types 2015-08-31 15:18:42 +02:00
Cenk Gündoğan
b96e6b508a rpl: dao-ack validity check 2015-08-29 10:13:39 +02:00
Cenk Gündoğan
050671c235 Merge pull request #3687 from cgundogan/pr/rpl/poisoning_cleanup_timer
rpl: reduce poisoning timer to clean dodags faster
2015-08-29 10:00:57 +02:00
Cenk Gündoğan
7d2129ea56 gnrc_netapi: generic dispatch 2015-08-28 15:44:22 +02:00
Martine Lenders
36389281de icmpv6: update for 6LoWPAN-ND message types 2015-08-27 23:37:58 +02:00
Cenk Gündoğan
dce62132f6 rpl: reduce poisoning timer to clean dodags faster 2015-08-27 08:12:50 +02:00
Cenk Gündoğan
d57e603b9f rpl: make _root_dodag_init and _gnrc_rpl_send global 2015-08-26 22:09:58 +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
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
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
ecb2bb5c2b af: initial import of global AF_ definition header 2015-08-24 13:13:52 +02:00
Cenk Gündoğan
b604c99155 rpl: rename defines from NG_ to GNRC_ 2015-08-23 18:29:16 +02:00
Oleg Hahm
a0b3021f60 icmpv6: remove superfluous header build functions 2015-08-22 14:32:12 +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
c1e24d449e Merge pull request #3584 from cgundogan/pr/seqno
sys: Serial Number Arithmetic (RFC1982)
2015-08-21 23:55:08 +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
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
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
0894343092 rpl: omit dodag id in DAO(-ACK) for global instances 2015-08-20 08:41:10 +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
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
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
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
Martine Lenders
b969eeb217 gnrc: rename ng_netbase to gnrc 2015-08-18 16:11:55 +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
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
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
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
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
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
Tobias Markmann
f5418fa666 cbor: add API to encode non null-terminated byte strings 2015-08-06 22:30:44 +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
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
Martine Lenders
6d9b928818 Merge pull request #3536 from cgundogan/pr/doc/todo
Make use of doxygen todo
2015-08-05 15:59:01 +02:00
Martine Lenders
0aef65bd76 Merge pull request #3559 from OlegHahm/channel_26_as_default
ieee802.15.4: switch to 26 as default channel
2015-08-05 15:51:57 +02:00
Cenk Gündoğan
09aeb31f1a ng_ndp: minor doc fix 2015-08-05 14:16:59 +02:00
Oleg Hahm
761183bfd7 ieee802.15.4: switch to 26 as default channel
In order to avoid collisions with IEEE 802.11b networks, channel 25 or
26 is the best choice.

See for instance https://www.cs.umd.edu/~ctas/bibs/2007/4.pdf
2015-08-04 18:02:27 +02:00
Benoît Canet
22da1f834b native: ng: net: Close tap device and cleanup on reboot 2015-08-03 18:17:53 +02:00
BytesGalore
f3494b12f5 Merge pull request #3542 from cgundogan/pr/trickle/cleanup
sys/trickle: Makefile and include guards cleanup
2015-08-03 11:22:39 +02:00
Cenk Gündoğan
355e60c5ff timex: use doxygen todo 2015-08-03 11:00:21 +02:00
Cenk Gündoğan
7d2fdc528e ng_zep: use doxygen todo 2015-08-03 11:00:21 +02:00
Cenk Gündoğan
ee133344bd ng_icmpv6: use doxygen todo 2015-08-03 11:00:21 +02:00
Cenk Gündoğan
0d73cd301d ng_fib: use doxygen todo 2015-08-03 11:00:21 +02:00
Cenk Gündoğan
a6f04dd090 cbor: use doxygen todo 2015-08-03 11:00:21 +02:00
Oleg Hahm
2795d51d90 Merge pull request #3058 from cgundogan/universal_address_fib_split
sys/universal_address: separate universal_address from fib
2015-08-03 10:42:59 +02:00
Cenk Gündoğan
4a21c54547 sys/trickle: Makefile and include guard cleanup 2015-08-03 10:36:48 +02:00
Cenk Gündoğan
58b672f83d ng_pktbuf: minor doc fixes 2015-07-31 18:26:00 +02:00
BytesGalore
f04c912493 fib: changed misleading parameter name and documentation 2015-07-30 19:10:04 +02:00
Cenk Gündoğan
ea5e371383 sys/universal_address: separate universal_address from fib 2015-07-30 18:34:48 +02:00
Martine Lenders
c699fbaaf0 Merge pull request #3448 from authmillenon/ng_netreg/doc/its-a-trap
ng_netreg: warn about context overwrite
2015-07-29 14:22:19 +02:00
Martine Lenders
3d9945667f Merge pull request #3496 from authmillenon/ng_pktbuf/enh/new_default
ng_pktbuf: new default packet buffer implementation
2015-07-29 02:08:46 +02:00
Martine Lenders
41b0a2661a ng_pktbuf: simplify API by extension
This simplifies the `ng_pktbuf` API by adding a new function
`ng_pktbuf_mark()` which takes over some functionality of
`ng_pktbuf_add()`. `size == 0` for `ng_pktbuf_add()` is now illegal.
2015-07-29 00:47:29 +02:00
Oleg Hahm
03b7c7349a Merge pull request #3457 from authmillenon/gnrc/api/rename-netconf
gnrc: rename ng_netconf to ng_netopt
2015-07-28 18:21:09 +02:00
Martine Lenders
6f56b983f0 gnrc: replace all instances of ng_netconf with ng_netopt 2015-07-28 13:33:12 +02:00
Martine Lenders
6a868d5f4c gnrc: rename ng_netconf to ng_netopt
Since [NETCONF](https://tools.ietf.org/html/rfc4741) is also a network
protocol, the naming of this module already led to some issues regarding
communicating about it. This is just an initial rename commit to ask for
comments. If there is interest I will adapt the code using the types
defined here.
2015-07-28 13:30:17 +02:00
Lucas Jenß
b7bf949484 Merge pull request #2759 from x3ro/pr-1342-cryptofoo
Unified Cipher API and Block cipher operation modes: ECB, CBC, CTR and CCM
2015-07-22 21:16:32 +02:00
Oleg Hahm
2ffd688e66 ipv6: increase number of addresses per interface 2015-07-22 19:54:12 +02:00
Nico von Geyso
4a4235c622 Unified Cipher API and Block cipher operation modes 2015-07-22 19:18:34 +02:00
Oleg Hahm
8b23e90883 doc: fix doxygen group for dev_eth_autoinit 2015-07-21 10:00:11 +02:00
Oleg Hahm
6dd92dcab8 doc: fix doxygen group for RPL SRH 2015-07-21 10:00:11 +02:00
Oleg Hahm
f10cd90b31 Merge pull request #3447 from OlegHahm/fix_unsigned_char_in_od
od: signedness and constantness of input parameter
2015-07-20 18:15:30 +02:00
Oleg Hahm
94596cdd10 od: input parameter should be constant 2015-07-20 14:00:04 +02:00
Lotte Steenbrink
b63625679b fib: check dst and next_hop for invalid pointers 2015-07-19 10:05:20 -07:00
Martine Lenders
7885c486cf ng_netreg: warn about context overwrite 2015-07-19 11:22:29 +02:00
Martine Lenders
b9f4cfbcd9 random: fix doc of genrand_uint32_range() 2015-07-18 17:40:09 +02:00
Martine Lenders
94f913c204 random: provide range functionality 2015-07-18 17:13:00 +02:00
Oleg Hahm
717a4c8152 Merge pull request #3143 from authmillenon/ng_sixlowpan_ctx/api/comp-flag
ng_sixlowpan_ctx: add compression flag support
2015-07-17 08:23:05 +02:00
Martine Lenders
dd6ea99fd4 ng_sixlowpan_ctx: add compression flag support
The compression flag allows a context to be invalidated for compression,
but still be valid for decompression. This is needed for context
dissimination in a LoWPAN.
2015-07-17 07:59:15 +02:00
49ea7a3d61 sys: factor stdio uart functions out of newlib's syscalls 2015-07-14 15:12:26 +02:00
Joakim Gebart
fa4e059588 Merge pull request #3319 from gebart/pr/warning-fixes-3
Makefile.cflags: Build with -Wall -Werror by default (including fixes to correct all existing warnings)
2015-07-14 08:50:31 +02:00
Joakim Gebart
5ab48c2d67 sys/crypto/twofish: Add casts to ensure bit shifts fit in the target variable 2015-07-14 08:11:15 +02:00
René Kijewski
caf5503486 Merge pull request #3235 from haukepetersen/add_md5
sys/hashes: added MD5 implementation
2015-07-13 22:59:09 +02:00
Martine Lenders
c8c92663d9 ng_ipv6_addr: piggy-back spell error fix 2015-07-13 14:48:19 +02:00
Martine Lenders
9cd07b8961 ng_ipv6_addr: remove packed attribute from ng_ipv6_addr_t 2015-07-13 14:26:25 +02:00
Martine Lenders
b010d53eea ng_netif_hdr: remove packed attribute from ng_netif_hdr_t 2015-07-13 14:24:01 +02:00
Martine Lenders
72b883f5ed ng_pkt: remove packed attribute from ng_pktsnip_t 2015-07-13 14:23:36 +02:00
fb9a862177 sys: bitfield: add bf_get_unset 2015-07-07 17:49:17 +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
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
bf67751e15 ng_ipv6_hdr: fix for initial sum overflow 2015-07-01 17:49:43 +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
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
59f62e5366 ng_netapi: centralize packet dispatchment for RCV and SND 2015-07-01 12:38:59 +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
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
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
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
Oleg Hahm
b85f076027 Merge pull request #3098 from authmillenon/ng_nettest/feat/initial
ng_nettest: initial import of a ng_netapi test framework
2015-06-23 17:02:11 +02:00
Martine Lenders
f28c5041eb ng_nettest: initial import of a ng_netapi test framework 2015-06-23 15:22:55 +02:00
haukepetersen
9370506a72 sys/hashes: added MD5 implementation 2015-06-22 21:43:28 +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
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
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
2bdf22af97 ng_ndp: expand documentation on ng_ipv6_nc_t::nbr_adv_timer 2015-06-09 19:34: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
70acc31675 net/ng_udp: added ng_udp_print_hdr() function 2015-06-05 09:47:52 +02:00
BytesGalore
9079e30da0 sys/net/fib: added function to request a set of destination addresses 2015-06-02 16:42:47 +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
Peter Kietzmann
c839e65479 Merge pull request #3025 from OlegHahm/netconf_retransmit
netconf: at86rf231: configure maximum retransmits
2015-05-29 10:10:56 +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
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
Martine Lenders
e56f5ae1ed ng_netconf: define maximum number of options 2015-05-27 22:00:12 +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
BytesGalore
e174ce2c56 fib: added a word on the lifetime of a FIB entry 2015-05-27 14:44:55 +02:00
Martine Lenders
9a989264d8 ng_sixlowpan: initial import of IP header compression 2015-05-27 11:54:50 +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
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
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
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
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
Martine Lenders
350b040d72 ng_netif: adapt ng_netif_get for holey lists 2015-05-25 22:02:44 +02: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
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +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
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
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
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
Martine Lenders
dcfa2681d6 ng_ipv6_ext: initial import of extension header handling 2015-05-17 21:46:56 +02:00
Oleg Hahm
8658a346bd ng_ieee802154: add data type for EUI-64 2015-05-17 21:06:48 +02:00
e655137d72 sys: auto_init: introduce new auto initialization scheme for network interfaces 2015-05-17 21:02:00 +02:00
Martine Lenders
ee11a2ae56 ng_ndp: initial import of the address resolution 2015-05-17 09:15:03 +02:00
Martine Lenders
70d7fae538 ipv6_netif: prepare for NDP 2015-05-16 15:03:16 +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
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
Martine Lenders
343bec5593 ipv6_nc: Make interface optional 2015-05-14 04:21:41 +02:00
BytesGalore
85bf1c2ade net/network_layer/fib: added prefix consideration for RRP registration/signaling 2015-05-13 20:08:11 +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
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
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
Oleg Hahm
e9145fb911 Merge pull request #2939 from gebart/pr/whitespace-fixes1
Whitespace fixes
2015-05-09 23:46:31 +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
Cenk Gündoğan
eed5d6ea16 ng_ipv6/netif: doc fix (interfaces => interface) 2015-05-09 10:22:56 +02:00
Cenk Gündoğan
58e52b5896 ng_ipv6/addr: minor doc fix 2015-05-09 09:09:00 +02:00
Joakim Gebart
50ad4e7374 sys/include/net/ng_protnum.h: trailing spaces 2015-05-09 09:05:45 +02:00
Oleg Hahm
38ed6a8112 doxygen: cosmetics 2015-05-07 20:46:56 +02:00