Home
last modified time | relevance | path

Searched refs:rule (Results 1 – 19 of 19) sorted by relevance

/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_ConntrackListener.cpp702 nat_table_entry *rule, bool *isTempEntry) in AddIface() argument
711 if (rule->private_ip == IPACM_Wan::getWANIP()) in AddIface()
714 rule->private_ip); in AddIface()
724 if (rule->private_ip == nat_iface_ipv4_addr[cnt] || in AddIface()
725 rule->target_ip == nat_iface_ipv4_addr[cnt]) in AddIface()
743 if (rule->private_ip == nonnat_iface_ipv4_addr[cnt] || in AddIface()
744 rule->target_ip == nonnat_iface_ipv4_addr[cnt]) in AddIface()
750 rule->private_ip = rule->public_ip; in AddIface()
751 rule->private_port = rule->public_port; in AddIface()
771 if (pConfig->isPrivateSubnet(rule->private_ip) || in AddIface()
[all …]
DIPACM_Conntrack_NATApp.cpp234 bool NatApp::ChkForDup(const nat_table_entry *rule) in ChkForDup() argument
241 if(cache[cnt].private_ip == rule->private_ip && in ChkForDup()
242 cache[cnt].target_ip == rule->target_ip && in ChkForDup()
243 cache[cnt].private_port == rule->private_port && in ChkForDup()
244 cache[cnt].target_port == rule->target_port && in ChkForDup()
245 cache[cnt].protocol == rule->protocol) in ChkForDup()
247 log_nat(rule->protocol,rule->private_ip,rule->target_ip,rule->private_port,\ in ChkForDup()
248 rule->target_port,"Duplicate Rule\n"); in ChkForDup()
257 int NatApp::DeleteEntry(const nat_table_entry *rule) in DeleteEntry() argument
262 log_nat(rule->protocol,rule->private_ip,rule->target_ip,rule->private_port,\ in DeleteEntry()
[all …]
DIPACM_Wan.cpp262 rt_rule_entry->rule.hdr_hdl = hdr.hdl; in handle_addr_evt()
267 rt_rule_entry->rule.dst = IPA_CLIENT_APPS_WAN_CONS; in handle_addr_evt()
271 rt_rule_entry->rule.dst = IPA_CLIENT_APPS_LAN_CONS; in handle_addr_evt()
273 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
274 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt()
275 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt()
276 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt()
277 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt()
278 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
279 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt()
[all …]
DIPACM_Iface.cpp135 flt_rule_entry.rule.action = IPA_PASS_TO_EXCEPTION; in handle_software_routing_enable()
137 flt_rule_entry.rule.hashable = true; in handle_software_routing_enable()
139 memcpy(&flt_rule_entry.rule.attrib, in handle_software_routing_enable()
141 sizeof(flt_rule_entry.rule.attrib)); in handle_software_routing_enable()
701 flt_rule_entry.rule.retain_hdr = 1; in init_fl_rule()
705 flt_rule_entry.rule.action = IPA_PASS_TO_EXCEPTION; in init_fl_rule()
708 flt_rule_entry.rule.hashable = false; in init_fl_rule()
711 memcpy(&flt_rule_entry.rule.attrib, in init_fl_rule()
713 sizeof(flt_rule_entry.rule.attrib)); in init_fl_rule()
715 flt_rule_entry.rule.attrib.attrib_mask |= IPA_FLT_FRAGMENT; in init_fl_rule()
[all …]
DIPACM_Lan.cpp1167 rt_rule_entry->rule.dst = IPA_CLIENT_APPS_LAN_CONS; //go to A5 in handle_addr_evt()
1168 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
1170 rt_rule_entry->rule.attrib.u.v4.dst_addr = data->ipv4_addr; in handle_addr_evt()
1171 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_addr_evt()
1173 rt_rule_entry->rule.hashable = true; in handle_addr_evt()
1230 rt_rule_entry->rule.dst = IPA_CLIENT_APPS_LAN_CONS; //go to A5 in handle_addr_evt()
1231 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
1232 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt()
1233 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt()
1234 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt()
[all …]
DIPACM_Filtering.cpp84 ruleTable->rules[cnt].rule.attrib.attrib_mask); in AddFilteringRule()
318 …sg.filter_spec_list[pos].filter_action = GetQmiFilterAction(rule_table_v4->rules[cnt].rule.action); in AddWanDLFilteringRule()
320 … qmi_rule_msg.filter_spec_list[pos].route_table_index = rule_table_v4->rules[cnt].rule.rt_tbl_idx; in AddWanDLFilteringRule()
324 &rule_table_v4->rules[cnt].rule.eq_attrib, in AddWanDLFilteringRule()
343 …sg.filter_spec_list[pos].filter_action = GetQmiFilterAction(rule_table_v6->rules[cnt].rule.action); in AddWanDLFilteringRule()
345 … qmi_rule_msg.filter_spec_list[pos].route_table_index = rule_table_v6->rules[cnt].rule.rt_tbl_idx; in AddWanDLFilteringRule()
349 &rule_table_v6->rules[cnt].rule.eq_attrib, in AddWanDLFilteringRule()
400 …filter_spec_ex_list[pos].filter_action = GetQmiFilterAction(rule_table_v4->rules[cnt].rule.action); in AddWanDLFilteringRule()
402 …qmi_rule_ex_msg.filter_spec_ex_list[pos].route_table_index = rule_table_v4->rules[cnt].rule.rt_tbl… in AddWanDLFilteringRule()
405 qmi_rule_ex_msg.filter_spec_ex_list[pos].rule_id = rule_table_v4->rules[cnt].rule.rule_id; in AddWanDLFilteringRule()
[all …]
DIPACM_Wlan.cpp1411 rt_rule_entry->rule.dst = tx_prop->tx[tx_index].alt_dst_pipe; in handle_wlan_client_route_rule()
1415 rt_rule_entry->rule.dst = tx_prop->tx[tx_index].dst_pipe; in handle_wlan_client_route_rule()
1418 memcpy(&rt_rule_entry->rule.attrib, in handle_wlan_client_route_rule()
1420 sizeof(rt_rule_entry->rule.attrib)); in handle_wlan_client_route_rule()
1421 rt_rule_entry->rule.attrib.attrib_mask |= IPA_FLT_DST_ADDR; in handle_wlan_client_route_rule()
1422 rt_rule_entry->rule.hdr_hdl = get_client_memptr(wlan_client, wlan_index)->hdr_hdl_v4; in handle_wlan_client_route_rule()
1423 rt_rule_entry->rule.attrib.u.v4.dst_addr = get_client_memptr(wlan_client, wlan_index)->v4_addr; in handle_wlan_client_route_rule()
1424 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_wlan_client_route_rule()
1426 rt_rule_entry->rule.hashable = false; in handle_wlan_client_route_rule()
1455 rt_rule_entry->rule.dst = iface_query->excp_pipe; in handle_wlan_client_route_rule()
[all …]
DIPACM_Routing.cpp87 if(ruleTable->rules[cnt].rule.dst > IPA_CLIENT_MAX) in AddRoutingRule()
89 IPACMERR("Invalid dst pipe, Rule:%d dst_pipe:%d\n", cnt, ruleTable->rules[cnt].rule.dst); in AddRoutingRule()
108 IPACMDBG("Rule:%d dst_pipe:%d\n", cnt, ruleTable->rules[cnt].rule.dst); in AddRoutingRule()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/inc/
Dipa_nat_drv.h86 const ipa_nat_ipv4_rule * rule,
Dipa_nat_drvi.h411 struct ipa_nat_sw_rule *rule,
432 struct ipa_nat_sw_rule *rule,
/hardware/interfaces/audio/2.0/default/
Dandroid.hardware.audio@2.0-service.rc9 # and its .rc file has an "onrestart restart audio-hal" rule, thus
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_ConntrackListener.h59 nat_table_entry *rule; member
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/src/
Dipa_nat_drvi.c55 void UpdateSwSpecParams(struct ipa_nat_rule *rule, in UpdateSwSpecParams() argument
59 uint32_t temp = rule->sw_spec_params; in UpdateSwSpecParams()
69 rule->sw_spec_params = temp; in UpdateSwSpecParams()
1066 struct ipa_nat_sw_rule *rule, in ipa_nati_generate_rule() argument
1075 NULL == rule || NULL == tbl_entry || in ipa_nati_generate_rule()
1084 rule, in ipa_nati_generate_rule()
1100 rule->indx_tbl_entry = *indx_tbl_entry; in ipa_nati_generate_rule()
1370 struct ipa_nat_sw_rule *rule, in ipa_nati_copy_ipv4_rule_to_hw() argument
1374 uint16_t prev_entry = rule->prev_index; in ipa_nati_copy_ipv4_rule_to_hw()
1382 rule, in ipa_nati_copy_ipv4_rule_to_hw()
[all …]
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_ipa.h577 struct ipa_rt_rule rule; member
604 struct ipa_rt_rule rule; member
636 struct ipa_flt_rule rule; member
664 struct ipa_flt_rule rule; member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_ipa.h898 struct ipa_rt_rule rule; member
956 struct ipa_rt_rule rule; member
1029 struct ipa_flt_rule rule; member
1088 struct ipa_flt_rule rule; member
/hardware/qcom/msm8998/original-kernel-headers/linux/
Dmsm_ipa.h918 struct ipa_rt_rule rule; member
976 struct ipa_rt_rule rule; member
1049 struct ipa_flt_rule rule; member
1108 struct ipa_flt_rule rule; member
/hardware/qcom/msm8998/kernel-headers/linux/
Dmsm_ipa.h594 struct ipa_rt_rule rule; member
620 struct ipa_rt_rule rule; member
652 struct ipa_flt_rule rule; member
680 struct ipa_flt_rule rule; member
/hardware/intel/img/psb_video/src/
DREADME14 This part describes general rule for naming added files in future.
/hardware/interfaces/radio/1.0/
DIRadio.hal477 * Configure call forward rule