Searched refs:rt_rule (Results 1 – 8 of 8) sorted by relevance
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Routing.cpp | 206 struct ipa_ioc_del_rt_rule *rt_rule; in DeleteRoutingHdl() local 218 rt_rule = (struct ipa_ioc_del_rt_rule *)malloc(len); in DeleteRoutingHdl() 219 if (rt_rule == NULL) in DeleteRoutingHdl() 225 memset(rt_rule, 0, len); in DeleteRoutingHdl() 226 rt_rule->commit = 1; in DeleteRoutingHdl() 227 rt_rule->num_hdls = NUM_RULES; in DeleteRoutingHdl() 228 rt_rule->ip = ip; in DeleteRoutingHdl() 230 rt_rule_entry = &rt_rule->hdl[0]; in DeleteRoutingHdl() 235 if ((false == DeleteRoutingRule(rt_rule)) || in DeleteRoutingHdl() 244 free(rt_rule); in DeleteRoutingHdl()
|
D | IPACM_Lan.cpp | 1278 struct ipa_ioc_add_rt_rule *rt_rule; in handle_addr_evt() local 1308 rt_rule = (struct ipa_ioc_add_rt_rule *) in handle_addr_evt() 1312 if (!rt_rule) in handle_addr_evt() 1318 rt_rule->commit = 1; in handle_addr_evt() 1319 rt_rule->num_rules = NUM_RULES; in handle_addr_evt() 1320 rt_rule->ip = data->iptype; in handle_addr_evt() 1321 rt_rule_entry = &rt_rule->rules[0]; in handle_addr_evt() 1325 …strlcpy(rt_rule->rt_tbl_name, IPACM_Iface::ipacmcfg->rt_tbl_lan_v4.name, sizeof(rt_rule->rt_tbl_na… in handle_addr_evt() 1331 if (false == m_routing.AddRoutingRule(rt_rule)) in handle_addr_evt() 1375 rt_rule = (struct ipa_ioc_add_rt_rule *) in handle_addr_evt() [all …]
|
D | IPACM_Wlan.cpp | 1387 struct ipa_ioc_add_rt_rule *rt_rule; in handle_wlan_client_route_rule() local 1439 rt_rule = (struct ipa_ioc_add_rt_rule *) in handle_wlan_client_route_rule() 1443 if (rt_rule == NULL) in handle_wlan_client_route_rule() 1449 rt_rule->commit = 1; in handle_wlan_client_route_rule() 1450 rt_rule->num_rules = (uint8_t)NUM; in handle_wlan_client_route_rule() 1451 rt_rule->ip = iptype; in handle_wlan_client_route_rule() 1464 rt_rule_entry = &rt_rule->rules[0]; in handle_wlan_client_route_rule() 1475 strlcpy(rt_rule->rt_tbl_name, in handle_wlan_client_route_rule() 1477 sizeof(rt_rule->rt_tbl_name)); in handle_wlan_client_route_rule() 1478 rt_rule->rt_tbl_name[IPA_RESOURCE_NAME_MAX-1] = '\0'; in handle_wlan_client_route_rule() [all …]
|
D | IPACM_Wan.cpp | 200 struct ipa_ioc_add_rt_rule *rt_rule = NULL; in handle_addr_evt() local 237 rt_rule = (struct ipa_ioc_add_rt_rule *) in handle_addr_evt() 241 if (!rt_rule) in handle_addr_evt() 247 rt_rule->commit = 1; in handle_addr_evt() 248 rt_rule->num_rules = NUM_RULES; in handle_addr_evt() 249 rt_rule->ip = data->iptype; in handle_addr_evt() 250 …strlcpy(rt_rule->rt_tbl_name, IPACM_Iface::ipacmcfg->rt_tbl_v6.name, sizeof(rt_rule->rt_tbl_name)); in handle_addr_evt() 252 rt_rule_entry = &rt_rule->rules[0]; in handle_addr_evt() 289 if (false == m_routing.AddRoutingRule(rt_rule)) in handle_addr_evt() 304 …strlcpy(rt_rule->rt_tbl_name, IPACM_Iface::ipacmcfg->rt_tbl_wan_v6.name, sizeof(rt_rule->rt_tbl_na… in handle_addr_evt() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Routing.cpp | 206 struct ipa_ioc_del_rt_rule *rt_rule; in DeleteRoutingHdl() local 218 rt_rule = (struct ipa_ioc_del_rt_rule *)malloc(len); in DeleteRoutingHdl() 219 if (rt_rule == NULL) in DeleteRoutingHdl() 225 memset(rt_rule, 0, len); in DeleteRoutingHdl() 226 rt_rule->commit = 1; in DeleteRoutingHdl() 227 rt_rule->num_hdls = NUM_RULES; in DeleteRoutingHdl() 228 rt_rule->ip = ip; in DeleteRoutingHdl() 230 rt_rule_entry = &rt_rule->hdl[0]; in DeleteRoutingHdl() 235 if ((false == DeleteRoutingRule(rt_rule)) || in DeleteRoutingHdl() 244 free(rt_rule); in DeleteRoutingHdl()
|
D | IPACM_Lan.cpp | 1122 struct ipa_ioc_add_rt_rule *rt_rule; in handle_addr_evt() local 1152 rt_rule = (struct ipa_ioc_add_rt_rule *) in handle_addr_evt() 1156 if (!rt_rule) in handle_addr_evt() 1162 rt_rule->commit = 1; in handle_addr_evt() 1163 rt_rule->num_rules = NUM_RULES; in handle_addr_evt() 1164 rt_rule->ip = data->iptype; in handle_addr_evt() 1165 rt_rule_entry = &rt_rule->rules[0]; in handle_addr_evt() 1169 …strlcpy(rt_rule->rt_tbl_name, IPACM_Iface::ipacmcfg->rt_tbl_lan_v4.name, sizeof(rt_rule->rt_tbl_na… in handle_addr_evt() 1175 if (false == m_routing.AddRoutingRule(rt_rule)) in handle_addr_evt() 1213 rt_rule = (struct ipa_ioc_add_rt_rule *) in handle_addr_evt() [all …]
|
D | IPACM_Wlan.cpp | 1314 struct ipa_ioc_add_rt_rule *rt_rule; in handle_wlan_client_route_rule() local 1366 rt_rule = (struct ipa_ioc_add_rt_rule *) in handle_wlan_client_route_rule() 1370 if (rt_rule == NULL) in handle_wlan_client_route_rule() 1376 rt_rule->commit = 1; in handle_wlan_client_route_rule() 1377 rt_rule->num_rules = (uint8_t)NUM; in handle_wlan_client_route_rule() 1378 rt_rule->ip = iptype; in handle_wlan_client_route_rule() 1391 rt_rule_entry = &rt_rule->rules[0]; in handle_wlan_client_route_rule() 1402 strlcpy(rt_rule->rt_tbl_name, in handle_wlan_client_route_rule() 1404 sizeof(rt_rule->rt_tbl_name)); in handle_wlan_client_route_rule() 1405 rt_rule->rt_tbl_name[IPA_RESOURCE_NAME_MAX-1] = '\0'; in handle_wlan_client_route_rule() [all …]
|
D | IPACM_Wan.cpp | 200 struct ipa_ioc_add_rt_rule *rt_rule = NULL; in handle_addr_evt() local 237 rt_rule = (struct ipa_ioc_add_rt_rule *) in handle_addr_evt() 241 if (!rt_rule) in handle_addr_evt() 247 rt_rule->commit = 1; in handle_addr_evt() 248 rt_rule->num_rules = NUM_RULES; in handle_addr_evt() 249 rt_rule->ip = data->iptype; in handle_addr_evt() 250 …strlcpy(rt_rule->rt_tbl_name, IPACM_Iface::ipacmcfg->rt_tbl_v6.name, sizeof(rt_rule->rt_tbl_name)); in handle_addr_evt() 252 rt_rule_entry = &rt_rule->rules[0]; in handle_addr_evt() 289 if (false == m_routing.AddRoutingRule(rt_rule)) in handle_addr_evt() 304 …strlcpy(rt_rule->rt_tbl_name, IPACM_Iface::ipacmcfg->rt_tbl_wan_v6.name, sizeof(rt_rule->rt_tbl_na… in handle_addr_evt() [all …]
|