| /linux/tools/testing/selftests/net/ |
| H A D | nat6to4.bpf.c | 46 #define IP_DF 0x4000 // Flag: "Don't Fragment" macro 100 .frag_off = bpf_htons(IP_DF), // u16 in sched_cls_ingress6_nat_6_prog() 200 if (ip4->frag_off & ~bpf_htons(IP_DF)) in sched_cls_egress4_snat4_prog()
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | gro.c | |
| /linux/net/xfrm/ |
| H A D | xfrm_inout.h | 30 XFRM_MODE_SKB_CB(skb)->frag_off = htons(IP_DF); in xfrm6_extract_header()
|
| H A D | xfrm_output.c | 312 0 : (XFRM_MODE_SKB_CB(skb)->frag_off & htons(IP_DF)); in xfrm4_tunnel_encap_add() 848 if (!(ip_hdr(skb)->frag_off & htons(IP_DF)) || skb->ignore_df) in xfrm4_tunnel_check_size()
|
| H A D | xfrm_interface_core.c | 493 if (!(ip_hdr(skb)->frag_off & htons(IP_DF))) in xfrmi_xmit2()
|
| /linux/net/ipv4/ |
| H A D | ip_forward.c | 48 if (unlikely((ip_hdr(skb)->frag_off & htons(IP_DF)) == 0)) in ip_exceeds_mtu()
|
| H A D | ipip.c | 346 p->iph.ihl != 5 || (p->iph.frag_off & htons(~IP_DF))) in ipip_tunnel_ctl() 559 !!(parm->iph.frag_off & htons(IP_DF))) ||
|
| H A D | ip_tunnel_core.c | 257 .frag_off = htons(IP_DF), in iptunnel_pmtud_build_icmp() 285 if (mtu < 576 || iph->frag_off != htons(IP_DF)) in iptunnel_pmtud_check_icmp() 1178 parms->iph.frag_off = htons(IP_DF); in ip_tunnel_netlink_parms() 1185 parms->iph.frag_off = htons(IP_DF); in ip_tunnel_netlink_parms()
|
| H A D | ip_output.c | 173 iph->frag_off = htons(IP_DF); in ip_build_and_send_pkt() 512 iph->frag_off = htons(IP_DF); in __ip_queue_xmit() 581 if ((iph->frag_off & htons(IP_DF)) == 0) in ip_fragment() 734 iph->frag_off |= htons(IP_DF); in ip_frag_next() 1445 df = htons(IP_DF); in __ip_make_skb()
|
| H A D | ip_tunnel.c | 537 (inner_iph->frag_off & htons(IP_DF)) && in tnl_update_pmtu() 630 df = htons(IP_DF); in ip_md_tunnel_xmit() 804 df |= (inner_iph->frag_off & htons(IP_DF)); in ip_tunnel_xmit() 921 p->iph.frag_off |= htons(IP_DF); in ip_tunnel_ctl()
|
| H A D | ip_fragment.c | 355 if (ip_hdr(skb)->frag_off & htons(IP_DF) && in ip_frag_queue() 435 /* When we set IP_DF on a refragmented skb we must also force a in ip_frag_reasm() 445 iph->frag_off = htons(IP_DF); in ip_frag_reasm()
|
| H A D | ip_gre.c | 833 p->iph.ihl != 5 || (p->iph.frag_off & htons(~IP_DF)) || in ipgre_tunnel_ctl() 1229 parms->iph.frag_off = htons(IP_DF); in ipgre_netlink_parms() 1240 && (parms->iph.frag_off & htons(IP_DF))) in ipgre_netlink_parms() 1575 !!(p->iph.frag_off & htons(IP_DF))) || in ipgre_fill_info()
|
| H A D | ip_vti.c | 244 if (!(ip_hdr(skb)->frag_off & htons(IP_DF))) in vti_xmit()
|
| H A D | ipconfig.c | 841 h->frag_off = htons(IP_DF); in ic_bootp_send_if()
|
| /linux/drivers/infiniband/hw/ocrdma/ |
| H A D | ocrdma_ah.c | 131 ipv4.frag_off = htons(IP_DF); in set_av_attr()
|
| /linux/include/net/ |
| H A D | dst_metadata.h | 229 if (tun_dst && (iph->frag_off & htons(IP_DF))) in ip_tun_rx_dst()
|
| H A D | ip.h | 143 #define IP_DF 0x4000 /* Flag: "Don't Fragment" */ macro 581 if ((iph->frag_off & htons(IP_DF)) && !skb->ignore_df) { in ip_select_ident_segs()
|
| /linux/drivers/net/ |
| H A D | geneve.c | 1390 htons(IP_DF) : 0; in geneve_xmit_skb() 1399 df = htons(IP_DF); in geneve_xmit_skb() 1404 df = htons(IP_DF); in geneve6_xmit_skb() 1408 if (iph->frag_off & htons(IP_DF)) in geneve6_xmit_skb() 1409 df = htons(IP_DF); in geneve6_xmit_skb()
|
| H A D | bareudp.c | 340 htons(IP_DF) : 0; in bareudp_xmit_skb()
|
| /linux/net/netfilter/ |
| H A D | nfnetlink_osf.c | 166 ctx->df = ntohs(ip->frag_off) & IP_DF; in nf_osf_hdr_ctx_init()
|
| H A D | nf_synproxy_core.c | 410 iph->frag_off = htons(IP_DF); in synproxy_build_ip()
|
| /linux/drivers/infiniband/hw/qedr/ |
| H A D | qedr_roce_cm.c | 468 udh->ip4.frag_off = htons(IP_DF); in qedr_gsi_build_header()
|
| /linux/net/bridge/ |
| H A D | br_netfilter_hooks.c | 815 if (unlikely(((iph->frag_off & htons(IP_DF)) && !skb->ignore_df) || in br_nf_ip_fragment()
|
| /linux/net/ipv6/ |
| H A D | ip6_vti.c | 521 if (!(ip_hdr(skb)->frag_off & htons(IP_DF))) in vti6_xmit()
|
| /linux/drivers/net/vxlan/ |
| H A D | vxlan_core.c | 2502 df = htons(IP_DF); in vxlan_xmit_one() 2508 old_iph->frag_off & htons(IP_DF))) in vxlan_xmit_one() 2509 df = htons(IP_DF); in vxlan_xmit_one() 2513 df = htons(IP_DF); in vxlan_xmit_one()
|