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

1190 Commits

Author SHA1 Message Date
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
Cenk Gündoğan
42c5666357 Merge pull request #4186 from cgundogan/pr/ipv6/last_vtimers
network_layer: remove last occurences of vtimer
2015-11-02 15:42:50 +01:00
Cenk Gündoğan
1c92c6d933 Merge pull request #4205 from BytesGalore/fib_clean_fibtable_doxy
net/fib: changed the `fib_table_t` doxy to be a bit more informative
2015-11-02 12:52:25 +01:00
BytesGalore
24c48181b9 net/fib: changed the fib_table_t doxy to be a bit more informative 2015-11-02 11:21:32 +01:00
BytesGalore
6c49ec27e0 net/fib: use UNIVERSAL_ADDRESS_SIZE instead of substitute 2015-11-02 08:32:04 +01:00
Joakim Nohlgård
7635d3e94d netopt: Add support for IEEE 802.15.4 channel page option 2015-10-30 09:59:53 +01:00
Cenk Gündoğan
206e027725 Merge pull request #3647 from BytesGalore/fib_source_routing
fib: initial source route support
2015-10-29 12:08:47 +01:00
Cenk Gündoğan
023c0984b3 sixlowpan: switch ltimer to be an xtimer 2015-10-28 21:03:09 +01:00
Martine Lenders
23f8fecc04 Merge pull request #4157 from cgundogan/pr/nc/xtimer_nbr_sol_timer
nc: use xtimer for gnrc_ipv6_nc_t::nbr_sol_timer
2015-10-28 17:51:48 +01:00
Cenk Gündoğan
4297972054 nc: use xtimer for gnrc_ipv6_nc_t::nbr_sol_timer 2015-10-28 15:24:45 +01:00
Cenk Gündoğan
a979d0c72c netif: use xtimer for gnrc_ipv6_netif_t::rtr_adv_timer 2015-10-27 20:51:34 +01:00
Cenk Gündoğan
7490dc21a0 Merge pull request #4172 from cgundogan/pr/ndp/use_correct_timer
nc: ndp: add/use gnrc_ipv6_nc_t::rtr_adv_timer in gnrc_ndp_rtr_sol_handle
2015-10-27 20:43:30 +01:00
BytesGalore
6c57582107 fib: initial source route support 2015-10-27 20:20:18 +01:00
Cenk Gündoğan
c175273f96 Merge pull request #3693 from OlegHahm/remove_superfluous_icmpv6_hdr_build_functions
icmpv6: remove superfluous header build functions
2015-10-27 20:06:02 +01:00
Martine Lenders
7b6de128f7 Merge pull request #4149 from cgundogan/pr/ipv6/init_suffix
ipv6: initialize iid
2015-10-27 20:01:05 +01:00
Cenk Gündoğan
b993914534 nc: ndp: add and use gnrc_ipv6_nc_t::rtr_adv_timer in gnrc_ndp_rtr_sol_handle 2015-10-27 17:15:52 +01:00
Cenk Gündoğan
d587cf9cd4 netif: use xtimer for gnrc_ipv6_netif_t::rtr_sol_timer 2015-10-26 21:03:38 +01:00
Cenk Gündoğan
59a8b929f6 nc: use xtimer for gnrc_ipv6_nc_t::nbr_adv_timer 2015-10-26 16:59:16 +01:00
Cenk Gündoğan
c5acf0227d ipv6/addr: initialize iid part of an ipv6 address 2015-10-26 16:54:45 +01:00
Cenk Gündoğan
2065537368 Merge pull request #4123 from cgundogan/pr/nc/xtimer_rtr_timeout
nc: user xtimer for gnrc_ipv6_nc_t::rtr_timeout
2015-10-26 15:46:01 +01:00
Martine Lenders
5b37e1ad0c Merge pull request #4124 from cgundogan/pr/netif/xtimer_valid_timeout
netif: use xtimer for gnrc_ipv6_netif_addr_t::valid_timeout
2015-10-26 12:23:05 +01:00
Martine Lenders
1e87c078da Merge pull request #4010 from OlegHahm/gnrc_netapi_assert_queue
gnrc netreg: make message queue mandatory
2015-10-26 11:31:03 +01:00
Cenk Gündoğan
0258f29a5e nc: user xtimer for gnrc_ipv6_nc_t::rtr_timeout 2015-10-26 11:27:07 +01:00
Martine Lenders
4002db15d6 Merge pull request #4121 from cgundogan/pr/nc/xtimer_type_timeout
nc: use xtimer for gnrc_ipv6_nc_t::type_timeout
2015-10-26 11:11:37 +01:00
Oleg Hahm
2e342c7e9b gnrc netreg: make message queue mandatory
Any thread that registers for gnrc events (i.e. incoming packets) must provide a message queue.
2015-10-26 10:54:05 +01:00
Cenk Gündoğan
40e504de65 nc: use xtimer for gnrc_ipv6_nc_t::type_timeout 2015-10-22 15:55:46 +02:00
Cenk Gündoğan
d64fdbba3a rpl: refactoring of instances and dodags 2015-10-21 18:02:16 +02:00
Cenk Gündoğan
0146c1b1b9 netif: use xtimer for gnrc_ipv6_netif_addr_t::valid_timeout 2015-10-20 22:55:12 +02:00
Cenk Gündoğan
f796f6339c nc: minor doc fix 2015-10-20 22:02:21 +02:00
Cenk Gündoğan
beb3321132 nc: remove unused rtr_sol_timer 2015-10-20 19:05:42 +02:00
BytesGalore
8af6a6630d Merge pull request #4107 from cgundogan/pr/rpl/make_fib_rpl_aware
Introduce RPL awareness to fib entries
2015-10-19 11:50:19 +02:00
Cenk Gündoğan
7ecd6d4a8a fib: reduce scope of global vars to the scope of fib_table_t 2015-10-19 10:26:41 +02:00
Cenk Gündoğan
5a4789573d fib: add flag to mark RPL routes 2015-10-18 21:00:30 +02:00
Thomas Eichinger
9a839c990a doc:netdev: mention get/set don't check for alignment of memory accessed 2015-10-16 12:14:56 +02:00
Ludwig Knüpfer
4ffbb89e66 doc: fix gnrc_ipv6_whitelist group and description 2015-10-13 19:55:29 +02:00
Thomas Eichinger
7bf121903a Merge pull request #3729 from daniel-k/net_at86rf2xx_tx_feedback
netdev: add TX feedback events
2015-10-12 16:43:26 +02:00
daniel-k
9c36546026 netdev: add TX feedback events 2015-10-12 15:50:39 +02:00
Cenk Gündoğan
dbe64987e1 Merge pull request #3688 from cgundogan/pr/rpl/leaf_node_operation
rpl: leaf/router node operation
2015-10-09 14:14:28 +02:00
Cenk Gündoğan
a689867031 rpl: leaf node operation 2015-10-05 11:34:39 +02:00
Cenk Gündoğan
3f238980f7 rpl: incremental instance id generation 2015-09-29 19:34:59 +02:00
Cenk Gündoğan
f14ab00658 Merge pull request #3719 from cgundogan/pr/rpl/dodag_conf_prefix_info_request
rpl: make dodag_conf and prefix_info options requestable
2015-09-29 18:44:55 +02:00
Martine Lenders
5291f3b2bd gnrc_ipv6_whitelist: initial import 2015-09-28 16:59:53 +02:00
Cenk Gündoğan
f4660e8ff5 rpl: request DODAG_CONF and PREFIX_INFO option from parent when joining a DODAG 2015-09-28 09:23:37 +02:00
Oleg Hahm
f035bced0c doc: put network devices and sensors in subgroups 2015-09-27 18:25:43 +02:00
Oleg Hahm
526f6fd5f8 doc: fix doxygen group for some gnrc headers 2015-09-25 21:07:16 +02:00
Martine Lenders
a225987d3e gnrc 6Lo-ND rtr: fix array sizes for 6LBR 2015-09-25 11:26:58 +02:00
Oleg Hahm
63fda9e900 6lowpan: remove tentative flag for local addresses
There's no real need for this flag, but it causes problem during address registration.
2015-09-24 13:33:10 +02:00
Martine Lenders
dd69fd0cd3 gnrc_ndp_internal: add missing include 2015-09-24 01:36:54 +02:00
Martine Lenders
fda6155071 Merge pull request #3615 from authmillenon/conn/feat/initial
conn: Initial import of a light-weight network application API
2015-09-21 20:47:08 +02:00
Martine Lenders
ef9acf6aee gnrc: add GNRC-specific conn implementation 2015-09-21 16:56:27 +02:00
Martine Lenders
b87a3eab89 conn: Initial import of a light-weight network application API 2015-09-21 16:56:27 +02:00
Oleg Hahm
682bde25d9 6lowpan nd: check right NCE in AR handling
When checking the address registration option, the address has to be passed in order to check the correct neighbor cache entry.
2015-09-21 09:25:12 +02:00
Martine Lenders
802e229bcb gnrc_sixlowpan_nd: register new addresses for AAC 2015-09-18 00:23:12 +02:00
Martine Lenders
1682b76866 gnrc_ndp_internal: adapt nbr_sol send function to get src 2015-09-18 00:23:12 +02:00
Martine Lenders
15e6e65b11 Merge pull request #3841 from OlegHahm/slip_write_blocking
gnrc slip: use blocking uart writing
2015-09-17 13:55:56 +02:00
Oleg Hahm
73fe4d4e55 gnrc slip: use blocking uart writing 2015-09-17 11:48:43 +02:00
Martine Lenders
a19a04c753 Merge pull request #3853 from OlegHahm/6lowpan_nd_router_fixes
6lowpan nd router fixes
2015-09-17 01:37:39 +02:00
Oleg Hahm
af0ed51559 Merge pull request #3839 from OlegHahm/6lr_fixes
6lowpan nd: router fixes
2015-09-17 00:43:40 +02:00
Oleg Hahm
b15660033a sixlowpan nd: send actually router advertisements 2015-09-16 23:59:43 +02:00
Oleg Hahm
596ef55641 6lowpan nd: join all routers multicast group
A 6LR should join the all routers multicast group as soon as it turns
into a router which is indicated by setting the router advertisement
flag.
2015-09-16 23:53:08 +02:00
5a485c3f73 sys: net: fib: switch to xtimer 2015-09-16 10:58:56 +02:00
Cenk Gündoğan
50392b6256 rpl: switch to xtimer 2015-09-16 10:58:56 +02:00
Cenk Gündoğan
4b7a3ed236 rpl/structs.h: include vtimer 2015-09-16 10:58:50 +02:00
Oleg Hahm
f8f74468b3 Merge pull request #3822 from authmillenon/ipv6_addr/enh/opt-ipv4-sup
ipv6_addr: make IPv4 compatible addresses optional
2015-09-15 10:47:36 +02:00
Oleg Hahm
f762d2aab2 Merge pull request #3830 from DipSwitch/fix_udp_documentation
doc: Fix documentation for UDP
2015-09-13 19:10:45 +02:00
Martine Lenders
e7bbbf080b Merge pull request #3813 from OlegHahm/sixlowpan_nd_router_deps
gnrc: 6lowpan-nd: some broken router dependencies
2015-09-12 15:58:11 +02:00
DipSwitch
684eff4541 doc: Fix documentation for UDP 2015-09-12 12:54:56 +02:00
Martine Lenders
85c1c17090 ipv6_addr: make IPv4 compatible addresses optional 2015-09-11 20:03:46 +02:00
Martine Lenders
93a92dfa03 Merge pull request #3134 from authmillenon/ng_sixlowpan/feat/6lo-nd
gnrc_sixlowpan_nd_border_router: initial import of border router behavior of 6LoWPAN-ND
2015-09-11 19:58:36 +02:00
Martine Lenders
b9fcd2bfea Merge pull request #3608 from authmillenon/ipv4_addr/api/initial
ipv4_addr: initial import
2015-09-11 18:41:23 +02:00
Martine Lenders
e6c96cde53 gnrc_sixlowpan_nd_border_router: initial import 2015-09-11 16:45:38 +02:00
Martine Lenders
db56507ff9 ipv4_addr: initial import 2015-09-11 16:32:36 +02:00
Martine Lenders
a6625e86d3 gnrc_sixlowpan: document behavior for blackbox testing 2015-09-11 11:28:33 +02:00
Oleg Hahm
e064985c1b gnrc ipv6 netif: missing flags for 6lowpan router 2015-09-10 19:38:38 +02:00
Martine Lenders
132f5e1b9c gnrc_sixlowpan_nd_router: initial import 2015-09-10 02:13:44 +02:00
Martine Lenders
84768b1747 Merge pull request #3748 from authmillenon/gnrc_sixlowpan_nd/feat/initial
gnrc_sixlowpan_nd: initial import of host behavior of 6LoWPAN-ND
2015-09-09 11:58:01 +02:00
Martine Lenders
ea3426eee5 gnrc: adapt for gnrc_sixlowpan_nd 2015-09-09 11:16:10 +02:00
Martine Lenders
2a1c243ad2 gnrc_sixlowpan_nd: initial import 2015-09-08 20:37:36 +02:00
Oleg Hahm
3ea86c7c7a gnrc: ipv6: netif: obey naming conventions 2015-09-07 18:32:41 +02:00
48baf5ddcf Merge pull request #3683 from kaspar030/add_gnrc_netdev2_support
sys: net: add gnrc netdev2 support
2015-09-04 18:00:18 +02:00
ef972735dc sys: net: replace dev_eth with netdev2, adapt native tap driver 2015-09-04 15:39:04 +02:00
78b4bf6f58 sys: net: gnrc: add basic netdev2 support 2015-09-04 15:39:04 +02:00
Oleg Hahm
049b9868f3 ipv6: netif: compute maximum addresses
RPL and ND routers need additional addresses
2015-09-04 14:52:54 +02:00
Martine Lenders
fc6896b0c7 Merge pull request #3049 from authmillenon/ng_ndp/feat/rtr-dscvry
gnrc_ndp_router: Initial import of router behavior of router discovery
2015-09-03 00:22:40 +02:00
Oleg Hahm
4fa3bb89ea Merge pull request #3744 from authmillenon/gnrc_ipv6_nc/enh/6lo-nd
gnrc_ipv6_nc: adapt neighbor cache for different ND implementations
2015-09-02 21:54:35 +02:00
Martine Lenders
abe63b3f71 gnrc_ndp_router: initial import 2015-09-02 21:42:10 +02:00
Martine Lenders
b033ff590b gnrc_ndp_host: initial import 2015-09-02 17:31:09 +02:00
Martine Lenders
a65804027f gnrc_ipv6_nc: adapt neighbor cache for different ND implementations 2015-09-02 14:21:40 +02:00
Oleg Hahm
6786da07e2 Merge pull request #3628 from authmillenon/ng_ndp/enh/0-length-addr
gnrc_ndp: add support for address-less link-layers
2015-09-02 13:53:22 +02:00
Martine Lenders
522a7f92db Merge pull request #3756 from OlegHahm/ipv6_netif_doc_enhancement
gnrc: ipv6: netif: documentation update
2015-09-02 13:06:28 +02:00
Martine Lenders
df827d9c34 Merge pull request #3752 from authmillenon/gnrc_ipv6_netif/fix/wired-flag
gnrc_ipv6_netif: IS_WIRED flag collides with Home Agent flag
2015-09-02 13:00:27 +02:00
Oleg Hahm
a5b4642c0a gnrc: ipv6: netif: documentation update
Added a hint to router advertisements to the IPv6 netif flag documentation.
2015-09-02 12:28:27 +02:00
Martine Lenders
a980155250 ng_ndp: add support for address-less link-layers 2015-09-02 12:01:10 +02:00
Cenk Gündoğan
4a9d08e268 Merge pull request #3745 from authmillenon/gnrc_ipv6_netif/enh/rtr-disc-prep
gnrc_ipv6_netif: prepare for router discovery
2015-09-01 19:25:08 +02:00
Martine Lenders
b81a4dd695 gnrc_ipv6_netif: prepare for router discovery 2015-09-01 18:50:40 +02:00
daniel-k
6f705a5189 at86rf2xx: implement CSMA settings 2015-09-01 18:45:47 +02:00
Martine Lenders
41e86bfc20 gnrc_ipv6_netif: reassign IS_WIRED flag 2015-09-01 12:49:24 +02:00
Oleg Hahm
eac7f3e3ce Merge pull request #3697 from OlegHahm/netopt_wireless_ro
gnrc: link-type flag
2015-09-01 11:54:48 +02:00
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
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
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
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
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
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
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
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
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
293d0e3b58 ng_netapi: enhance documentation with references 2015-08-11 01:48:28 +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
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
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
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
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
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
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
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
Oleg Hahm
2ffd688e66 ipv6: increase number of addresses per interface 2015-07-22 19:54:12 +02:00
Oleg Hahm
6dd92dcab8 doc: fix doxygen group for RPL SRH 2015-07-21 10:00:11 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oleg Hahm
c8aff36237 netconf: added option to en/disable the SFD IRQ
Also includes the implementation for the AT86RF231
2015-05-06 15:58:02 +02:00
Oleg Hahm
d1bfa2f2ff Merge pull request #2555 from authmillenon/ng_icmpv6/feat/initial
ng_icmpv6: Initial import
2015-05-01 11:37:42 +02:00
Martine Lenders
86133b8404 ng_icmpv6_echo: initial import 2015-05-01 08:34:11 +02:00
Martine Lenders
da2ec1b89e ng_icmpv6_error: add preliminary header 2015-05-01 08:34:11 +02:00
Martine Lenders
591ef1826f ng_icmpv6: Initial import 2015-05-01 08:29:01 +02:00
Martine Lenders
4741a01e36 Merge pull request #2721 from authmillenon/ipv6_nc/feat/iterators
ipv6_nc: add iterators
2015-04-30 08:59:44 +02:00
Martine Lenders
a767f66d72 ipv6_nc: add iterators 2015-04-29 21:22:28 +02:00
Martine Lenders
067a3498c5 netif_hdr: add print function 2015-04-28 21:16:47 +02:00
Martine Lenders
32e27c3ff3 ipv6_hdr: add print function 2015-04-28 21:16:47 +02:00
Hauke Petersen
b15b291e0a net: added ng header for ieee802154 2015-04-27 18:56:59 +02:00
haukepetersen
b1d8752711 net: added NG_UDP implementation 2015-04-26 21:53:07 +02:00
Martine Lenders
8a5e0d7d82 Merge pull request #2781 from authmillenon/ng_sixlowpan_frag/feat/initial
ng_sixlowpan: Initial import of datagram fragmentation
2015-04-26 03:20:15 +02:00
Martine Lenders
73d9739258 ng_sixlowpan: Initial import of datagram fragmentation 2015-04-26 02:21:20 +02:00
Oleg Hahm
2d8021ac06 Merge pull request #2857 from authmillenon/ipv6_addr/enh/rename-hdr-check
ipv6_addr: rename ng_ipv6_hdr_is_ipv6_hdr() to something less silly
2015-04-25 17:42:12 +02:00
Martine Lenders
5412e0e68b ng_sixlowpan: initial import 2015-04-23 11:29:53 +02:00
Martine Lenders
07e2dbaf7e ng_sixlowpan_netif: initial import 2015-04-23 11:29:51 +02:00
Martine Lenders
3e9db4371f ipv6_addr: rename ng_ipv6_hdr_is_ipv6_hdr() to something less silly 2015-04-23 02:26:48 +02:00
Martine Lenders
8e4edf2b72 Merge pull request #2454 from authmillenon/ng_ipv6/feat/initial
ng_ipv6: initial import
2015-04-23 01:10:12 +02:00
Martine Lenders
a0c6db6591 ng_ipv6: initial import 2015-04-22 22:12:07 +02:00
Martine Lenders
d994908db4 pktbuf: clarify doc of pktbuf_add()
Fixes #2853
2015-04-22 19:22:41 +02:00
Martine Lenders
c9078b44ab Merge pull request #2845 from haukepetersen/ng_add_netconf_rawmode
net/ng_netconf: added option for setting RAW mode
2015-04-22 17:31:46 +02:00
haukepetersen
96a1c6f74b net/ng_netconf: added option for setting RAW mode 2015-04-21 18:58:58 +02:00
Oleg Hahm
2f3f40587a doc: doxygen fix until sixlowpan is merged
* sixlowpan doxygen group does not yet exist
2015-04-21 18:53:37 +02:00
Martine Lenders
3a72e5346b unittests: add tests for ng_sixlowpan_ctx 2015-04-18 15:42:42 +02:00
Martine Lenders
39ed4baa92 ng_sixlowpan: initial import of a context buffer 2015-04-18 15:42:42 +02:00
Martine Lenders
f58eac2188 Merge pull request #2807 from authmillenon/ipv6_addr/fix/prefix-init
ipv6_addr: do not null remaining bits in prefix initialization
2015-04-16 18:06:21 +02:00
Martine Lenders
2c46c79fd5 pktbuf: fix snip-was-head case for pktbuf_remove_snip 2015-04-14 13:48:36 +02:00
e9fb853a81 Merge pull request #2804 from authmillenon/pktbuf/api/pktbuf_remove
pktbuf: add helper function to remove snips from packet
2015-04-14 12:30:14 +02:00
Martine Lenders
1230fc4070 ipv6_addr: do not null remaining bits in prefix initialization 2015-04-14 11:12:28 +02:00
Martine Lenders
67602bb443 Merge pull request #2600 from authmillenon/ipv6_nc/feat/mc-translation
[RFC] ng_netif_hdr: add flags for multicast and broadcast
2015-04-14 10:08:22 +02:00
Martine Lenders
37d214ba1a pktbuf: add helper function to remove snips from packet 2015-04-14 02:06:03 +02:00
Martine Lenders
d47cd80945 Merge pull request #2779 from kaspar030/fix_ipv6_addr_string_max_length
sys: net: ipv6: fix max ipv6 address string length
2015-04-11 19:26:01 +02:00
BytesGalore
580ae0a63d Merge pull request #2786 from Lotterleben/fib_typos
FIB: fix documentation typos
2015-04-10 16:41:13 +02:00
Lotte Steenbrink
d2e6e7ba17 FIB: fix some typos 2015-04-10 03:15:20 -07:00
Martine Lenders
c94094529d Merge pull request #2731 from authmillenon/ipv6_hdr/feat/initial
ipv6_hdr: Initial import
2015-04-10 07:35:41 +02:00
Martine Lenders
687947d3db Merge pull request #2730 from authmillenon/inet_csum/feat/initial
inet_csum: initial import of Internet Checksum module
2015-04-10 07:24:58 +02:00
Lotte Steenbrink
e130b6929c Merge pull request #2553 from authmillenon/net/feat/hdr-csum
ng_net: introduce checksum calculation
2015-04-10 02:01:10 +02:00
Martine Lenders
cdbd06d2d8 ipv6_netif: fix documentation 2015-04-10 01:29:35 +02:00
Martine Lenders
9c30851b45 ipv6_hdr: Initial import 2015-04-10 00:41:55 +02:00
cf53d966be sys: net: ipv6: fix max ipv6 address string length 2015-04-09 21:28:04 +02:00
4d15482669 sys: net: ng_pktdump: make pktdump have higher-than-main priority 2015-04-09 18:14:11 +02:00
Martine Lenders
b8fea1a2c7 Merge pull request #2735 from authmillenon/ipv6_netif/feat/hl
ipv6_netif: expand interface
2015-04-08 12:18:26 +02:00
Martine Lenders
25b568e6d5 ipv6_netif: fix prefix for address flags
Since NDP will introduce interface specific flags this naming might get
confusing
2015-04-08 10:43:14 +02:00
Martine Lenders
05bcdd5398 ipv6_netif: add flags 2015-04-08 10:43:05 +02:00
Martine Lenders
d382feabbe netif_hdr: add flags for broadcast and multicast 2015-04-03 16:05:10 +02:00
Lotte Steenbrink
40acfa732b Merge pull request #2705 from authmillenon/netif/feat/addr-str
netif: add functions to parse and output hardware addresses
2015-04-02 01:04:33 +02:00
Martine Lenders
882bcbe92e netif: add functions to parse and output hardware addresses 2015-04-01 16:24:19 +02:00
BytesGalore
30c76adc43 net: added a core implementation of a FIB 2015-04-01 10:24:35 +02:00
Martine Lenders
476dd297bd Merge pull request #2719 from haukepetersen/ng_opt_pktdump
net/ng_pktdump: manage stack internal and use msg queue
2015-03-30 02:43:43 +02:00
Martine Lenders
6f7af8f0a2 ipv6_netif: move default MTU from ng_ipv6.h 2015-03-30 01:18:07 +02:00
Martine Lenders
c6eaeb4366 ipv6_netif: add current hop limit to interface 2015-03-30 01:18:06 +02:00
Martine Lenders
7273d5c9ad Merge pull request #2723 from authmillenon/ipv6_netif/feat/prefix-list
ipv6_netif: add prefix list to interface
2015-03-30 00:31:37 +02:00
Martine Lenders
f192cda090 Merge pull request #2712 from authmillenon/nettype/fix/typo
nettype: fix typo
2015-03-29 15:12:23 +02:00
Martine Lenders
4571fe2f8d netreg: add multiplexer for checksum calculation 2015-03-29 14:55:11 +02:00
Martine Lenders
fa689fe147 Merge pull request #2575 from authmillenon/ng_net/feat/hdr-build
ng_net: header building facilities
2015-03-29 14:28:49 +02:00
Martine Lenders
1ea70be0e8 netif: add convinience function for header building 2015-03-28 18:29:50 +01:00
Martine Lenders
69c593b80b netreg: add multiplexer for header building 2015-03-28 18:28:04 +01:00
Martine Lenders
903a9d54ce inet_csum: initial import of Internet Checksum module 2015-03-28 14:02:59 +01:00
Hauke Petersen
4ccc3634b3 net/ng_pktdump: manage stack internally 2015-03-28 13:47:03 +01:00
Hauke Petersen
96efe23027 net/ng_pktdump: added message queue 2015-03-28 13:36:43 +01:00
Martine Lenders
dce3a6056d ipv6_netif: add prefix list to interface 2015-03-27 20:39:52 +01:00
Martine Lenders
2219d21ba2 Merge pull request #2706 from authmillenon/nettype/feat/introduce_netif
nettype: introduce type for ng_netif_hdr_t
2015-03-27 15:13:20 +01:00
Martine Lenders
cbe9aa6939 nettype: fix typo 2015-03-25 05:03:27 +01:00
Martine Lenders
79e76d05a0 nettype: introduce type for ng_netif_hdr_t 2015-03-25 02:10:14 +01:00
Hauke Petersen
5f77bbe1c8 Merge pull request #2563 from authmillenon/ng_pktbuf/fix/semantics
ng_pktbuf: change semantics for received packets
2015-03-24 16:49:49 +01:00
Martine Lenders
23d079bdf4 Merge pull request #2661 from authmillenon/ethertype/fix/byteorder
ng_ethernet: make ethertype network byte order
2015-03-24 15:57:54 +01:00
Martine Lenders
db8cbc7afa Merge pull request #2662 from authmillenon/ng_nomac/fix/receive
ng_nomac: fix receive
2015-03-24 01:15:15 +01:00
Martine Lenders
3fa96e5eb9 Merge pull request #2693 from haukepetersen/ng_netdev_fixconst
net/ng_netdev: made pointer to driver const
2015-03-23 23:23:25 +01:00
Martine Lenders
e431dc8171 Merge pull request #2585 from authmillenon/ng_nettype/api/translate
ng_nettype: add translation capabilities to ethertype and protnum
2015-03-23 21:47:47 +01:00
Martine Lenders
326a402148 ng_netapi: introduce ng_netapi_receive() 2015-03-23 16:53:15 +01:00
Hauke Petersen
4968e54816 net/ng_netdev: made pointer to driver const 2015-03-23 16:20:25 +01:00
Hauke Petersen
497a3da9e3 net: added ng_pktdump module 2015-03-23 15:25:30 +01:00
Martine Lenders
21204dc3eb ng_pktbuf: change semantics for received packets 2015-03-23 15:08:46 +01:00
Martine Lenders
678ca8dd79 ng_pkt: update documentation 2015-03-23 15:08:44 +01:00
Martine Lenders
d959c9265b ng_nettype: fix documentation 2015-03-23 14:35:33 +01:00
Martine Lenders
fa59e3122c ng_nettype: add translation capabilities to ethertype and protnum 2015-03-23 14:35:28 +01:00
Martine Lenders
8111b15425 ng_ethernet: make ethertype network byte order 2015-03-20 18:45:24 +01:00
Hauke Petersen
44ce49fce2 net/ng_netbase: added include of ng_netif/hdr.h 2015-03-19 15:28:41 +01:00
Martine Lenders
7027519f28 ng_ipv6: provide support for ng_netif 2015-03-19 15:13:17 +01:00
Martine Lenders
89a10f2630 Merge pull request #2629 from haukepetersen/ng_netbase
net: introduced ng_netbase pseudo module and header
2015-03-19 12:32:06 +01:00
Hauke Petersen
002fd2bc81 net/ng_netdev: added error code to send() 2015-03-18 18:34:19 +01:00
Hauke Petersen
7e8bc3f21c net/ng_netdev: fixed missing include of kernel.h 2015-03-18 15:27:23 +01:00
Hauke Petersen
9f58c28881 ng_net: introduced ng_netbase.h pseudo header 2015-03-18 15:27:23 +01:00
Hauke Petersen
8124907f3a net/ng_netapi: changed semantics of get function 2015-03-16 15:18:05 +01:00
Hauke Petersen
48c41661bc net/ng_netdev: changed semantics of get function 2015-03-16 15:18:05 +01:00
Martine Lenders
99e810e9b5 Merge pull request #2461 from authmillenon/ng_ipv6_nc/feat/initial
net: initial import of an IPv6 neighbor cache
2015-03-14 02:26:16 +01:00
Martine Lenders
e80e4fb181 Merge pull request #2580 from authmillenon/ng_netconf/api/add_src_len
ng_netconf: add source length identifier
2015-03-13 23:09:18 +01:00
Martine Lenders
c1708682e8 ng_ipv6_nc: Initial import 2015-03-13 20:42:47 +01:00
Martine Lenders
5b3cf47acd ng_netconf: add source length identifier
The rational is that for devices with dual addressing modes (or more) as
for example IEEE 802.15.4 you can get or set these addressing modes for
the source address of a packet. The length of the destination address is clear
since it usually arrives through the `ng_netif_hdr_t`.

