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

695 Commits

Author SHA1 Message Date
Martine Lenders
6dbb51553b gnrc_netdev: add deprecation note 2016-04-20 14:00:58 +02:00
Martine Lenders
9789eb249e Revert "doc: mandatory netif snip for gnrc_ipv6 receive()"
This reverts commit f15e038efe.
2016-04-17 14:06:41 +02:00
Hauke Petersen
5fe57b4659 Merge pull request #4725 from kaspar030/ethos_br_hack
simplified border router setup
2016-04-12 17:39:07 +02:00
DipSwitch
4275e18c08 doc: Fix minior doxygen errors in fib 2016-04-11 21:46:53 +02:00
DipSwitch
54413ece9f fib: Remove _t from struct names 2016-04-11 21:46:53 +02:00
4fb07a852d sys: net: add UHCP protocol code and gnrc client implementation 2016-04-11 17:03:28 +02:00
kYc0o
6df58ac767 gnrc: use correct l2addr print len 2016-04-10 16:31:38 +02:00
Martine Lenders
627b80e4c3 netopt: fix typo in documentation 2016-04-09 13:25:36 +02:00
Martine Lenders
0ab8aae529 emb6: add conn_udp wrapper 2016-03-30 18:56:02 +02:00
Martine Lenders
4dbc26fd4e Merge pull request #3551 from authmillenon/pkg/port/lwip
lwIP: Initial import
2016-03-30 18:22:10 +02:00
Martine Lenders
5431df6a7e lwip: initial import of conn_udp wrapper 2016-03-30 17:35:51 +02:00
Martine Lenders
410f44f07d lwip: initial import of conn_ip wrapper 2016-03-30 17:35:50 +02:00
Peter Kietzmann
dcafbb8d0c Merge pull request #4835 from authmillenon/netdev2_test/feat/init
netdev2_test: initial import
2016-03-30 16:59:08 +02:00
Martine Lenders
97de8aa52b netdev2_test: initial import
Imports a generic framework to test and experiment with netdev2-based
modules.
2016-03-30 15:56:25 +02:00
Cenk Gündoğan
9dbfdcac0b Merge pull request #4279 from BytesGalore/fib_prefix_handling_change
fib: changed handling of the net prefix by the FIB
2016-03-30 11:19:49 +02:00
BytesGalore
1bc9c3bfd2 fib: changed handling of the net prefix
Until now the prefix length has been determined automatically by the FIB
This PR changes it to be provided as msb(yte) in the global_flags of an entry
2016-03-30 10:05:05 +02:00
Martine Lenders
6504671a33 Merge pull request #5179 from OlegHahm/ipv6_recv_assert_instead_check
gnrc ipv6: replace check by assert
2016-03-29 19:42:00 +02:00
Oleg Hahm
376874284b Merge pull request #3721 from cgundogan/pr/rpl/gnrc_rpl_p2p
rpl: introducing P2P-RPL
2016-03-29 19:04:27 +02:00
Oleg Hahm
f15e038efe doc: mandatory netif snip for gnrc_ipv6 receive() 2016-03-29 18:42:58 +02:00
Martine Lenders
6aacfa8a42 Merge pull request #5176 from OlegHahm/netstats_only
net: introduce netstats
2016-03-26 11:29:52 +01:00
Oleg Hahm
d6498162f2 netdev2: introduce netstats 2016-03-25 21:43:16 +01:00
Cenk Gündoğan
30217f8a7b Merge pull request #5040 from kYc0o/rid_of_vtimer
sys/compat/vtimer: get rid of
2016-03-25 14:35:35 +01:00
kYc0o
f92b025b85 vtimer: get rid of 2016-03-24 17:10:54 +01:00
Oleg Hahm
10f5f1aa33 make: introduce netif_default pseudomodule
Additionally the dependencies for GNRC specific modules are centralized in Makefile.dep.
2016-03-24 16:47:30 +01:00
Cenk Gündoğan
b5c09bfc41 rpl: introducing p2p-rpl 2016-03-24 12:12:07 +01:00
Martine Lenders
1724ab50fc Merge pull request #4654 from Yonezawa-T2/fix_ipv6_ext
ipv6_ext: fixed extension header handling
2016-03-24 10:53:00 +01:00
Yonezawa-T2
6443a2bb5c gnrc_pktbuf: Adds a function to duplicate packet chain 2016-03-24 18:20:28 +09:00
Oleg Hahm
826a089419 net ipv6: use full include path
Using an "absolute" instead of a relative include path, make the doxygen output less confusing.
2016-03-23 22:39:46 +01:00
Oleg Hahm
a65e6aad59 Merge pull request #5118 from OlegHahm/udp_build_hdr_simplification
gnrc: simplify hdr_build functions
2016-03-23 15:31:58 +01:00
Oleg Hahm
cba3ba71ab gnrc netreg: remove generic hdr build function 2016-03-23 15:20:12 +01:00
Oleg Hahm
32af3f962e gnrc ipv6: make address parameters const 2016-03-23 15:20:12 +01:00
Oleg Hahm
991c71cf27 gnrc ipv6: use ipv6_addr_t ptr for hdr_build 2016-03-23 15:20:12 +01:00
Oleg Hahm
360413a033 gnrc ipv6 hdr: remove len params from hdr_build 2016-03-23 15:20:11 +01:00
Oleg Hahm
487f6e480f gnrc udp: simplify gnrc_udp_hdr_build
Directly using 16 bit port numbers instead of casting uint8_t pointers.
2016-03-23 15:20:11 +01:00
Cenk Gündoğan
b280984862 gnrc_rpl: add netif_addr to DODAG 2016-03-23 10:37:38 +01:00
Cenk Gündoğan
095e4558df Merge pull request #5135 from cgundogan/pr/gnrc_rpl/proper_iface_handling
gnrc_rpl: proper interface handling
2016-03-23 10:34:47 +01:00
Cenk Gündoğan
3b9fda6d03 gnrc_rpl: proper interface handling 2016-03-23 10:12:01 +01:00
Cenk Gündoğan
cf94b5016e gnrc_rpl: thread prio greater than gnrc_ipv6 2016-03-22 18:27:28 +01:00
Oleg Hahm
d1ccfea80a Merge pull request #5129 from cgundogan/pr/gnrc_rpl/minor_cleanup
gnrc_rpl: minor enhancements
2016-03-22 17:26:21 +01:00
Oleg Hahm
1787cb6ed2 Merge pull request #5019 from cgundogan/pr/fib/flush
fib: flush entries
2016-03-22 17:16:48 +01:00
Cenk Gündoğan
fc75ff9b29 gnrc_rpl: minor fixes and enhancements 2016-03-22 16:50:16 +01:00
Yonezawa-T2
bc5b0c3140 ipv6_ext: fixed extension header handling 2016-03-22 12:45:08 +09:00
Cenk Gündoğan
771757c84f Merge pull request #5082 from cgundogan/pr/gnrc_rpl/dodag_conf_optional_on_join
gnrc_rpl: make DODAG_CONF optional when joining DODAG
2016-03-21 18:22:44 +01:00
Joakim Nohlgård
d4f577238e gnrc/nettype: Add missing closing Doxygen brace 2016-03-17 20:57:54 +01:00
Cenk Gündoğan
39255ee8f8 gnrc_rpl: make DODAG_CONF optional when joining DODAG 2016-03-16 14:31:49 +01:00
Cenk Gündoğan
b15c1a2bd1 gnrc_rpl: rename req_opts to dio_opts 2016-03-16 14:16:15 +01:00
Martine Lenders
0a3b56e0b4 Merge pull request #5006 from immesys/fix-rtr-adv
ndp: change rtr adv src to link local
2016-03-16 12:42:12 +01:00
Martine Lenders
312047fa84 Merge pull request #5029 from gebart/pr/6lo-decoded-hdr-snip-ordering
gnrc_sixlowpan: Preserve order when replacing 6lowpan header by decoded IPv6 header
2016-03-16 11:53:53 +01:00
Joakim Nohlgård
373a4d9e2c Merge pull request #5073 from cgundogan/pr/gnrc_rpl/trickle_parameters_compile_time
gnrc_rpl: make trickle parameters configurable
2016-03-16 11:25:46 +01:00
Martine Lenders
1caf0bcc8a Merge pull request #4645 from authmillenon/netdev2/enh/ieee802154
netdev2: add basic IEEE 802.15.4 support
2016-03-15 18:28:29 +01:00
Martine Lenders
b0b76ba3a6 gnrc: initial import of GNRC<->netdev2 glue code for 802.15.4 2016-03-15 17:11:22 +01:00
Cenk Gündoğan
370105760c gnrc_rpl: make trickle parameters configurable 2016-03-15 14:23:08 +01:00
Joakim Nohlgård
d770d6ab31 gnrc_sixlowpan: Preserve order when replacing 6lowpan header by decoded IPv6 header 2016-03-12 11:36:24 +01:00
Lotte Steenbrink
52cfa865a9 fib: extend FIB_MSG_RP_SIGNAL documentation 2016-03-11 14:10:01 -08:00
Cenk Gündoğan
ba7d6230c0 Merge pull request #4935 from authmillenon/gnrc_sixlowpan_iphc_nhc/fix/frag
gnrc_sixlowpan_iphc_nhc: fix NHC UDP decoding for fragmented packets
2016-03-11 16:41:27 +01:00
Cenk Gündoğan
f5df674a4f gnrc_pktdump: make pid global 2016-03-11 14:22:20 +01:00
René Kijewski
818d703810 Merge pull request #5004 from OlegHahm/core_kernel_macros_attributs_merge
core: merge kernel_macros.h and attributes.h into kernel_defines.h
2016-03-10 16:47:10 +01:00
Oleg Hahm
bdcf8879fd core: merged kernel_macros.h and attributes.h
Merged into new kernel_defines.h and updated all includes.
2016-03-09 22:29:06 +01:00
Martine Lenders
71b6221b57 Merge pull request #4991 from OlegHahm/gnrc_netdev_cleanup
gnrc_netdev: cleanup
2016-03-09 19:30:41 +01:00
Cenk Gündoğan
2991addea8 fib: add flush function 2016-03-09 17:30:56 +01:00
Michael Andersen
2f001776db ndp: fix stub parameters 2016-03-08 23:21:16 -08:00
Michael Andersen
60f6aeaf70 ndp: change rtr adv src to link local 2016-03-08 21:33:35 -08:00
Oleg Hahm
ee0f31df9a conn_udp: document correct create & recv usage
Both functions must be called from the same thread.
2016-03-08 19:48:20 +01:00
Oleg Hahm
c2ebeb1281 gnrc: removed deprecated and unused header 2016-03-08 16:33:12 +01:00
Martine Lenders
32e0c7ae66 Merge pull request #4636 from authmillenon/ieee802154/enh/general-hdr
ieee802154: provide general header build and read functions
2016-03-07 21:02:52 +01:00
Martine Lenders
399b8026d3 ieee802154: provide general header build and read functions 2016-03-07 16:40:30 +01:00
Martine Lenders
ae52bf9a12 gnrc_sixlowpan_iphc_nhc: fix NHC UDP decoding for fragmented packets 2016-03-04 16:40:45 +01:00
Martine Lenders
5c8ae83660 Merge pull request #3544 from authmillenon/ng_icmpv6_error/feat/send+neterr
gnrc_icmpv6_error: Initial import of IPv6 error convenience functions
2016-03-03 04:29:34 +01:00
Martine Lenders
e76fef89b8 Merge pull request #4936 from OlegHahm/sixlowpan_nalp_fix
sixlowpan: check the first 2 bits of dispatch byte
2016-03-03 00:54:37 +01:00
Martine Lenders
43f84878ec gnrc_icmpv6_error: Initial import of IPv6 error convenience functions 2016-03-01 20:42:27 +01:00
Oleg Hahm
e8d18c1856 sixlowpan: check the first 2 bits of dispatch byte 2016-03-01 18:33:29 +01:00
Martine Lenders
2082296d5b ipv6_addr: optimize for size 2016-03-01 18:29:15 +01:00
Joakim Nohlgård
3af809bdfc Merge pull request #4910 from kaspar030/core_header_cleanup
core: header cleanup
2016-02-29 22:48:35 +01:00
9082273746 core: header cleanup 2016-02-28 22:46:28 +01:00
Cenk Gündoğan
0ac4ee705c ipv6: rpl: add source routing header for RPL 2016-02-27 20:39:12 +01:00
Martine Lenders
24ffa767ef sixlowpan: include missing headers 2016-02-25 00:42:02 +01:00
Martine Lenders
a66ce9c3eb Merge pull request #4784 from authmillenon/gnrc_pkt/api/search-type-function
gnrc_pkt: provide type search function
2016-02-15 13:33:45 +01:00
Oleg Hahm
4824a45c8a Merge pull request #4732 from cgundogan/pr/rpl/pio_control
rpl: make PIOs in DIOs configurable and send them out always or never
2016-02-11 23:53:51 +01:00
Martine Lenders
e8a1fab07d gnrc_pkt: provide type search function 2016-02-11 01:05:02 +01:00
Cenk Gündoğan
03f34927cd pktbuf: do not inline gnrc_pktbuf_remove_snip 2016-02-10 16:38:40 +01:00
Kévin Roussel
eaecf17891 Adding an helper 'csma_sender' module, to be able to send packets in CSMA/CA
mode, without having to guess if network device does it automatically or not
and being forced to handle it in your (higher level) code
(Corrected, compilation-errors free version)
2016-02-10 11:43:47 +01:00
44e985bf8c sys: net: ipv6: add print_ipv6_addr() 2016-02-05 14:06:36 +01:00
b9c97d86c2 sys: net: add ipv6 split prefix/interface from address functions 2016-02-05 13:24:45 +01:00
Cenk Gündoğan
3a16d021a6 conn: udp: doc fix 2016-02-04 10:51:47 +01:00
Cenk Gündoğan
b654dc3167 rpl: doc: add configuration hints 2016-02-03 13:32:26 +01:00
Cenk Gündoğan
73fac82b58 rpl: shell: don't compile PIO code dependent on CFLAGS 2016-02-03 08:59:51 +01:00
Cenk Gündoğan
11e2ae20b0 rpl: make PIO transmission configurable 2016-02-03 07:32:40 +01:00
Cenk Gündoğan
50aff7fca0 rpl: unify requested option flags into one byte 2016-02-03 07:13:24 +01:00
Cenk Gündoğan
cb68c01325 ipv6/nc: doc fix and removed unused macro 2016-01-30 15:26:49 +01:00
BytesGalore
10ea1226bc gnrc/ipv6: add blacklisting of IPv6 addresses 2016-01-28 21:50:43 +01:00
Martine Lenders
131cae626c Merge pull request #3362 from authmillenon/ng_neterr/feat/initial
[RFC] gnrc: initial import of an asynchronous error reporting API
2016-01-26 21:35:30 +01:00
Cenk Gündoğan
617796241e Merge pull request #4295 from authmillenon/gnrc_ipv6_nc/enh/l2addr-lookup
gnrc_ipv6_nc: introduce L2 address lookup function
2016-01-26 19:30:01 +01:00
Oleg Hahm
3d494c8bf9 Merge pull request #3184 from authmillenon/ng_icmpv6_error/feat/init
gnrc_icmpv6_error: initial import
2016-01-26 18:23:54 +01:00
Lotte Steenbrink
be72f2c1cf conn: add more detailed documentation 2016-01-26 16:54:29 -08:00
Martine Lenders
7b21f95df5 gnrc_ipv6_nc: introduce L2 address lookup function 2016-01-26 10:19:15 +01:00
Martine Lenders
da23ffe096 gnrc: initial import of an asynchroneous error reporting API 2016-01-23 16:42:19 +01:00
Martine Lenders
70c3d29036 gnrc_icmpv6_error: initial import 2016-01-23 16:04:05 +01:00
Yonezawa-T2
542e045bba gnrc_ipv6_netif: fixed crash when ENABLE_DEBUG is 1.
When ENABLE_DEBUG is 1, `out` is dereferenced unconditionally, but
`_parse_options` in `gnrc_rpl_control_messages.c` calls it with NULL.

