Lines Matching refs:fr_max

122 	u_int16_t	fr_max;		/* fragment data max */
511 u_int16_t fr_max = ip_len + off;
530 (*frag)->fr_max = 0;
603 if ((*frag)->fr_max < fr_max)
604 (*frag)->fr_max = fr_max;
624 if (off < (*frag)->fr_max &&
628 (*frag)->fr_max));
632 DPFPRINTF(("%d < %d?\n", off, (*frag)->fr_max));
633 if (off < (*frag)->fr_max)
704 u_int16_t fr_max = ip_len + off;
729 (*frag)->fr_max = 0;
738 cur->fr_end = fr_max;
746 fr_max));
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;
790 fr_max));
793 fr_max -= precut;
795 frp->fr_end = fr_max;
838 fr_max));
846 cur->fr_end = fr_max;
855 aftercut = fr_max - fra->fr_off;
859 h->ip_id, off, fr_max, fra->fr_off, fra->fr_end));
865 h->ip_id, aftercut, off, fr_max, fra->fr_off,
868 fr_max -= aftercut;
891 h->ip_id, -aftercut, off, fr_max, fra->fr_off,
900 cur->fr_end = fr_max;
912 fr_max, fra->fr_off, fra->fr_end));
925 fr_max, fra->fr_off, fra->fr_end));
948 if ((*frag)->fr_max < fr_max)
949 (*frag)->fr_max = fr_max;
958 LIST_FIRST(&(*frag)->fr_cache)->fr_end == (*frag)->fr_max) {
961 (*frag)->fr_max));
1006 int plen, off, fr_max;
1014 fr_max = off + plen - (frent->fr_ip6f_hlen - sizeof *ip6);
1016 DPFPRINTF(("%p IPv6 frag plen %u off %u fr_ip6f_hlen %u fr_max %u m_len %u\n", m,
1017 plen, off, frent->fr_ip6f_hlen, fr_max, m->m_len));
1034 (*frag)->fr_max = 0;
1108 if ((*frag)->fr_max < fr_max)
1109 (*frag)->fr_max = fr_max;
1130 (*frag)->fr_max));
1131 if (off < (*frag)->fr_max &&
1135 (*frag)->fr_max));
1139 DPFPRINTF(("%d < %d?\n", off, (*frag)->fr_max));
1140 if (off < (*frag)->fr_max)
1206 u_int16_t plen, off, fr_max;
1232 fr_max = off + plen;
1234 DPFPRINTF(("%p plen %u off %u fr_max %u\n", m,
1235 plen, off, fr_max));
1257 (*frag)->fr_max = 0;
1266 cur->fr_end = fr_max;
1274 off, fr_max));
1300 off, fr_max));
1307 off, fr_max));
1308 frp->fr_end = fr_max;
1319 frp->fr_end, off, fr_max));
1322 fr_max -= precut;
1324 frp->fr_end = fr_max;
1367 frp->fr_end, off, fr_max));
1375 cur->fr_end = fr_max;
1384 aftercut = fr_max - fra->fr_off;
1388 ntohl(fh->ip6f_ident), off, fr_max, fra->fr_off,
1395 ntohl(fh->ip6f_ident), aftercut, off, fr_max,
1398 fr_max -= aftercut;
1422 ntohl(fh->ip6f_ident), -aftercut, off, fr_max,
1431 cur->fr_end = fr_max;
1442 cur->fr_end, off, fr_max, fra->fr_off,
1455 frp->fr_end, off, fr_max, fra->fr_off,
1477 if ((*frag)->fr_max < fr_max)
1478 (*frag)->fr_max = fr_max;
1487 LIST_FIRST(&(*frag)->fr_cache)->fr_end == (*frag)->fr_max) {
1490 ntohl(fh->ip6f_ident), (*frag)->fr_max));
1537 u_int16_t fr_max;
1624 fr_max = fragoff + ip_len;
1632 fr_max > frag->fr_max)
1647 fragoff, fr_max));
1686 fr_max > frag->fr_max) {
1814 u_int16_t fr_max;
1982 fr_max = fragoff + plen - (off - sizeof(struct ip6_hdr));
1983 DPFPRINTF(("%p IPv6 frag plen %u mff %d off %u fragoff %u fr_max %u\n", m,
1984 plen, mff, off, fragoff, fr_max));
1995 fr_max > pff->fr_max)
2012 ntohl(frag.ip6f_ident), fragoff, fr_max));
2032 fr_max > pff->fr_max) {