In case of IEEE 802.15.4 this is needed to determine the compression
state of source IPv6 addresses in 6LoWPAN IPHC.
2015-03-13 14:59:10 +01:00
Oleg Hahm
0144bb589b Merge pull request #2546 from authmillenon/ng_ipv6_addr/api/add_string_functions
[RFC] ng_ipv6_addr: add (optional) string conversion functions
2015-03-13 13:41:37 +01:00
Martine Lenders
0cca4867ea ng_ipv6_addr: add string to address conversion function 2015-03-12 21:06:43 +01:00
Martine Lenders
9f2e2121c1 ng_ipv6_addr: add address to string conversion function 2015-03-12 21:06:41 +01:00
Hauke Petersen
549867b57e net: added ng_nomac module 2015-03-12 17:15:39 +01:00
Martine Lenders
4364493051 ng_ethernet: intial import 2015-03-12 11:31:25 +01:00
Martine Lenders
dab8f9f6c0 ng_ethertype: initial import 2015-03-12 11:27:12 +01:00
Hauke Petersen
b9f4cdc3ae Merge pull request #2559 from authmillenon/ng_netdev/doc/fixes
ng_netdev: fix some documentation and a suggestion for a type change
2015-03-10 15:14:05 +01:00
Martine Lenders
b540e65e72 ng_netif_hdr: simplify address getter/setter 2015-03-09 17:36:33 +01:00
Martine Lenders
081784d16a ng_netif_hdr: fix documentation 2015-03-09 03:52:12 +01:00
Martine Lenders
84713f4873 ng_netif_hdr: make inline functions static 2015-03-08 22:54:06 +01:00
Martine Lenders
c66612b50b ng_netdev: change event_type to same type as msg_t::content::value 2015-03-08 22:42:35 +01:00
Martine Lenders
fd0d83711a ng_netdev: fix documentation 2015-03-08 22:41:35 +01:00
Martine Lenders
878bc94b38 ng_netif: Add missing include 2015-03-04 18:30:45 +01:00
Lotte Steenbrink
1793eb7ec8 Merge pull request #2450 from authmillenon/netreg/api/pointer-based
RFC: netreg: move to pointer-based API
2015-03-04 15:33:15 +01:00
Martine Lenders
ec5f686cd0 netreg: move to pointer-based API
Moving to a pointer-based API simplifies a lot, since there is no need
for an internal pool of entries anymore. Therefore, a lot of
organizational overhead and some restrictions (e.g. an upper limit on
entries) are dropped.