Clarified `out` must not NULL and fixed `_parse_options`.
2016-01-07 10:08:37 +09:00
Martine Lenders
d342d35dd8 gnrc_sixlowpan: Fix IPHC/NHC packet order problem 2015-12-22 17:14:33 +01:00
Cenk Gündoğan
079f66908b rpl: minor doc fix 2015-12-16 09:42:37 +01:00
Cenk Gündoğan
76195bf48b doxygen: gnrc: fix typos 2015-12-09 13:18:23 +01:00
Martine Lenders
877e070112 Merge pull request #4415 from cgundogan/pr/gnrc/doc
gnrc: enhance documentation
2015-12-09 12:10:04 +01:00
Cenk Gündoğan
c21fbe9574 doxygen: use uppercase GNRC 2015-12-08 21:01:39 +01:00
Cenk Gündoğan
0b77b259ef gnrc: enhance documentation 2015-12-08 21:01:39 +01:00
Oleg Hahm
e062a497e9 Merge pull request #4425 from authmillenon/doc/enh/netapi
doc: gnrc netapi: make get/set documentation clearer
2015-12-08 16:21:06 +01:00
Martine Lenders
15220b26ad Merge pull request #4381 from PeterKietzmann/sixlo_frag_unblocking
gnrc_sixlowpan_frag: Make fragmentation non-blocking
2015-12-08 13:13:48 +01:00
Oleg Hahm
666b347eeb net: ETH_ALEN as alias for ETHERNET_ADDR_LEN 2015-12-08 11:27:03 +01:00
Oleg Hahm
796cb58a8a net: added NDN ethertype 2015-12-08 11:27:03 +01:00
Oleg Hahm
3fddead681 net: added packet header 2015-12-08 11:27:03 +01:00
Oleg Hahm
e257563bd3 posix: added packet address family 2015-12-08 11:27:03 +01:00
Oleg Hahm
7e26470288 gnrc nettype: added a CCN nettypes 2015-12-08 11:27:03 +01:00
PeterKietzmann
331fa34502 gnrc_sixlowpan_frag: msg based fragmentation 2015-12-07 17:49:02 +01:00
Martine Lenders
395706a4b9 doc: gnrc netapi: make get/set documentation clearer 2015-12-07 15:08:39 +01:00
Cenk Gündoğan
6abda39890 Merge pull request #4408 from cgundogan/pr/gnrc_conn/doc_fix
gnrc: remove dot from name
2015-12-04 18:13:01 +01:00
Cenk Gündoğan
0f456e4f05 gnrc: remove dot from name 2015-12-04 17:56:16 +01:00
Cenk Gündoğan
59b0895280 gnrc_pkt: Packets => Packet 2015-12-04 17:46:10 +01:00
Cenk Gündoğan
de8ea8b206 Merge pull request #4400 from OlegHahm/netif_exist
gnrc netif: add a check for interface existence
2015-12-04 14:26:35 +01:00
DipSwitch
ede923bc5c tftp: implement TFTP server and client
Fix: packet size and typo in transfer mode main -> mail
2015-12-03 21:45:48 +01:00
Oleg Hahm
9f7be0a2e5 gnrc netif: add a check for interface existence 2015-12-03 18:35:23 +01:00
Martine Lenders
281b0ba46e Merge pull request #4343 from kb2ma/misc/fix-checksum
Fix UDP/ICMPv6 checksum for a sliced/accumulated payload.
2015-12-03 13:16:12 +01:00
Hauke Petersen
0b15943cc1 Merge pull request #4373 from haukepetersen/opt_ipv6_addr
net/gnrc/ipv6: de-inlined ipv6_addr_equal
2015-12-03 12:11:14 +01:00
Oleg Hahm
c96c5dda24 IPv6 netif: documentation ammendment 2015-12-02 18:11:55 +01:00
Oleg Hahm
b366e59c87 conn: add function to find the best source address
...and use it in POSIX sendto() function.
2015-12-02 18:11:55 +01:00
Ken Bannister
835a2d8a27 Add inet_csum_slice() to fix checksum for a sliced layer 4 payload
Padding for an odd number of bytes was not calculated properly.
2015-12-02 05:53:52 -05:00
Hauke Petersen
da39b3e939 net/gnrc/ipv6: de-inlined ipv6_addr_equal 2015-12-01 18:54:35 +01:00
Kévin Roussel
be49059c65 Add NETOPT_CCA_THRESHOLD option to the 'netopt_t' list 2015-11-30 13:07:00 +01:00
Martine Lenders
63770e17b5 Merge pull request #4352 from authmillenon/doc/fix/gnrc_netdev2
gnrc_netdev2: fix documentation
2015-11-27 16:25:20 +01:00
Martine Lenders
8d94765c20 gnrc_netdev2: fix documentation 2015-11-27 15:07:57 +01:00
Martine Lenders
ce06027760 gnrc_netdev2: remove unrequired forward declaration 2015-11-27 15:07:57 +01:00
Martine Lenders
2b6bea0196 Merge pull request #4299 from authmillenon/gnrc_netif_hdr/opt/un-inline
gnrc_netif_hdr: un-inline build function
2015-11-27 15:07:29 +01:00
Martine Lenders
507b4381d2 Merge pull request #4335 from authmillenon/gnrc_netdev2/enh/namescheme
gnrc_netdev2: harmonize naming scheme to rest of GNRC
2015-11-27 14:16:42 +01:00
Martine Lenders
74722888f6 gnrc_netif_hdr: un-inline build function 2015-11-27 13:19:50 +01:00
Martine Lenders
3c00cec299 gnrc_netdev2: harmonize naming scheme to rest of GNRC 2015-11-27 13:03:37 +01:00
test
5bb6df9c6d doc: ndp: remove GNRC_ from PIO flags 2015-11-26 23:40:30 +01:00
test
1f2c674026 rpl: reuse timer for periodic daos 2015-11-20 10:06:07 +01:00
Hauke Petersen
421e69030a Merge pull request #4315 from haukepetersen/doc_periph_fixes
doc: various fixes related to 'periph'
2015-11-19 22:59:26 +01:00
Hauke Petersen
95086da431 doc/drivers/sys: fixed all refs to drivers_periph_xx 2015-11-19 16:09:25 +01:00
test
bbe1b6f125 rpl: reuse xtimer for cleanup 2015-11-17 19:00:18 +01:00
Oleg Hahm
e4244a29ff fib: make FIB size dependent on existence of RPL
Also, enables to configure the FIB size from the applicatin
2015-11-17 16:48:04 +01:00
Oleg Hahm
46dc908fcb gnrc 6lowpan: exclude CTX if not part of the app
This removes dependencies to 6LoWPAN context module if an application is built without support for it.

