Home
last modified time | relevance | path

Searched refs:rt_rule_table (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Lan.cpp4586 struct ipa_ioc_add_rt_rule* rt_rule_table = NULL; in eth_bridge_add_rt_rule() local
4595 rt_rule_table = (ipa_ioc_add_rt_rule*)malloc(len); in eth_bridge_add_rt_rule()
4596 if (rt_rule_table == NULL) in eth_bridge_add_rt_rule()
4601 memset(rt_rule_table, 0, len); in eth_bridge_add_rt_rule()
4603 rt_rule_table->commit = 1; in eth_bridge_add_rt_rule()
4604 rt_rule_table->ip = iptype; in eth_bridge_add_rt_rule()
4605 rt_rule_table->num_rules = num_rt_rule; in eth_bridge_add_rt_rule()
4606 strlcpy(rt_rule_table->rt_tbl_name, rt_tbl_name, sizeof(rt_rule_table->rt_tbl_name)); in eth_bridge_add_rt_rule()
4607 rt_rule_table->rt_tbl_name[IPA_RESOURCE_NAME_MAX-1] = 0; in eth_bridge_add_rt_rule()
4652 memcpy(&(rt_rule_table->rules[position]), &rt_rule, sizeof(rt_rule_table->rules[position])); in eth_bridge_add_rt_rule()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Lan.cpp4265 struct ipa_ioc_add_rt_rule* rt_rule_table = NULL; in eth_bridge_add_rt_rule() local
4274 rt_rule_table = (ipa_ioc_add_rt_rule*)malloc(len); in eth_bridge_add_rt_rule()
4275 if (rt_rule_table == NULL) in eth_bridge_add_rt_rule()
4280 memset(rt_rule_table, 0, len); in eth_bridge_add_rt_rule()
4282 rt_rule_table->commit = 1; in eth_bridge_add_rt_rule()
4283 rt_rule_table->ip = iptype; in eth_bridge_add_rt_rule()
4284 rt_rule_table->num_rules = num_rt_rule; in eth_bridge_add_rt_rule()
4285 strlcpy(rt_rule_table->rt_tbl_name, rt_tbl_name, sizeof(rt_rule_table->rt_tbl_name)); in eth_bridge_add_rt_rule()
4286 rt_rule_table->rt_tbl_name[IPA_RESOURCE_NAME_MAX-1] = 0; in eth_bridge_add_rt_rule()
4331 memcpy(&(rt_rule_table->rules[position]), &rt_rule, sizeof(rt_rule_table->rules[position])); in eth_bridge_add_rt_rule()
[all …]