/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Conntrack_NATApp.cpp | 100 for(int cnt=0; cnt<nALGPort; cnt++) in Init() local 102 IPACMDBG("%d: Proto[%d], port[%d]\n", cnt, pALGPorts[cnt].protocol, pALGPorts[cnt].port); in Init() 151 int cnt = 0; in AddTable() local 188 for(cnt = 0; cnt < max_entries; cnt++) in AddTable() 190 if(cache[cnt].private_ip !=0) in AddTable() 193 nat_rule.private_ip = cache[cnt].private_ip; in AddTable() 194 nat_rule.target_ip = cache[cnt].target_ip; in AddTable() 195 nat_rule.target_port = cache[cnt].target_port; in AddTable() 196 nat_rule.private_port = cache[cnt].private_port; in AddTable() 197 nat_rule.public_port = cache[cnt].public_port; in AddTable() [all …]
|
D | IPACM_Filtering.cpp | 81 for (int cnt=0; cnt<ruleTable->num_rules; cnt++) in AddFilteringRule() local 83 IPACMDBG("Filter rule:%d attrib mask: 0x%x\n", cnt, in AddFilteringRule() 84 ruleTable->rules[cnt].rule.attrib.attrib_mask); in AddFilteringRule() 93 for (int cnt = 0; cnt < ruleTable->num_rules; cnt++) in AddFilteringRule() local 95 if (ruleTable->rules[cnt].status != 0) in AddFilteringRule() 98 cnt, ruleTable->rules[cnt].status); in AddFilteringRule() 104 for (int cnt = 0; cnt<ruleTable->num_rules; cnt++) in AddFilteringRule() local 106 if(ruleTable->rules[cnt].status != 0) in AddFilteringRule() 109 cnt, ruleTable->rules[cnt].status); in AddFilteringRule() 130 for (int cnt = 0; cnt<ruleTable->num_rules; cnt++) in AddFilteringRuleAfter() local [all …]
|
D | IPACM_Routing.cpp | 76 int retval = 0, cnt=0; in AddRoutingRule() local 85 for(cnt=0; cnt<ruleTable->num_rules; cnt++) in AddRoutingRule() 87 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() 106 for(cnt=0; cnt<ruleTable->num_rules; cnt++) in AddRoutingRule() 108 IPACMDBG("Rule:%d dst_pipe:%d\n", cnt, ruleTable->rules[cnt].rule.dst); in AddRoutingRule() 251 int retval = 0, cnt; in ModifyRoutingRule() local 266 for(cnt=0; cnt<mdfyRules->num_rules; cnt++) in ModifyRoutingRule() 268 if(mdfyRules->rules[cnt].status != 0) in ModifyRoutingRule() 270 IPACMERR("Unable to modify rule: %d\n", cnt); in ModifyRoutingRule()
|
D | IPACM_ConntrackListener.cpp | 145 int fd = 0, len = 0, cnt, i; in CheckNatIface() local 168 cnt = pConfig->GetNatIfacesCnt(); in CheckNatIface() 169 NatIfaceCnt = cnt; in CheckNatIface() 231 int cnt, ret; in HandleNonNatIPAddr() local 248 for (cnt = 0; cnt < MAX_IFACE_ADDRESS; cnt++) in HandleNonNatIPAddr() 250 if (nonnat_iface_ipv4_addr[cnt] == 0) in HandleNonNatIPAddr() 252 nonnat_iface_ipv4_addr[cnt] = data->ipv4_addr; in HandleNonNatIPAddr() 253 IPACMDBG("Add ip addr to non nat list (%d) ", cnt); in HandleNonNatIPAddr() 254 iptodot("with ipv4 address", nonnat_iface_ipv4_addr[cnt]); in HandleNonNatIPAddr() 266 for (cnt = 0; cnt < MAX_IFACE_ADDRESS; cnt++) in HandleNonNatIPAddr() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Conntrack_NATApp.cpp | 100 for(int cnt=0; cnt<nALGPort; cnt++) in Init() local 102 IPACMDBG("%d: Proto[%d], port[%d]\n", cnt, pALGPorts[cnt].protocol, pALGPorts[cnt].port); in Init() 135 int cnt = 0; in AddTable() local 159 for(cnt = 0; cnt < max_entries; cnt++) in AddTable() 161 if(cache[cnt].private_ip !=0) in AddTable() 164 nat_rule.private_ip = cache[cnt].private_ip; in AddTable() 165 nat_rule.target_ip = cache[cnt].target_ip; in AddTable() 166 nat_rule.target_port = cache[cnt].target_port; in AddTable() 167 nat_rule.private_port = cache[cnt].private_port; in AddTable() 168 nat_rule.public_port = cache[cnt].public_port; in AddTable() [all …]
|
D | IPACM_Filtering.cpp | 81 for (int cnt=0; cnt<ruleTable->num_rules; cnt++) in AddFilteringRule() local 83 IPACMDBG("Filter rule:%d attrib mask: 0x%x\n", cnt, in AddFilteringRule() 84 ruleTable->rules[cnt].rule.attrib.attrib_mask); in AddFilteringRule() 93 for (int cnt = 0; cnt < ruleTable->num_rules; cnt++) in AddFilteringRule() local 95 if (ruleTable->rules[cnt].status != 0) in AddFilteringRule() 98 cnt, ruleTable->rules[cnt].status); in AddFilteringRule() 104 for (int cnt = 0; cnt<ruleTable->num_rules; cnt++) in AddFilteringRule() local 106 if(ruleTable->rules[cnt].status != 0) in AddFilteringRule() 109 cnt, ruleTable->rules[cnt].status); in AddFilteringRule() 130 for (int cnt = 0; cnt<ruleTable->num_rules; cnt++) in AddFilteringRuleAfter() local [all …]
|
D | IPACM_Routing.cpp | 76 int retval = 0, cnt=0; in AddRoutingRule() local 85 for(cnt=0; cnt<ruleTable->num_rules; cnt++) in AddRoutingRule() 87 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() 106 for(cnt=0; cnt<ruleTable->num_rules; cnt++) in AddRoutingRule() 108 IPACMDBG("Rule:%d dst_pipe:%d\n", cnt, ruleTable->rules[cnt].rule.dst); in AddRoutingRule() 251 int retval = 0, cnt; in ModifyRoutingRule() local 266 for(cnt=0; cnt<mdfyRules->num_rules; cnt++) in ModifyRoutingRule() 268 if(mdfyRules->rules[cnt].status != 0) in ModifyRoutingRule() 270 IPACMERR("Unable to modify rule: %d\n", cnt); in ModifyRoutingRule()
|
D | IPACM_ConntrackListener.cpp | 145 int fd = 0, len = 0, cnt, i; in CheckNatIface() local 168 cnt = pConfig->GetNatIfacesCnt(); in CheckNatIface() 169 NatIfaceCnt = cnt; in CheckNatIface() 231 int cnt, ret; in HandleNonNatIPAddr() local 248 for (cnt = 0; cnt < MAX_IFACE_ADDRESS; cnt++) in HandleNonNatIPAddr() 250 if (nonnat_iface_ipv4_addr[cnt] == 0) in HandleNonNatIPAddr() 252 nonnat_iface_ipv4_addr[cnt] = data->ipv4_addr; in HandleNonNatIPAddr() 253 IPACMDBG("Add ip addr to non nat list (%d) ", cnt); in HandleNonNatIPAddr() 254 iptodot("with ipv4 address", nonnat_iface_ipv4_addr[cnt]); in HandleNonNatIPAddr() 266 for (cnt = 0; cnt < MAX_IFACE_ADDRESS; cnt++) in HandleNonNatIPAddr() [all …]
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Conntrack_NATApp.cpp | 100 for(int cnt=0; cnt<nALGPort; cnt++) in Init() local 102 IPACMDBG("%d: Proto[%d], port[%d]\n", cnt, pALGPorts[cnt].protocol, pALGPorts[cnt].port); in Init() 151 int cnt = 0; in AddTable() local 188 for(cnt = 0; cnt < max_entries; cnt++) in AddTable() 190 if(cache[cnt].private_ip !=0) in AddTable() 193 nat_rule.private_ip = cache[cnt].private_ip; in AddTable() 194 nat_rule.target_ip = cache[cnt].target_ip; in AddTable() 195 nat_rule.target_port = cache[cnt].target_port; in AddTable() 196 nat_rule.private_port = cache[cnt].private_port; in AddTable() 197 nat_rule.public_port = cache[cnt].public_port; in AddTable() [all …]
|
D | IPACM_Filtering.cpp | 81 for (int cnt=0; cnt<ruleTable->num_rules; cnt++) in AddFilteringRule() local 83 IPACMDBG("Filter rule:%d attrib mask: 0x%x\n", cnt, in AddFilteringRule() 84 ruleTable->rules[cnt].rule.attrib.attrib_mask); in AddFilteringRule() 93 for (int cnt = 0; cnt < ruleTable->num_rules; cnt++) in AddFilteringRule() local 95 if (ruleTable->rules[cnt].status != 0) in AddFilteringRule() 98 cnt, ruleTable->rules[cnt].status); in AddFilteringRule() 104 for (int cnt = 0; cnt<ruleTable->num_rules; cnt++) in AddFilteringRule() local 106 if(ruleTable->rules[cnt].status != 0) in AddFilteringRule() 109 cnt, ruleTable->rules[cnt].status); in AddFilteringRule() 130 for (int cnt = 0; cnt<ruleTable->num_rules; cnt++) in AddFilteringRuleAfter() local [all …]
|
D | IPACM_Routing.cpp | 76 int retval = 0, cnt=0; in AddRoutingRule() local 85 for(cnt=0; cnt<ruleTable->num_rules; cnt++) in AddRoutingRule() 87 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() 106 for(cnt=0; cnt<ruleTable->num_rules; cnt++) in AddRoutingRule() 108 IPACMDBG("Rule:%d dst_pipe:%d\n", cnt, ruleTable->rules[cnt].rule.dst); in AddRoutingRule() 251 int retval = 0, cnt; in ModifyRoutingRule() local 266 for(cnt=0; cnt<mdfyRules->num_rules; cnt++) in ModifyRoutingRule() 268 if(mdfyRules->rules[cnt].status != 0) in ModifyRoutingRule() 270 IPACMERR("Unable to modify rule: %d\n", cnt); in ModifyRoutingRule()
|
D | IPACM_ConntrackListener.cpp | 145 int fd = 0, len = 0, cnt, i; in CheckNatIface() local 168 cnt = pConfig->GetNatIfacesCnt(); in CheckNatIface() 169 NatIfaceCnt = cnt; in CheckNatIface() 231 int cnt, ret; in HandleNonNatIPAddr() local 248 for (cnt = 0; cnt < MAX_IFACE_ADDRESS; cnt++) in HandleNonNatIPAddr() 250 if (nonnat_iface_ipv4_addr[cnt] == 0) in HandleNonNatIPAddr() 252 nonnat_iface_ipv4_addr[cnt] = data->ipv4_addr; in HandleNonNatIPAddr() 253 IPACMDBG("Add ip addr to non nat list (%d) ", cnt); in HandleNonNatIPAddr() 254 iptodot("with ipv4 address", nonnat_iface_ipv4_addr[cnt]); in HandleNonNatIPAddr() 266 for (cnt = 0; cnt < MAX_IFACE_ADDRESS; cnt++) in HandleNonNatIPAddr() [all …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipanat/test/ |
D | main.c | 48 int cnt; in chk_for_loop() local 60 for (cnt = 0; in chk_for_loop() 61 cnt < ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].table_entries; in chk_for_loop() 62 cnt++) { in chk_for_loop() 63 if (Read16BitFieldValue(tbl_ptr[cnt].ip_cksm_enbl,ENABLE_FIELD)) { in chk_for_loop() 64 if(Read16BitFieldValue(tbl_ptr[cnt].nxt_indx_pub_port, in chk_for_loop() 65 NEXT_INDEX_FIELD) == cnt) in chk_for_loop() 68 ipa_nati_print_rule(&tbl_ptr[cnt], cnt); in chk_for_loop() 78 for (cnt = 0; in chk_for_loop() 79 cnt <= ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].expn_table_entries; in chk_for_loop() [all …]
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipanat/test/ |
D | main.c | 48 int cnt; in chk_for_loop() local 60 for (cnt = 0; in chk_for_loop() 61 cnt < ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].table_entries; in chk_for_loop() 62 cnt++) { in chk_for_loop() 63 if (Read16BitFieldValue(tbl_ptr[cnt].ip_cksm_enbl,ENABLE_FIELD)) { in chk_for_loop() 64 if(Read16BitFieldValue(tbl_ptr[cnt].nxt_indx_pub_port, in chk_for_loop() 65 NEXT_INDEX_FIELD) == cnt) in chk_for_loop() 68 ipa_nati_print_rule(&tbl_ptr[cnt], cnt); in chk_for_loop() 78 for (cnt = 0; in chk_for_loop() 79 cnt <= ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].expn_table_entries; in chk_for_loop() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/test/ |
D | main.c | 48 int cnt; in chk_for_loop() local 60 for (cnt = 0; in chk_for_loop() 61 cnt < ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].table_entries; in chk_for_loop() 62 cnt++) { in chk_for_loop() 63 if (Read16BitFieldValue(tbl_ptr[cnt].ip_cksm_enbl,ENABLE_FIELD)) { in chk_for_loop() 64 if(Read16BitFieldValue(tbl_ptr[cnt].nxt_indx_pub_port, in chk_for_loop() 65 NEXT_INDEX_FIELD) == cnt) in chk_for_loop() 68 ipa_nati_print_rule(&tbl_ptr[cnt], cnt); in chk_for_loop() 78 for (cnt = 0; in chk_for_loop() 79 cnt <= ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].expn_table_entries; in chk_for_loop() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/ |
D | IPACM_Wan.h | 255 inline ipa_wan_client* get_client_memptr(ipa_wan_client *param, int cnt) in get_client_memptr() argument 257 char *ret = ((char *)param) + (wan_client_len * cnt); in get_client_memptr() 263 int cnt; in get_wan_client_index() local 270 for(cnt = 0; cnt < num_wan_client_tmp; cnt++) in get_wan_client_index() 273 get_client_memptr(wan_client, cnt)->mac[0], in get_wan_client_index() 274 get_client_memptr(wan_client, cnt)->mac[1], in get_wan_client_index() 275 get_client_memptr(wan_client, cnt)->mac[2], in get_wan_client_index() 276 get_client_memptr(wan_client, cnt)->mac[3], in get_wan_client_index() 277 get_client_memptr(wan_client, cnt)->mac[4], in get_wan_client_index() 278 get_client_memptr(wan_client, cnt)->mac[5]); in get_wan_client_index() [all …]
|
D | IPACM_Config.h | 259 for(int cnt=0; cnt<ipa_num_private_subnet; cnt++) in isPrivateSubnet() local 261 if(private_subnet_table[cnt].subnet_addr == in isPrivateSubnet() 262 (private_subnet_table[cnt].subnet_mask & ip_addr)) in isPrivateSubnet() 276 for(int cnt=0; cnt<ipa_num_private_subnet; cnt++) in AddPrivateSubnet() local 278 if(private_subnet_table[cnt].subnet_addr == ip_addr) in AddPrivateSubnet() 280 IPACMDBG("Already has private subnet_addr as: 0x%x in entry(%d) \n", ip_addr, cnt); in AddPrivateSubnet() 315 for(int cnt=0; cnt<ipa_num_private_subnet; cnt++) in DelPrivateSubnet() local 317 if(private_subnet_table[cnt].subnet_addr == ip_addr) in DelPrivateSubnet() 319 IPACMDBG("Found private subnet_addr as: 0x%x in entry(%d) \n", ip_addr, cnt); in DelPrivateSubnet() 320 for (; cnt < ipa_num_private_subnet - 1; cnt++) in DelPrivateSubnet() [all …]
|
D | IPACM_Wlan.h | 112 inline ipa_wlan_client* get_client_memptr(ipa_wlan_client *param, int cnt) in get_client_memptr() argument 114 char *ret = ((char *)param) + (wlan_client_len * cnt); in get_client_memptr() 120 int cnt; in get_wlan_client_index() local 127 for(cnt = 0; cnt < num_wifi_client_tmp; cnt++) in get_wlan_client_index() 130 get_client_memptr(wlan_client, cnt)->mac[0], in get_wlan_client_index() 131 get_client_memptr(wlan_client, cnt)->mac[1], in get_wlan_client_index() 132 get_client_memptr(wlan_client, cnt)->mac[2], in get_wlan_client_index() 133 get_client_memptr(wlan_client, cnt)->mac[3], in get_wlan_client_index() 134 get_client_memptr(wlan_client, cnt)->mac[4], in get_wlan_client_index() 135 get_client_memptr(wlan_client, cnt)->mac[5]); in get_wlan_client_index() [all …]
|
D | IPACM_Lan.h | 266 inline ipa_eth_client* get_client_memptr(ipa_eth_client *param, int cnt) in get_client_memptr() argument 268 char *ret = ((char *)param) + (eth_client_len * cnt); in get_client_memptr() 274 int cnt; in get_eth_client_index() local 281 for(cnt = 0; cnt < num_eth_client_tmp; cnt++) in get_eth_client_index() 284 get_client_memptr(eth_client, cnt)->mac[0], in get_eth_client_index() 285 get_client_memptr(eth_client, cnt)->mac[1], in get_eth_client_index() 286 get_client_memptr(eth_client, cnt)->mac[2], in get_eth_client_index() 287 get_client_memptr(eth_client, cnt)->mac[3], in get_eth_client_index() 288 get_client_memptr(eth_client, cnt)->mac[4], in get_eth_client_index() 289 get_client_memptr(eth_client, cnt)->mac[5]); in get_eth_client_index() [all …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/ |
D | IPACM_Wan.h | 316 inline ipa_wan_client* get_client_memptr(ipa_wan_client *param, int cnt) in get_client_memptr() argument 318 char *ret = ((char *)param) + (wan_client_len * cnt); in get_client_memptr() 324 int cnt; in get_wan_client_index() local 331 for(cnt = 0; cnt < num_wan_client_tmp; cnt++) in get_wan_client_index() 334 get_client_memptr(wan_client, cnt)->mac[0], in get_wan_client_index() 335 get_client_memptr(wan_client, cnt)->mac[1], in get_wan_client_index() 336 get_client_memptr(wan_client, cnt)->mac[2], in get_wan_client_index() 337 get_client_memptr(wan_client, cnt)->mac[3], in get_wan_client_index() 338 get_client_memptr(wan_client, cnt)->mac[4], in get_wan_client_index() 339 get_client_memptr(wan_client, cnt)->mac[5]); in get_wan_client_index() [all …]
|
D | IPACM_Wlan.h | 112 inline ipa_wlan_client* get_client_memptr(ipa_wlan_client *param, int cnt) in get_client_memptr() argument 114 char *ret = ((char *)param) + (wlan_client_len * cnt); in get_client_memptr() 120 int cnt; in get_wlan_client_index() local 127 for(cnt = 0; cnt < num_wifi_client_tmp; cnt++) in get_wlan_client_index() 130 get_client_memptr(wlan_client, cnt)->mac[0], in get_wlan_client_index() 131 get_client_memptr(wlan_client, cnt)->mac[1], in get_wlan_client_index() 132 get_client_memptr(wlan_client, cnt)->mac[2], in get_wlan_client_index() 133 get_client_memptr(wlan_client, cnt)->mac[3], in get_wlan_client_index() 134 get_client_memptr(wlan_client, cnt)->mac[4], in get_wlan_client_index() 135 get_client_memptr(wlan_client, cnt)->mac[5]); in get_wlan_client_index() [all …]
|
D | IPACM_Config.h | 263 for(int cnt=0; cnt<ipa_num_private_subnet; cnt++) in isPrivateSubnet() local 265 if(private_subnet_table[cnt].subnet_addr == in isPrivateSubnet() 266 (private_subnet_table[cnt].subnet_mask & ip_addr)) in isPrivateSubnet() 280 for(int cnt=0; cnt<ipa_num_private_subnet; cnt++) in AddPrivateSubnet() local 282 if(private_subnet_table[cnt].subnet_addr == ip_addr) in AddPrivateSubnet() 284 IPACMDBG("Already has private subnet_addr as: 0x%x in entry(%d) \n", ip_addr, cnt); in AddPrivateSubnet() 319 for(int cnt=0; cnt<ipa_num_private_subnet; cnt++) in DelPrivateSubnet() local 321 if(private_subnet_table[cnt].subnet_addr == ip_addr) in DelPrivateSubnet() 323 IPACMDBG("Found private subnet_addr as: 0x%x in entry(%d) \n", ip_addr, cnt); in DelPrivateSubnet() 324 for (; cnt < ipa_num_private_subnet - 1; cnt++) in DelPrivateSubnet() [all …]
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/ |
D | IPACM_Wan.h | 324 inline ipa_wan_client* get_client_memptr(ipa_wan_client *param, int cnt) in get_client_memptr() argument 326 char *ret = ((char *)param) + (wan_client_len * cnt); in get_client_memptr() 332 int cnt; in get_wan_client_index() local 339 for(cnt = 0; cnt < num_wan_client_tmp; cnt++) in get_wan_client_index() 342 get_client_memptr(wan_client, cnt)->mac[0], in get_wan_client_index() 343 get_client_memptr(wan_client, cnt)->mac[1], in get_wan_client_index() 344 get_client_memptr(wan_client, cnt)->mac[2], in get_wan_client_index() 345 get_client_memptr(wan_client, cnt)->mac[3], in get_wan_client_index() 346 get_client_memptr(wan_client, cnt)->mac[4], in get_wan_client_index() 347 get_client_memptr(wan_client, cnt)->mac[5]); in get_wan_client_index() [all …]
|
D | IPACM_Wlan.h | 113 inline ipa_wlan_client* get_client_memptr(ipa_wlan_client *param, int cnt) in get_client_memptr() argument 115 char *ret = ((char *)param) + (wlan_client_len * cnt); in get_client_memptr() 121 int cnt; in get_wlan_client_index() local 128 for(cnt = 0; cnt < num_wifi_client_tmp; cnt++) in get_wlan_client_index() 131 get_client_memptr(wlan_client, cnt)->mac[0], in get_wlan_client_index() 132 get_client_memptr(wlan_client, cnt)->mac[1], in get_wlan_client_index() 133 get_client_memptr(wlan_client, cnt)->mac[2], in get_wlan_client_index() 134 get_client_memptr(wlan_client, cnt)->mac[3], in get_wlan_client_index() 135 get_client_memptr(wlan_client, cnt)->mac[4], in get_wlan_client_index() 136 get_client_memptr(wlan_client, cnt)->mac[5]); in get_wlan_client_index() [all …]
|
D | IPACM_Config.h | 263 for(int cnt=0; cnt<ipa_num_private_subnet; cnt++) in isPrivateSubnet() local 265 if(private_subnet_table[cnt].subnet_addr == in isPrivateSubnet() 266 (private_subnet_table[cnt].subnet_mask & ip_addr)) in isPrivateSubnet() 280 for(int cnt=0; cnt<ipa_num_private_subnet; cnt++) in AddPrivateSubnet() local 282 if(private_subnet_table[cnt].subnet_addr == ip_addr) in AddPrivateSubnet() 284 IPACMDBG("Already has private subnet_addr as: 0x%x in entry(%d) \n", ip_addr, cnt); in AddPrivateSubnet() 319 for(int cnt=0; cnt<ipa_num_private_subnet; cnt++) in DelPrivateSubnet() local 321 if(private_subnet_table[cnt].subnet_addr == ip_addr) in DelPrivateSubnet() 323 IPACMDBG("Found private subnet_addr as: 0x%x in entry(%d) \n", ip_addr, cnt); in DelPrivateSubnet() 324 for (; cnt < ipa_num_private_subnet - 1; cnt++) in DelPrivateSubnet() [all …]
|