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

808 Commits

Author SHA1 Message Date
Cenk Gündoğan
3609dce47d sc_gnrc_rpl: adjust rpl shell for xtimer usage 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
12bcc46f15 gnrc_sixlowpan_iphc: move assert to a valid position 2015-09-16 09:54:08 +02:00
Martine Lenders
345a5795e5 Merge pull request #3825 from OlegHahm/gnrc_scan_build_fixes
gnrc: scan build fixes
2015-09-12 16:41:37 +02:00
Martine Lenders
609867000e Merge pull request #3831 from cgundogan/pr/ndp/pio_prefix_len
ndp: assertify pio prefix len check and include 0 and 128
2015-09-12 16:06:41 +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
Cenk Gündoğan
14d899bf83 ndp: assertify pio prefix len check and include 0 and 128 2015-09-12 13:11:01 +02:00
Oleg Hahm
a182977161 gnrc ipv6: 6lowpan router needs sol. node address 2015-09-12 12:56:28 +02:00
Oleg Hahm
dc225e2861 6lowpan nd: check for link-local first 2015-09-11 22:56:23 +02:00
Oleg Hahm
04022be770 gnrc: netdev2: eth: check for empty multicast 2015-09-11 21:44:25 +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
4da5c8095c gnrc: adapt for gnrc_sixlowpan_nd_border_router 2015-09-11 16:45:43 +02:00
Martine Lenders
e6c96cde53 gnrc_sixlowpan_nd_border_router: initial import 2015-09-11 16:45:38 +02:00
Martine Lenders
e51786910d gnrc_ndp: add PIO to router advertisements
The PIOs for the configured prefixes were generated, but never added to
the packet, causing some problems in the packet buffer.

