Lines Matching defs:frep
506 struct pf_frent *frep = NULL;
543 frep = NULL;
554 frep = frea;
557 VERIFY(frep != NULL || frea != NULL);
559 if (frep != NULL &&
560 FR_IP_OFF(frep) + ntohs(frep->fr_ip->ip_len) - frep->fr_ip->ip_hl *
564 precut = FR_IP_OFF(frep) + ntohs(frep->fr_ip->ip_len) -
565 frep->fr_ip->ip_hl * 4 - off;
609 if (frep == NULL)
612 LIST_INSERT_AFTER(frep, frent, fr_next);
620 for (frep = LIST_FIRST(&(*frag)->fr_queue); frep; frep = next) {
621 next = LIST_NEXT(frep, fr_next);
623 off += ntohs(frep->fr_ip->ip_len) - frep->fr_ip->ip_hl * 4;
1004 struct pf_frent *frea, *frep, *next;
1010 frep = NULL;
1047 frep = NULL;
1058 frep = frea;
1061 VERIFY(frep != NULL || frea != NULL);
1063 if (frep != NULL &&
1064 FR_IP6_OFF(frep) + FR_IP6_PLEN(frep) - frep->fr_ip6f_hlen > off)
1068 precut = FR_IP6_OFF(frep) + FR_IP6_PLEN(frep) -
1069 frep->fr_ip6f_hlen - off;
1114 if (frep == NULL)
1117 LIST_INSERT_AFTER(frep, frent, fr_next);
1125 for (frep = LIST_FIRST(&(*frag)->fr_queue); frep; frep = next) {
1126 next = LIST_NEXT(frep, fr_next);
1127 off += FR_IP6_PLEN(frep) - (frent->fr_ip6f_hlen - sizeof *ip6);
1128 DPFPRINTF(("frep at %d, next %d, max %d\n",