Searched refs:frag_off (Results 1 - 25 of 62) sorted by relevance

123

/net/ipv6/netfilter/
H A Dip6t_frag.c59 pr_debug("INFO %04X ", fh->frag_off);
60 pr_debug("OFFSET %04X ", ntohs(fh->frag_off) & ~0x7);
61 pr_debug("RES %02X %04X", fh->reserved, ntohs(fh->frag_off) & 0x6);
62 pr_debug("MF %04X ", fh->frag_off & htons(IP6_MF));
72 ntohs(fh->frag_off) & 0x6,
74 (fh->reserved || (ntohs(fh->frag_off) & 0x06))));
77 ntohs(fh->frag_off) & ~0x7,
79 (ntohs(fh->frag_off) & ~0x7)));
82 ntohs(fh->frag_off) & IP6_MF,
84 !((ntohs(fh->frag_off)
[all...]
H A Dnf_conntrack_l3proto_ipv6.c74 __be16 frag_off; local
83 protoff = ipv6_skip_exthdr(skb, extoff, &nexthdr, &frag_off);
88 if (protoff < 0 || (frag_off & htons(~0x7)) != 0) {
108 __be16 frag_off; local
127 &frag_off);
128 if (protoff < 0 || (frag_off & htons(~0x7)) != 0) {
146 __be16 frag_off; local
153 &frag_off);
154 if (protoff < 0 || (frag_off & htons(~0x7)) != 0) {
H A Dnf_log_ipv6.c101 nf_log_buf_add(m, "%u ", ntohs(fh->frag_off) & 0xFFF8);
104 if (fh->frag_off & htons(0x0001))
110 if (ntohs(fh->frag_off) & 0xFFF8)
H A Dnf_reject_ipv6.c23 __be16 frag_off; local
28 &proto, &frag_off);
H A Dnf_nat_l3proto_ipv6.c84 __be16 frag_off; local
94 &nexthdr, &frag_off);
98 if ((frag_off & htons(~0x7)) == 0 &&
277 __be16 frag_off; local
303 &nexthdr, &frag_off);
/net/ipv4/netfilter/
H A Dnf_log_ipv4.c65 if (ntohs(ih->frag_off) & IP_CE)
67 if (ntohs(ih->frag_off) & IP_DF)
69 if (ntohs(ih->frag_off) & IP_MF)
73 if (ntohs(ih->frag_off) & IP_OFFSET)
74 nf_log_buf_add(m, "FRAG:%u ", ntohs(ih->frag_off) & IP_OFFSET);
100 ntohs(ih->frag_off) & IP_OFFSET,
107 ntohs(ih->frag_off) & IP_OFFSET,
135 if (ntohs(ih->frag_off) & IP_OFFSET)
202 if (ntohs(ih->frag_off) & IP_OFFSET)
228 if (ntohs(ih->frag_off)
[all...]
H A Dnf_reject_ipv4.c23 if (ip_hdr(oldskb)->frag_off & htons(IP_OFFSET))
55 niph->frag_off = htons(IP_DF);
/net/netfilter/ipset/
H A Dip_set_getport.c108 if (ntohs(iph->frag_off) & IP_OFFSET)
135 __be16 frag_off = 0; local
139 &frag_off);
140 if (protoff < 0 || (frag_off & htons(~0x7)) != 0)
/net/ipv4/
H A Dxfrm4_mode_tunnel.c59 top_iph->frag_off = (flags & XFRM_STATE_NOPMTUDISC) ?
60 0 : (XFRM_MODE_SKB_CB(skb)->frag_off & htons(IP_DF));
H A Dxfrm4_state.c63 XFRM_MODE_SKB_CB(skb)->frag_off = iph->frag_off;
H A Dah4.c135 top_iph->frag_off = iph->frag_off;
194 iph->frag_off = top_iph->frag_off;
209 top_iph->frag_off = 0;
249 top_iph->frag_off = iph->frag_off;
379 iph->frag_off = 0;
H A Dxfrm4_mode_beet.c31 iph->frag_off = XFRM_MODE_SKB_CB(skb)->frag_off;
H A Dipip.c250 p.iph.ihl != 5 || (p.iph.frag_off&htons(~IP_DF)))
256 p.iph.frag_off |= htons(IP_DF);
336 parms->iph.frag_off = htons(IP_DF);
343 parms->iph.frag_off = htons(IP_DF);
458 !!(parm->iph.frag_off & htons(IP_DF))))
H A Dxfrm4_output.c28 if (!(ip_hdr(skb)->frag_off & htons(IP_DF)) || skb->ignore_df)
H A Dip_output.c144 iph->frag_off = htons(IP_DF);
146 iph->frag_off = 0;
419 iph->frag_off = htons(IP_DF);
421 iph->frag_off = 0;
503 if (unlikely(((iph->frag_off & htons(IP_DF)) && !skb->ignore_df) ||
570 iph->frag_off = htons(IP_MF);
588 iph->frag_off = htons(offset>>3);
590 iph->frag_off |= htons(IP_MF);
648 offset = (ntohs(iph->frag_off) & IP_OFFSET) << 3;
649 not_last_frag = iph->frag_off
[all...]
H A Dip_forward.c44 return unlikely((ip_hdr(skb)->frag_off & htons(IP_DF)) == 0) ||
/net/rds/
H A Dib_recv.c482 unsigned long frag_off = 0; local
493 if (frag_off == RDS_FRAG_SIZE) {
496 frag_off = 0;
503 to_copy = min(iov->iov_len - iov_off, RDS_FRAG_SIZE - frag_off);
510 sg_page(&frag->f_sg), frag->f_sg.offset, frag_off);
514 frag->f_sg.offset + frag_off,
523 frag_off += to_copy;
744 unsigned long frag_off; local
759 frag_off = 0;
767 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZ
[all...]
H A Diw_recv.c313 unsigned long frag_off = 0; local
324 if (frag_off == RDS_FRAG_SIZE) {
327 frag_off = 0;
334 to_copy = min(iov->iov_len - iov_off, RDS_FRAG_SIZE - frag_off);
341 frag->f_page, frag->f_offset, frag_off);
345 frag->f_offset + frag_off,
354 frag_off += to_copy;
575 unsigned long frag_off; local
590 frag_off = 0;
598 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZ
[all...]
/net/bridge/netfilter/
H A Debt_ip6.c60 __be16 frag_off; local
63 offset_ph = ipv6_skip_exthdr(skb, sizeof(_ip6h), &nexthdr, &frag_off);
H A Debt_log.c120 __be16 frag_off; local
131 offset_ph = ipv6_skip_exthdr(skb, sizeof(_iph), &nexthdr, &frag_off);
H A Debt_ip.c56 if (ntohs(ih->frag_off) & IP_OFFSET)
/net/ipv6/
H A Dexthdrs_core.c91 frag_off),
245 frag_off),
H A Dxfrm6_state.c162 XFRM_MODE_SKB_CB(skb)->frag_off = htons(IP_DF);
/net/netfilter/
H A Dxt_TCPOPTSTRIP.c105 __be16 frag_off; local
108 tcphoff = ipv6_skip_exthdr(skb, sizeof(*ipv6h), &nexthdr, &frag_off);
H A Dxt_AUDIT.c88 if (ntohs(ih->frag_off) & IP_OFFSET) {
101 __be16 frag_off; local
112 &nexthdr, &frag_off);

Completed in 1284 milliseconds

123