Fixes #3815 (possibly)
2015-09-11 15:54:57 +02:00
Cenk Gündoğan
540022d224 Merge pull request #3814 from cgundogan/pr/rpl/prefix_memset
rpl: use memset before using prefix
2015-09-11 14:51:37 +02:00
Oleg Hahm
5e69ec4a28 Merge pull request #3330 from authmillenon/ng_sixlowpan/doc/behavior
gnrc_sixlowpan: document behavior for blackbox testing
2015-09-11 14:39:40 +02:00
Martine Lenders
2364621eb2 gnrc_ndp: fix setting of addresses by PIO 2015-09-11 11:51:08 +02:00
Martine Lenders
a6625e86d3 gnrc_sixlowpan: document behavior for blackbox testing 2015-09-11 11:28:33 +02:00
Cenk Gündoğan
d18834a941 rpl: use memset before using prefix 2015-09-10 20:43:09 +02:00
Martine Lenders
2bb3376e5e Merge pull request #3811 from DipSwitch/ndp_option_parse
ndp: fix bug in option parsing of RTR_ADV and add debug support
2015-09-10 15:26:30 +02:00
Martine Lenders
94979362cc Merge pull request #3810 from DipSwitch/ndp_fix_pi_opt
ndp: fix NDP PI option length validation and option processing in RTR_ADV msg
2015-09-10 15:07:10 +02:00
DipSwitch
80a4834d98 ndp: fix bug in option parsing of RTR_ADV and add debug support 2015-09-10 14:30:38 +02:00
Martine Lenders
639fd0068e Merge pull request #3807 from OlegHahm/sixlowpan_nd_rtr_sol
gnrc: 6lowpan: router solicitation retransmission fixes
2015-09-10 13:54:56 +02:00
Oleg Hahm
46939f9c25 6lowpan: boundaries for rtr sol retransmissions
Also avoid setting the retransmission time to 0.
2015-09-10 13:16:17 +02:00
DipSwitch
d770561616 ndp: fix the NDP PI option length checking 2015-09-10 11:28:36 +02:00
Oleg Hahm
8b16f3ef06 Merge pull request #3749 from authmillenon/gnrc_sixlowpan_nd_router/feat/initial
gnrc_sixlowpan_nd_router: initial import of router behavior of 6LoWPAN-ND
2015-09-10 10:49:36 +02:00
Martine Lenders
40912d3d66 gnrc: adapt for gnrc_sixlowpan_nd_router 2015-09-10 02:13:45 +02:00
Martine Lenders
132f5e1b9c gnrc_sixlowpan_nd_router: initial import 2015-09-10 02:13:44 +02:00
Oleg Hahm
b4c00d5f6e gnrc: ndp: fix PIO address validity check 2015-09-10 01:31:32 +02:00
Oleg Hahm
5576ab7c40 gnrc: ndp: reset router solicitation counter
The counter should be reseted after the reception of a router advertisement.
2015-09-09 23:48:34 +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
DipSwitch
36d60d0c4b rpl: Use PadN instead of 4 Pad1 options in DIS 2015-09-08 09:26:48 +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
34092a3eba sys: net: gnrc: ndp: fix type used for NETOPT_SRC_LEN 2015-09-03 23:33:41 +02:00
Thomas Eichinger
fa11195e38 Merge pull request #3393 from thomaseichinger/pr/fix_osx_warnings_errors
native: fix warning error OS X
2015-09-03 14:04:45 +02:00
Thomas Eichinger
3d9b656e8a gnrc/ndp: fix warning about double parentheses 2015-09-03 11:49:57 +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
Martine Lenders
10e571df5e gnrc: adapt for gnrc_ndp_router 2015-09-02 23:28:37 +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
Thomas Eichinger
d9c9c87cf3 ng_netdev_eth: functions are not used 2015-09-02 17:34:47 +02:00
Martine Lenders
c367477d44 gnrc: adapt for gnrc_ndp_host 2015-09-02 17:31: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
df21f1b59d Merge pull request #3761 from kaspar030/fix_wired_flag_assignment
sys: net: fix GNRC_IPV6_NETIF_FLAGS_IS_WIRED assignment
2015-09-02 14:06:32 +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
2ddf3c7429 sys: net: fix GNRC_IPV6_NETIF_FLAGS_IS_WIRED assignment 2015-09-02 13:37:26 +02:00
Martine Lenders
a980155250 ng_ndp: add support for address-less link-layers 2015-09-02 12:01:10 +02:00
Martine Lenders
b81a4dd695 gnrc_ipv6_netif: prepare for router discovery 2015-09-01 18:50:40 +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
170fa70d9e Merge pull request #3708 from authmillenon/gnrc/fix/i3707
gnrc(_udp|_ipv6): write protect preceding headers and hand actually hand them over on send
2015-08-31 22:07:37 +02:00
Martine Lenders
82924c6dd6 gnrc_ndp: adapt for API change in gnrc_ndp_internal 2015-08-31 18:03:12 +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
d731d24d3a gnrc_ndp_node: put next_hop_actual in correct scope
In the if-block the pointer gets free'd as soon as the if-block is
exited. This PR prevents that.
2015-08-31 13:19:45 +02:00
Cenk Gündoğan
eff4653d44 rpl: options validity check 2015-08-29 10:13:39 +02:00
Cenk Gündoğan
ec3274994f rpl: dio validity check 2015-08-29 10:13:39 +02:00
Cenk Gündoğan
6738fd67ba rpl: dis validity check 2015-08-29 10:13:39 +02:00
Cenk Gündoğan
b96e6b508a rpl: dao-ack validity check 2015-08-29 10:13:39 +02:00
Cenk Gündoğan
8bbcb3ba51 rpl: dao 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
Martine Lenders
5863dd908e Merge pull request #3740 from authmillenon/gnrc_ipv6/doc/dispatch_rcv
gnrc_ipv6: add comment why calling *netapi_dispatch_receive is impossible
2015-08-29 09:34:20 +02:00
Cenk Gündoğan
2584bc1adf Merge pull request #3679 from cgundogan/pr/rpl/trickle_reset_infinite_dio
rpl: reset trickle if INFINITE_RANK DIO from child recvd
2015-08-29 09:31:18 +02:00
Martine Lenders
0c6e6b7ba4 gnrc_ipv6: add comment why *netapi_dispatch_receive is not possible 2015-08-29 09:23:51 +02:00
Martine Lenders
e58cbecc7d Merge pull request #3738 from cgundogan/pr/netapi/gnrc_netapi_dispatch
gnrc_netapi: generic dispatch
2015-08-28 16:10:32 +02:00
Cenk Gündoğan
7d2129ea56 gnrc_netapi: generic dispatch 2015-08-28 15:44:22 +02:00
Cenk Gündoğan
b8c0498fb4 rpl: allow 0 as instance id 2015-08-27 14:38:08 +02:00
Cenk Gündoğan
02071ca826 rpl: reset trickle if INFINITE_RANK DIO from child recvd 2015-08-27 08:49:38 +02:00
Cenk Gündoğan
dce62132f6 rpl: reduce poisoning timer to clean dodags faster 2015-08-27 08:12:50 +02:00
BytesGalore
b16b8a9609 Merge pull request #3718 from cgundogan/pr/rpl/make_funcs_global
rpl: make _root_dodag_init and _gnrc_rpl_send global functions
2015-08-26 22:25:23 +02:00
BytesGalore
ebd18f4903 Merge pull request #3678 from cgundogan/pr/rpl/parse_opt_from_pref_parent
rpl: parse DIO and options only for DIOs from pref. parent
2015-08-26 22:22:00 +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
8609678bcd ng_slip: port to ng_netapi_dispatch_receive() 2015-08-25 20:40:52 +02:00
Martine Lenders
b47c4af50b ng_slip: fix some bugs 2015-08-25 20:40:51 +02:00
Martine Lenders
f81f43ea38 gnrc_udp: fix #3707 2015-08-25 18:12:59 +02:00
Martine Lenders
8a07f8c548 gnrc_ipv6: fix #3707 2015-08-25 17:48:17 +02:00
Martine Lenders
882080460a Merge pull request #3660 from authmillenon/af/api/initial
af: initial import of global AF_ definition header
2015-08-25 09:14:44 +02:00
Martine Lenders
ac0e2f4371 net: remove redefinitions and their dependencies throughout the stack 2015-08-24 13:13:53 +02:00
Martine Lenders
4cc2742a1a gnrc_ipv6: make IPv6 dependencies optional 2015-08-24 00:45:07 +02:00
Cenk Gündoğan
b604c99155 rpl: rename defines from NG_ to GNRC_ 2015-08-23 18:29:16 +02:00
Oleg Hahm
0c14734a02 gnrc_ipv6: do not forward link-local packets 2015-08-21 23:46:43 +02:00
Oleg Hahm
8977cc1175 Merge pull request #3675 from authmillenon/gnrc_ipv6/fix/check-mtu
gnrc_ipv6: check link MTU before sending
2015-08-21 23:45:52 +02:00
Cenk Gündoğan
04a8c159d1 Merge pull request #3674 from authmillenon/gnrc_sixlowpan/fix/max-datagram-size
gnrc_sixlowpan: don't send packets that exceed maximum datagram size
2015-08-21 23:08:53 +02:00
Martine Lenders
52c57be621 gnrc_sixlowpan: don't send packets that exceed maximum datagram size 2015-08-21 22:51:54 +02:00
Martine Lenders
e5b03dfddd netdev_eth: return payload length instead of frame length 2015-08-21 19:05:54 +02:00
Martine Lenders
d88ae14d90 gnrc_ipv6: check link MTU before sending 2015-08-21 19:05:53 +02:00
Martine Lenders
f1864fd2b6 gnrc_ipv6_netif: initialize MTU from device, if possible 2015-08-21 19:05:52 +02:00
Cenk Gündoğan
5ee36c6ac4 rpl: minor code cleanup 2015-08-21 13:54:39 +02:00
Cenk Gündoğan
baa57a6fc9 rpl: parse DIO and options only from pref. parent 2015-08-21 13:17:07 +02:00
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
2ae99d9073 rpl: remove superfluous ifdef MODULE_IPV6_ADDR 2015-08-20 08:41:10 +02:00
Cenk Gündoğan
0894343092 rpl: omit dodag id in DAO(-ACK) for global instances 2015-08-20 08:41:10 +02:00
Cenk Gündoğan
29ccba3e2f gnrc_ipv6.c: remove padding added by lower layers 2015-08-20 00:10:37 +02:00
Martine Lenders
6dc125e08b gnrc_sixlowpan: compare with actual packet size for fragmentation
Not with the uncompressed version
2015-08-19 17:51:54 +02:00
Martine Lenders
4d3c55f42b ng_slip: fix DEBUG output 2015-08-19 00:07:55 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
Martine Lenders
b969eeb217 gnrc: rename ng_netbase to gnrc 2015-08-18 16:11:55 +02:00