Home
last modified time | relevance | path

Searched refs:fragoff (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/netinet6/
H A Dfrag6.c373 int fragoff, frgpartlen; /* Must be larger than uint16_t. */ in frag6_input() local
491 fragoff = ntohs(ip6f->ip6f_offlg & IP6F_OFF_MASK); in frag6_input()
576 if (fragoff == 0 && q6->ip6q_unfrglen == -1) { in frag6_input()
590 if (q6->ip6q_unfrglen + fragoff + frgpartlen > IPV6_MAXPACKET) { in frag6_input()
607 } else if (fragoff + frgpartlen > IPV6_MAXPACKET) { in frag6_input()
629 if (fragoff == 0 && !only_frag) { in frag6_input()
673 ip6af->ip6af_off = fragoff; in frag6_input()
/f-stack/freebsd/netpfil/pf/
H A Dpf_norm.c1027 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; in pf_normalize_ip() local
1089 if (!fragoff && !mff) in pf_normalize_ip()
1111 if (fragoff + ip_len > IP_MAXPACKET) { in pf_normalize_ip()
1112 DPFPRINTF(("max packet %d\n", fragoff + ip_len)); in pf_normalize_ip()
1115 max = fragoff + ip_len; in pf_normalize_ip()
1120 DPFPRINTF(("reass frag %d @ %d-%d\n", h->ip_id, fragoff, max)); in pf_normalize_ip()
H A Dpf.c5387 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; in pf_pull_hdr() local
5389 if (fragoff) { in pf_pull_hdr()
5390 if (fragoff >= len) in pf_pull_hdr()