Searched refs:rt_rule (Results 1 – 4 of 4) sorted by relevance
206 struct ipa_ioc_del_rt_rule *rt_rule; in DeleteRoutingHdl() local218 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()
1122 struct ipa_ioc_add_rt_rule *rt_rule; in handle_addr_evt() local1152 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 …]
1314 struct ipa_ioc_add_rt_rule *rt_rule; in handle_wlan_client_route_rule() local1366 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 …]
200 struct ipa_ioc_add_rt_rule *rt_rule = NULL; in handle_addr_evt() local237 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 …]