Lines Matching refs:indx
83 static int is_better_match(in_addr_t newaddr, int indx, tnrh_tlb_t *tlbt);
85 int indx, tnd_tnrhdb_t *src);
97 int indx, tnd_tnrhdb_t *src);
1169 add_cache_entry(in_addr_t addr, char *name, int indx,
1187 tlbt->masklen_used = indx;
1222 add_cache_entry_v6(in6_addr_t addr, char *name, int indx,
1239 tlbt->masklen_used = indx;
1391 is_better_match(in_addr_t newaddr, int indx, tnrh_tlb_t *tlbt)
1393 if (tlbt->masklen_used <= indx) {
1394 in_addr_t tmpmask = rh_index_to_mask(indx);
1410 walk_cache_table(in_addr_t newaddr, char *name, int indx, tnd_tnrhdb_t *src)
1420 if (is_better_match(newaddr, indx, tlbt)) {
1421 tlbt->masklen_used = indx;
1452 is_better_match_v6(in6_addr_t newaddr, int indx, tnrh_tlb_ipv6_t *tlbt)
1456 if (tlbt->masklen_used <= indx) {
1457 (void) rh_index_to_mask_v6(indx, &tmpmask);
1473 walk_cache_table_v6(in6_addr_t newaddr, char *name, int indx, tnd_tnrhdb_t *src)
1483 if (is_better_match_v6(newaddr, indx, tlbt)) {
1484 tlbt->masklen_used = indx;