Lines Matching defs:pt
582 struct pfioc_table pt;
626 memset(&pt, '\0', sizeof (pt));
627 pfr_clr_tables(&pt.pfrio_table, &pt.pfrio_ndel, pt.pfrio_flags);
1939 struct pfioc_tm pt;
1942 bcopy(addr, &pt, sizeof (pt));
1943 error = pfioctl_ioc_tm(cmd, &pt, p);
1944 bcopy(&pt, addr, sizeof (pt));
3930 pfioctl_ioc_tm(u_long cmd, struct pfioc_tm *pt, struct proc *p)
3939 if (pt->timeout < 0 || pt->timeout >= PFTM_MAX ||
3940 pt->seconds < 0) {
3944 old = pf_default_rule.timeout[pt->timeout];
3945 if (pt->timeout == PFTM_INTERVAL && pt->seconds == 0)
3946 pt->seconds = 1;
3947 pf_default_rule.timeout[pt->timeout] = pt->seconds;
3948 if (pt->timeout == PFTM_INTERVAL && pt->seconds < old)
3950 pt->seconds = old;
3955 if (pt->timeout < 0 || pt->timeout >= PFTM_MAX) {
3959 pt->seconds = pf_default_rule.timeout[pt->timeout];