The entries can be stored in the stack of the respective thread.
2015-03-04 13:17:00 +01:00
Thomas Eichinger
40062c3ac3 net/ng_netconf.h: fix doxygen comments 2015-03-03 23:06:32 +01:00
Hauke Petersen
be9987292f net: added generic network interface header format 2015-03-03 22:00:46 +01:00
Martine Lenders
dad4e8d5df Merge pull request #2433 from authmillenon/ng_ipv6_addr/feat/initial
ng_ipv6_addr: initial import
2015-02-20 19:27:17 +01:00
Martine Lenders
ff36abb2cf ng_ipv6_addr: initial import
The motivation behind this module is to allow for address handling
functions where they, but not the full IPv6 functionality might be
needed. This new version of the IPv6 address data type utilizes the
byteorder.h header to enforce network byte-order on its members.
2015-02-20 17:40:26 +01:00
Ludwig Ortmann
4f29a7757e Merge pull request #2285 from authmillenon/pktbuf/api/use-pkt
pktbuf: port to use pkt_t instead of void*
2015-02-19 14:46:15 +01:00
Martine Lenders
41f60aca4c pktbuf: port to use ng_ version 2015-02-19 13:51:27 +01:00
Hauke Petersen
f33938078b net/ng_netdev: changed return value of rem_cb 2015-02-18 18:05:23 +01:00
Oleg Hahm
a6e902ff42 Merge pull request #2455 from authmillenon/ng_protnum/feat/initial
ng_protonum: Initial import of protocol number defines
2015-02-17 19:54:13 +01:00
Martine Lenders
c4e6504c8e ng_protonum: Initial import of protocol number defines 2015-02-17 19:17:14 +01:00
Martine Lenders
1126c97dcf ng_pktqueue: fix documentation 2015-02-15 12:57:43 +01:00
Martine Lenders
fc441064b9 ng_pkt: fix documentation 2015-02-15 12:57:43 +01:00
Martine Lenders
3837e31f59 ng_nettype: fix documentation 2015-02-15 12:57:42 +01:00
Martine Lenders
d32aa48413 ng_netreg: fix documentation 2015-02-15 12:57:42 +01:00
Martine Lenders
84754c1b83 ng_netif: fix documentation 2015-02-13 12:43:42 +01:00
Martine Lenders
580eb63835 ng_netdev: fix documentation 2015-02-13 12:43:37 +01:00
Martine Lenders
0b95b3ae40 ng_netconf: fix documentation 2015-02-13 12:42:46 +01:00
Martine Lenders
c601b72ba7 ng_netapi: fix documentation 2015-02-13 12:42:24 +01:00
Martine Lenders
c80c04d6ed netreg: Initial import 2015-02-12 16:13:38 +01:00
Martine Lenders
e6f21eee97 Merge pull request #2441 from thomaseichinger/ng_netconf_reset
net/ng_netconf: add reset state to ng_netconf_state_t
2015-02-12 15:01:47 +01:00
Martine Lenders
c6777ffeed Merge pull request #2427 from authmillenon/netapi/api/naming-fixup
netdev: unify msg type macro with msg type macros in netapi
2015-02-12 12:02:50 +01:00
Thomas Eichinger
6a425b5784 net/ng_netconf: add reset state to ng_netconf_state_t 2015-02-12 11:48:34 +01:00
Martine Lenders
15a6e2066d netdev: piggy-back some formatting error 2015-02-11 20:04:58 +01:00
Ludwig Ortmann
c6fb00a235 netconf: fix doxygen 2015-02-11 13:44:08 +01:00
Ludwig Ortmann
eaa9102a6a netif: fix doxygen 2015-02-11 13:42:06 +01:00
Martine Lenders
b208371163 Merge pull request #2417 from authmillenon/netif/feat/initial
netif: Initial import of ng_* version
2015-02-11 12:41:54 +01:00
Martine Lenders
cfc64ff4de Merge pull request #2342 from authmillenon/pkt/api/simplify
pkt: simplify API
2015-02-11 12:41:43 +01:00
Martine Lenders
cb74094edd pktqueue: adapt to change in pkt.h 2015-02-11 11:01:33 +01:00
Martine Lenders
7317097db2 pkt: simplify API 2015-02-11 11:01:33 +01:00
Martine Lenders
894cd964f9 netif: Initial import of ng_* version 2015-02-11 10:52:51 +01:00
Martine Lenders
934806394f netdev: unify msg type macro with msg type macros in netapi 2015-02-10 18:19:04 +01:00
Hauke Petersen
c2cfd89fa5 net/ng_netapi: fixed get/set msg type macro names 2015-02-10 18:04:32 +01:00
Hauke Petersen
bf95a8f089 Merge pull request #2425 from haukepetersen/ng_fix_netdev
net/ng_netdev: fixed msg type macro name
2015-02-10 17:46:05 +01:00
Hauke Petersen
157fea687b Merge pull request #2424 from haukepetersen/ng_fix_netapi
net/ng_netapi: fixed typo
2015-02-10 17:45:56 +01:00
Hauke Petersen
f9e2404772 net/ng_netdev: fixed msg type macro name 2015-02-10 17:26:49 +01:00
Hauke Petersen
28ad246c9f net/ng_netapi: fixed typo 2015-02-10 17:25:15 +01:00
Ludwig Ortmann
bfd34a6855 Merge pull request #2421 from LudwigOrtmann/pr/netdev_ng_fixup
netdev_ng fixup
2015-02-10 16:55:35 +01:00
Martine Lenders
e5e1d0dd6d Merge pull request #2397 from authmillenon/nettype/feat/initial
nettype: intial import
2015-02-10 15:10:08 +01:00
Hauke Petersen
d46d6541c1 Merge pull request #2399 from haukepetersen/ng_netconf
ng_net: add global configuration options
2015-02-10 14:26:27 +01:00
Ludwig Ortmann
8234bc87e7 ng_net: unify header guard 2015-02-10 14:22:36 +01:00
Ludwig Ortmann
3f055f18dd ng_net: fix doxygen group 2015-02-10 14:22:15 +01:00
Martine Lenders
09ebb0e89c Merge pull request #2400 from haukepetersen/ng_netapi
ng_net: add new version of NETAPI
2015-02-10 14:03:27 +01:00
Martine Lenders
9d36c05398 nettype: intial import 2015-02-10 13:32:10 +01:00
Hauke Petersen
c5c9c3dfab ng_net: added global configuration options 2015-02-10 11:41:27 +01:00
Hauke Petersen
87e2b6db50 ng_net: added new version of NETAPI 2015-02-10 11:34:56 +01:00
Hauke Petersen
71496771c5 net: added ng version of the netdev interface 2015-02-09 18:53:04 +01:00