Lines Matching refs:frp

701 	struct pf_frcache	*frp, *fra, *cur = NULL;
755 frp = NULL;
759 frp = fra;
762 VERIFY(frp != NULL || fra != NULL);
764 if (frp != NULL) {
767 precut = frp->fr_end - off;
771 h->ip_id, frp->fr_off, frp->fr_end, off, fr_max));
777 h->ip_id, frp->fr_off, frp->fr_end, off, fr_max));
778 frp->fr_end = fr_max;
789 h->ip_id, precut, frp->fr_off, frp->fr_end, off,
795 frp->fr_end = fr_max;
837 h->ip_id, -precut, frp->fr_off, frp->fr_end, off,
847 LIST_INSERT_AFTER(frp, cur, fr_next);
888 } else if (frp == NULL) {
919 } else if (frp && fra->fr_off <= frp->fr_end) {
920 /* Need to merge in a modified 'frp' */
924 h->ip_id, frp->fr_off, frp->fr_end, off,
926 fra->fr_off = frp->fr_off;
927 LIST_REMOVE(frp, fr_next);
928 pool_put(&pf_cent_pl, frp);
930 frp = NULL;
1207 struct pf_frcache *frp, *fra, *cur = NULL;
1283 frp = NULL;
1287 frp = fra;
1290 VERIFY(frp != NULL || fra != NULL);
1292 if (frp != NULL) {
1295 precut = frp->fr_end - off;
1299 ntohl(fh->ip6f_ident), frp->fr_off, frp->fr_end,
1306 ntohl(fh->ip6f_ident), frp->fr_off, frp->fr_end,
1308 frp->fr_end = fr_max;
1318 ntohl(fh->ip6f_ident), precut, frp->fr_off,
1319 frp->fr_end, off, fr_max));
1324 frp->fr_end = fr_max;
1366 ntohl(fh->ip6f_ident), -precut, frp->fr_off,
1367 frp->fr_end, off, fr_max));
1376 LIST_INSERT_AFTER(frp, cur, fr_next);
1419 } else if (frp == NULL) {
1449 } else if (frp && fra->fr_off <= frp->fr_end) {
1450 /* Need to merge in a modified 'frp' */
1454 ntohl(fh->ip6f_ident), frp->fr_off,
1455 frp->fr_end, off, fr_max, fra->fr_off,
1457 fra->fr_off = frp->fr_off;
1458 LIST_REMOVE(frp, fr_next);
1459 pool_put(&pf_cent_pl, frp);
1461 frp = NULL;