Also, includes a missing header.
2015-11-17 12:04:11 +01:00
Cenk Gündoğan
f7166bbfd7 rpl: use uint32_t for the parent lifetime 2015-11-09 21:24:08 +01:00
BytesGalore
3153389e49 Merge pull request #4241 from cgundogan/pr/rpl/parent_lifetime_32
rpl: use uint32_t for the parent lifetime
2015-11-09 21:17:16 +01:00
Cenk Gündoğan
bf5e9b4351 rpl: use uint32_t for the parent lifetime 2015-11-09 20:28:31 +01:00
Cenk Gündoğan
b1f2f22898 rpl: uint32_t is sufficient for the DAO timer 2015-11-09 17:25:05 +01:00
Martine Lenders
fc831f0ec2 Merge pull request #4216 from cgundogan/pr/network_layer/remove_timex
net/gnrc/network_layer: remove timex_t
2015-11-09 16:27:24 +01:00
Cenk Gündoğan
ce6b6b84fc rpl: decrease default numbers 2015-11-09 14:56:51 +01:00
Cenk Gündoğan
5aaea3879f netif: ndp: gnrc_ipv6_netif_t::retrans_timer -> uint32_t 2015-11-09 14:55:04 +01:00
Cenk Gündoğan
b59fc825a3 netif: nc: ndp: gnrc_ipv6_netif_t::reach_time -> uint32_t 2015-11-09 14:55:01 +01:00
Cenk Gündoğan
be7a34b1b8 Merge pull request #3157 from BytesGalore/fib_host_prefix_flags
net/fib: Added network prefix flag to indicate a network destination
2015-11-02 16:38:55 +01:00
BytesGalore
523d1f87ca net/fib: Added network prefix flag to indicate a network destination 2015-11-02 15:57:39 +01:00