Searched refs:IP_DF (Results 1 - 25 of 43) sorted by relevance

12

/linux-master/net/ipv4/netfilter/
H A Dnf_dup_ipv4.c75 * Set %IP_DF so that the original source is notified of a potentially
81 iph->frag_off |= htons(IP_DF);
H A Dnf_reject_ipv4.c180 niph->frag_off = htons(IP_DF);
/linux-master/net/xfrm/
H A Dxfrm_inout.h30 XFRM_MODE_SKB_CB(skb)->frag_off = htons(IP_DF);
H A Dxfrm_output.c307 0 : (XFRM_MODE_SKB_CB(skb)->frag_off & htons(IP_DF));
790 if (!(ip_hdr(skb)->frag_off & htons(IP_DF)) || skb->ignore_df)
/linux-master/tools/testing/selftests/net/
H A Dnat6to4.c46 #define IP_DF 0x4000 // Flag: "Don't Fragment" macro
100 .frag_off = bpf_htons(IP_DF), // u16
200 if (ip4->frag_off & ~bpf_htons(IP_DF))
/linux-master/net/ipv4/
H A Dip_forward.c48 if (unlikely((ip_hdr(skb)->frag_off & htons(IP_DF)) == 0))
H A Dipip.c338 p->iph.ihl != 5 || (p->iph.frag_off & htons(~IP_DF)))
522 !!(parm->iph.frag_off & htons(IP_DF))) ||
H A Dip_fragment.c370 if (ip_hdr(skb)->frag_off & htons(IP_DF) &&
449 /* When we set IP_DF on a refragmented skb we must also force a
459 iph->frag_off = htons(IP_DF);
H A Dip_tunnel_core.c237 .frag_off = htons(IP_DF),
266 if (mtu < 576 || iph->frag_off != htons(IP_DF))
1133 parms->iph.frag_off = htons(IP_DF);
1140 parms->iph.frag_off = htons(IP_DF);
H A Daf_inet.c1413 if (fixedid && !(ip_hdr(skb)->frag_off & htons(IP_DF)))
1511 flush = (u16)((ntohl(*(__be32 *)iph) ^ skb_gro_len(skb)) | (id & ~IP_DF));
1538 ((iph->frag_off ^ iph2->frag_off) & htons(IP_DF));
1555 !(iph->frag_off & htons(IP_DF))) {
1569 NAPI_GRO_CB(skb)->is_atomic = !!(iph->frag_off & htons(IP_DF));
H A Dip_output.c171 iph->frag_off = htons(IP_DF);
514 iph->frag_off = htons(IP_DF);
583 if ((iph->frag_off & htons(IP_DF)) == 0)
736 iph->frag_off |= htons(IP_DF);
1431 df = htons(IP_DF);
H A Dip_tunnel.c535 (inner_iph->frag_off & htons(IP_DF)) &&
642 df = htons(IP_DF);
815 df |= (inner_iph->frag_off & htons(IP_DF));
929 p->iph.frag_off |= htons(IP_DF);
H A Dip_gre.c800 p->iph.ihl != 5 || (p->iph.frag_off & htons(~IP_DF)) ||
1181 parms->iph.frag_off = htons(IP_DF);
1192 && (parms->iph.frag_off & htons(IP_DF)))
1519 !!(p->iph.frag_off & htons(IP_DF))) ||
/linux-master/drivers/infiniband/hw/ocrdma/
H A Docrdma_ah.c131 ipv4.frag_off = htons(IP_DF);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dxdp_synproxy_kern.c23 #define IP_DF 0x4000 macro
444 if ((hdr->ipv4->frag_off & bpf_htons(IP_DF | IP_MF | IP_OFFSET)) != bpf_htons(IP_DF))
/linux-master/net/netfilter/
H A Dnfnetlink_osf.c181 ctx->df = ntohs(ip->frag_off) & IP_DF;
H A Dnf_log_syslog.c332 if (ntohs(ih->frag_off) & IP_DF)
/linux-master/include/net/
H A Dip.h140 #define IP_DF 0x4000 /* Flag: "Don't Fragment" */ macro
566 if ((iph->frag_off & htons(IP_DF)) && !skb->ignore_df) {
/linux-master/drivers/net/
H A Dgeneve.c881 df = key->tun_flags & TUNNEL_DONT_FRAGMENT ? htons(IP_DF) : 0;
890 df = htons(IP_DF);
895 df = htons(IP_DF);
899 if (iph->frag_off & htons(IP_DF))
900 df = htons(IP_DF);
H A Dbareudp.c319 df = key->tun_flags & TUNNEL_DONT_FRAGMENT ? htons(IP_DF) : 0;
/linux-master/net/ipv6/
H A Dsit.c1262 p->iph.ihl != 5 || (p->iph.frag_off & htons(~IP_DF)))
1266 p->iph.frag_off |= htons(IP_DF);
1698 !!(parm->iph.frag_off & htons(IP_DF))) ||
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_net.c285 __be16 df = htons(IP_DF);
/linux-master/drivers/net/ppp/
H A Dpptp.c242 iph->frag_off = htons(IP_DF);
/linux-master/net/netfilter/ipvs/
H A Dip_vs_xmit.c242 if (unlikely(ip_hdr(skb)->frag_off & htons(IP_DF) &&
973 *df = (old_iph->frag_off & htons(IP_DF));
/linux-master/drivers/infiniband/hw/qedr/
H A Dqedr_roce_cm.c470 udh->ip4.frag_off = htons(IP_DF);

Completed in 338 milliseconds

12