Lines Matching refs:fiop
4198 /* fiop(I) - pointer to ipfilter stats structure */
4210 ipf_getstat(ipf_main_softc_t *softc, friostat_t *fiop, int rev)
4214 bcopy((char *)softc->ipf_stats, (char *)fiop->f_st,
4216 fiop->f_locks[IPL_LOGSTATE] = -1;
4217 fiop->f_locks[IPL_LOGNAT] = -1;
4218 fiop->f_locks[IPL_LOGIPF] = -1;
4219 fiop->f_locks[IPL_LOGAUTH] = -1;
4221 fiop->f_ipf[0][0] = softc->ipf_rules[0][0];
4222 fiop->f_acct[0][0] = softc->ipf_acct[0][0];
4223 fiop->f_ipf[0][1] = softc->ipf_rules[0][1];
4224 fiop->f_acct[0][1] = softc->ipf_acct[0][1];
4225 fiop->f_ipf[1][0] = softc->ipf_rules[1][0];
4226 fiop->f_acct[1][0] = softc->ipf_acct[1][0];
4227 fiop->f_ipf[1][1] = softc->ipf_rules[1][1];
4228 fiop->f_acct[1][1] = softc->ipf_acct[1][1];
4230 fiop->f_ticks = softc->ipf_ticks;
4231 fiop->f_active = softc->ipf_active;
4232 fiop->f_froute[0] = softc->ipf_frouteok[0];
4233 fiop->f_froute[1] = softc->ipf_frouteok[1];
4234 fiop->f_rb_no_mem = softc->ipf_rb_no_mem;
4235 fiop->f_rb_node_max = softc->ipf_rb_node_max;
4237 fiop->f_running = softc->ipf_running;
4239 fiop->f_groups[i][0] = softc->ipf_groups[i][0];
4240 fiop->f_groups[i][1] = softc->ipf_groups[i][1];
4243 fiop->f_log_ok = ipf_log_logok(softc, IPL_LOGIPF);
4244 fiop->f_log_fail = ipf_log_failures(softc, IPL_LOGIPF);
4245 fiop->f_logging = 1;
4247 fiop->f_log_ok = 0;
4248 fiop->f_log_fail = 0;
4249 fiop->f_logging = 0;
4251 fiop->f_defpass = softc->ipf_pass;
4252 fiop->f_features = ipf_features;
4255 snprintf(fiop->f_version, sizeof(fiop->f_version),
4260 (void) strncpy(fiop->f_version, ipfilter_version,
4261 sizeof(fiop->f_version));
4262 fiop->f_version[sizeof(fiop->f_version) - 1] = '\0';