Searched refs:fragoff (Results 1 – 4 of 4) sorted by relevance
| /xnu-12377.41.6/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_ip_frag.c | 282 uint16_t unfragpartlen, offflag, fragoff, fragpartlen, fragflag; in fsw_ip_frag_reass_v4() local 296 fragoff = (uint16_t)(offflag << 3); in fsw_ip_frag_reass_v4() 300 err = ipf_process(mgr, pkt, &key, unfragpartlen, fragoff, fragpartlen, in fsw_ip_frag_reass_v4() 347 uint16_t ip6f_off, fragoff, fragpartlen, unfragpartlen, fragflag; in fsw_ip_frag_reass_v6() local 361 fragoff = ntohs(ip6f->ip6f_offlg & IP6F_OFF_MASK); in fsw_ip_frag_reass_v6() 389 if (fragoff == 0) { in fsw_ip_frag_reass_v6() 403 err = ipf_process(mgr, pkt, &key, unfragpartlen, fragoff, fragpartlen, in fsw_ip_frag_reass_v6() 541 struct ipf_key *key, uint16_t unfraglen, uint16_t fragoff, in ipf_process() argument 557 "fragflag 0x%x", key->ipfk_ident, fragoff, fragpartlen, fragflag); in ipf_process() 628 if (fragoff == 0 && local_ipfq_unfraglen == -1) { in ipf_process() [all …]
|
| /xnu-12377.41.6/bsd/netinet6/ |
| H A D | frag6.c | 289 int fragoff = 0, frgpartlen = 0; /* must be larger than u_int16_t */ in frag6_input() local 532 fragoff = ntohs(ip6f->ip6f_offlg & IP6F_OFF_MASK); in frag6_input() 533 if (fragoff == 0 && local_ip6q_unfrglen == -1) { in frag6_input() 548 if (local_ip6q_unfrglen + fragoff + frgpartlen > IPV6_MAXPACKET) { in frag6_input() 557 } else if (fragoff + frgpartlen > IPV6_MAXPACKET) { in frag6_input() 570 if (fragoff == 0) { in frag6_input() 627 ip6af->ip6af_off = fragoff; in frag6_input()
|
| /xnu-12377.41.6/bsd/net/ |
| H A D | pf_norm.c | 1918 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; in pf_normalize_ip() local 1985 if (!fragoff && !mff) { in pf_normalize_ip() 2009 if (fragoff + ip_len > IP_MAXPACKET) { in pf_normalize_ip() 2010 DPFPRINTF(("max packet %d\n", fragoff + ip_len)); in pf_normalize_ip() 2013 fr_max = fragoff + ip_len; in pf_normalize_ip() 2048 fragoff, fr_max)); in pf_normalize_ip() 2254 u_int16_t fragoff = 0; in pf_normalize_ip6() local 2444 fragoff = ntohs(frag.ip6f_offlg & IP6F_OFF_MASK); in pf_normalize_ip6() 2448 if (fragoff + (plen - off) > IPV6_MAXPACKET) { in pf_normalize_ip6() 2452 fr_max = fragoff + plen - (off - sizeof(struct ip6_hdr)); in pf_normalize_ip6() [all …]
|
| H A D | pf.c | 9103 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; in pf_pull_hdr() local 9105 if (fragoff) { in pf_pull_hdr() 9106 if (fragoff >= copylen) { in pf_pull_hdr()
|