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

711 Commits

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