/kernel/liteos_m/kal/libc/newlib/porting/include/netinet/ |
D | ip.h | 93 #define IP_DF 0x4000 macro
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ipip.c | 335 p->iph.ihl != 5 || (p->iph.frag_off & htons(~IP_DF))) in ipip_tunnel_ctl() 430 parms->iph.frag_off = htons(IP_DF); in ipip_netlink_parms() 440 parms->iph.frag_off = htons(IP_DF); in ipip_netlink_parms() 575 !!(parm->iph.frag_off & htons(IP_DF))) || in ipip_fill_info()
|
D | ip_forward.c | 48 if (unlikely((ip_hdr(skb)->frag_off & htons(IP_DF)) == 0)) in ip_exceeds_mtu()
|
D | af_inet.c | 1381 if (fixedid && !(ip_hdr(skb)->frag_off & htons(IP_DF))) in inet_gso_segment() 1480 flush = (u16)((ntohl(*(__be32 *)iph) ^ skb_gro_len(skb)) | (id & ~IP_DF)); in inet_gro_receive() 1507 ((iph->frag_off ^ iph2->frag_off) & htons(IP_DF)); in inet_gro_receive() 1524 !(iph->frag_off & htons(IP_DF))) { in inet_gro_receive() 1538 NAPI_GRO_CB(skb)->is_atomic = !!(iph->frag_off & htons(IP_DF)); in inet_gro_receive()
|
D | ip_tunnel.c | 509 (inner_iph->frag_off & htons(IP_DF)) && in tnl_update_pmtu() 597 df = htons(IP_DF); in ip_md_tunnel_xmit() 768 df |= (inner_iph->frag_off & htons(IP_DF)); in ip_tunnel_xmit() 882 p->iph.frag_off |= htons(IP_DF); in ip_tunnel_ctl()
|
D | ip_output.c | 167 iph->frag_off = htons(IP_DF); in ip_build_and_send_pkt() 519 iph->frag_off = htons(IP_DF); in __ip_queue_xmit() 588 if ((iph->frag_off & htons(IP_DF)) == 0) in ip_fragment() 742 iph->frag_off |= htons(IP_DF); in ip_frag_next() 1530 df = htons(IP_DF); in __ip_make_skb()
|
D | ip_fragment.c | 363 if (ip_hdr(skb)->frag_off & htons(IP_DF) && in ip_frag_queue() 450 iph->frag_off = htons(IP_DF); in ip_frag_reasm()
|
D | ip_gre.c | 786 p->iph.ihl != 5 || (p->iph.frag_off & htons(~IP_DF)) || in ipgre_tunnel_ctl() 1168 parms->iph.frag_off = htons(IP_DF); in ipgre_netlink_parms() 1179 && (parms->iph.frag_off & htons(IP_DF))) in ipgre_netlink_parms() 1524 !!(p->iph.frag_off & htons(IP_DF))) || in ipgre_fill_info()
|
D | ip_tunnel_core.c | 237 .frag_off = htons(IP_DF), in iptunnel_pmtud_build_icmp() 266 if (mtu < 576 || iph->frag_off != htons(IP_DF)) in iptunnel_pmtud_check_icmp()
|
D | ip_vti.c | 241 if (!(ip_hdr(skb)->frag_off & htons(IP_DF))) in vti_xmit()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
D | nf_dup_ipv4.c | 81 iph->frag_off |= htons(IP_DF); in nf_dup_ipv4()
|
D | nf_reject_ipv4.c | 56 niph->frag_off = htons(IP_DF); in nf_reject_iphdr_put()
|
D | nf_log_ipv4.c | 67 if (ntohs(ih->frag_off) & IP_DF) in dump_ipv4_packet()
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_inout.h | 30 XFRM_MODE_SKB_CB(skb)->frag_off = htons(IP_DF); in xfrm6_extract_header()
|
D | xfrm_output.c | 230 0 : (XFRM_MODE_SKB_CB(skb)->frag_off & htons(IP_DF)); in xfrm4_tunnel_encap_add() 639 if (!(ip_hdr(skb)->frag_off & htons(IP_DF)) || skb->ignore_df) in xfrm4_tunnel_check_size()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 131 ipv4.frag_off = htons(IP_DF); in set_av_attr()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | sit.c | 1258 p->iph.ihl != 5 || (p->iph.frag_off & htons(~IP_DF))) in __ipip6_tunnel_ioctl_validate() 1262 p->iph.frag_off |= htons(IP_DF); in __ipip6_tunnel_ioctl_validate() 1517 parms->iph.frag_off = htons(IP_DF); in ipip6_netlink_parms() 1524 parms->iph.frag_off = htons(IP_DF); in ipip6_netlink_parms() 1756 !!(parm->iph.frag_off & htons(IP_DF))) || in ipip6_fill_info()
|
/kernel/linux/linux-5.10/drivers/net/ |
D | geneve.c | 940 df = key->tun_flags & TUNNEL_DONT_FRAGMENT ? htons(IP_DF) : 0; in geneve_xmit_skb() 950 df = htons(IP_DF); in geneve_xmit_skb() 955 df = htons(IP_DF); in geneve_xmit_skb() 959 if (iph->frag_off & htons(IP_DF)) in geneve_xmit_skb() 960 df = htons(IP_DF); in geneve_xmit_skb()
|
D | bareudp.c | 319 df = key->tun_flags & TUNNEL_DONT_FRAGMENT ? htons(IP_DF) : 0; in bareudp_xmit_skb()
|
/kernel/linux/linux-5.10/include/net/ |
D | ip.h | 135 #define IP_DF 0x4000 /* Flag: "Don't Fragment" */ macro 517 if ((iph->frag_off & htons(IP_DF)) && !skb->ignore_df) { in ip_select_ident_segs()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nfnetlink_osf.c | 181 ctx->df = ntohs(ip->frag_off) & IP_DF; in nf_osf_hdr_ctx_init()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_net.c | 307 __be16 df = htons(IP_DF); in prepare4()
|
/kernel/linux/linux-5.10/drivers/net/ppp/ |
D | pptp.c | 228 iph->frag_off = htons(IP_DF); in pptp_xmit()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
D | ip_vs_xmit.c | 242 if (unlikely(ip_hdr(skb)->frag_off & htons(IP_DF) && in ensure_mtu_is_adequate() 989 *df = (old_iph->frag_off & htons(IP_DF)); in ip_vs_prepare_tunneled_skb()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | qedr_roce_cm.c | 472 udh->ip4.frag_off = htons(IP_DF); in qedr_gsi_build_header()
|