Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of OmniWheels by
rpl_policy.h
00001 /* 00002 * Copyright (c) 2015-2017, Arm Limited and affiliates. 00003 * SPDX-License-Identifier: Apache-2.0 00004 * 00005 * Licensed under the Apache License, Version 2.0 (the "License"); 00006 * you may not use this file except in compliance with the License. 00007 * You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, 00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 */ 00017 00018 #ifndef RPL_POLICY_H_ 00019 #define RPL_POLICY_H_ 00020 00021 #include "Core/include/address.h" 00022 #include "rpl_control.h" 00023 00024 bool rpl_policy_join_instance(rpl_domain_t *domain, uint8_t instance_id, const uint8_t *dodagid); 00025 bool rpl_policy_join_dodag(rpl_domain_t *domain, uint8_t g_mop_prf, uint8_t instance_id, const uint8_t *dodagid); 00026 bool rpl_policy_join_config(rpl_domain_t *domain, const rpl_dodag_conf_t *conf, bool *leaf_only); 00027 00028 bool rpl_policy_request_dao_acks(const rpl_domain_t *domain, uint8_t mop); 00029 uint16_t rpl_policy_initial_dao_ack_wait(const rpl_domain_t *domain, uint8_t mop); 00030 int8_t rpl_policy_srh_next_hop_interface(rpl_domain_t *domain, int8_t if_id, const uint8_t *next_hop); 00031 uint16_t rpl_policy_modify_downward_cost_to_root_neighbour(rpl_domain_t *domain, int8_t if_id, const uint8_t *next_hop, uint16_t cost); 00032 00033 uint16_t rpl_policy_parent_selection_period(rpl_domain_t *domain); 00034 uint16_t rpl_policy_etx_hysteresis(rpl_domain_t *domain); 00035 uint16_t rpl_policy_etx_change_parent_selection_delay(rpl_domain_t *domain); 00036 uint16_t rpl_policy_dio_parent_selection_delay(rpl_domain_t *domain); 00037 00038 uint16_t rpl_policy_repair_initial_dis_delay(rpl_domain_t *domain); 00039 uint16_t rpl_policy_repair_maximum_dis_interval(rpl_domain_t *domain); 00040 uint_fast8_t rpl_policy_repair_dis_count(rpl_domain_t *domain); 00041 uint_fast8_t rpl_policy_repair_poison_count(rpl_domain_t *domain); 00042 00043 bool rpl_policy_dao_trigger_after_srh_error(rpl_domain_t *domain, uint32_t seconds_since_last_dao_trigger, uint16_t errors_since_last_dao_trigger, uint_fast16_t targets); 00044 00045 bool rpl_policy_target_descriptor_for_own_address(rpl_domain_t *domain, const uint8_t addr[16], if_address_source_t source, void *data, uint32_t *descriptor_out); 00046 bool rpl_policy_target_descriptor_for_host_address(rpl_domain_t *domain, const uint8_t addr[16], uint32_t *descriptor_out); 00047 00048 uint16_t rpl_policy_of0_stretch_of_rank(const rpl_domain_t *domain); 00049 uint_fast8_t rpl_policy_of0_rank_factor(const rpl_domain_t *domain); 00050 bool rpl_policy_of0_dodag_preference_supersedes_grounded(const rpl_domain_t *domain); 00051 uint_fast8_t rpl_policy_of0_max_backup_successors(const rpl_domain_t *domain); 00052 00053 uint_fast8_t rpl_policy_mrhof_parent_set_size(const rpl_domain_t *domain); 00054 uint16_t rpl_policy_mrhof_max_link_metric(const rpl_domain_t *domain); 00055 uint16_t rpl_policy_mrhof_parent_switch_threshold(const rpl_domain_t *domain); 00056 uint16_t rpl_policy_mrhof_max_rank_stretch_for_extra_parents(const rpl_domain_t *domain); 00057 00058 #endif /* RPL_POLICY_H_ */
Generated on Fri Jul 22 2022 04:53:59 by
 1.7.2
 1.7.2 
    