Lines Matching refs:ind

398 	int		i, ind;  in of_rule_stats()  local
402 case ILBST_PKT_U: ind = RLSTA_PKT_U; in of_rule_stats()
404 case ILBST_BYTES_U: ind = RLSTA_BYTES_U; in of_rule_stats()
406 case ILBST_PKT_D: ind = RLSTA_PKT_D; in of_rule_stats()
408 case ILBST_BYTES_D: ind = RLSTA_BYTES_D; in of_rule_stats()
410 case ILBST_ICMP_P: ind = RLSTA_ICMP_P; in of_rule_stats()
412 case ILBST_ICMP_D: ind = RLSTA_ICMP_D; in of_rule_stats()
414 case ILBST_ICMP2BIG_P: ind = RLSTA_ICMP2BIG_P; in of_rule_stats()
416 case ILBST_ICMP2BIG_D: ind = RLSTA_ICMP2BIG_D; in of_rule_stats()
418 case ILBST_NOMEMP_D: ind = RLSTA_NOMEMPKT_D; in of_rule_stats()
420 case ILBST_NOPORTP_D: ind = RLSTA_NOPORTPKT_D; in of_rule_stats()
422 case ILBST_NOMEMB_D: ind = RLSTA_NOMEMBYTES_D; in of_rule_stats()
424 case ILBST_NOPORTB_D: ind = RLSTA_NOPORTBYTES_D; in of_rule_stats()
429 count += sta->ilbst_rlist[i].ird_rulestats[ind].is_value; in of_rule_stats()
447 count -= sta->ilbst_rlist[i].ird_rulestats_o[ind].is_value; in of_rule_stats()
534 int i, ind; in i_copy_sstats() local
538 ind = i_stat_index(knp, servstats, SSTAT_SZ); in i_copy_sstats()
539 if (ind == -1) in i_copy_sstats()
541 (void) strlcpy(sp->isd_serverstats[ind].is_name, knp->name, in i_copy_sstats()
542 sizeof (sp->isd_serverstats[ind].is_name)); in i_copy_sstats()
543 sp->isd_serverstats[ind].is_value = knp->value.ui64; in i_copy_sstats()
610 int i, ind; in i_copy_rstats() local
614 ind = i_stat_index(knp, rulestats, RSTAT_SZ); in i_copy_rstats()
615 if (ind == -1) in i_copy_rstats()
618 (void) strlcpy(rp->ird_rulestats[ind].is_name, knp->name, in i_copy_rstats()
619 sizeof (rp->ird_rulestats[ind].is_name)); in i_copy_rstats()
620 rp->ird_rulestats[ind].is_value = knp->value.ui64; in i_copy_rstats()