Home
last modified time | relevance | path

Searched refs:IP_DF (Results 1 – 25 of 40) sorted by relevance

12

/kernel/liteos_m/kal/libc/newlib/porting/include/netinet/
Dip.h93 #define IP_DF 0x4000 macro
/kernel/linux/linux-5.10/net/ipv4/
Dipip.c335 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()
Dip_forward.c48 if (unlikely((ip_hdr(skb)->frag_off & htons(IP_DF)) == 0)) in ip_exceeds_mtu()
Daf_inet.c1381 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()
Dip_tunnel.c509 (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()
Dip_output.c167 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()
Dip_fragment.c363 if (ip_hdr(skb)->frag_off & htons(IP_DF) && in ip_frag_queue()
450 iph->frag_off = htons(IP_DF); in ip_frag_reasm()
Dip_gre.c786 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()
Dip_tunnel_core.c237 .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()
Dip_vti.c241 if (!(ip_hdr(skb)->frag_off & htons(IP_DF))) in vti_xmit()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnf_dup_ipv4.c81 iph->frag_off |= htons(IP_DF); in nf_dup_ipv4()
Dnf_reject_ipv4.c56 niph->frag_off = htons(IP_DF); in nf_reject_iphdr_put()
Dnf_log_ipv4.c67 if (ntohs(ih->frag_off) & IP_DF) in dump_ipv4_packet()
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_inout.h30 XFRM_MODE_SKB_CB(skb)->frag_off = htons(IP_DF); in xfrm6_extract_header()
Dxfrm_output.c230 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/
Docrdma_ah.c131 ipv4.frag_off = htons(IP_DF); in set_av_attr()
/kernel/linux/linux-5.10/net/ipv6/
Dsit.c1258 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/
Dgeneve.c940 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()
Dbareudp.c319 df = key->tun_flags & TUNNEL_DONT_FRAGMENT ? htons(IP_DF) : 0; in bareudp_xmit_skb()
/kernel/linux/linux-5.10/include/net/
Dip.h135 #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/
Dnfnetlink_osf.c181 ctx->df = ntohs(ip->frag_off) & IP_DF; in nf_osf_hdr_ctx_init()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_net.c307 __be16 df = htons(IP_DF); in prepare4()
/kernel/linux/linux-5.10/drivers/net/ppp/
Dpptp.c228 iph->frag_off = htons(IP_DF); in pptp_xmit()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_xmit.c242 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/
Dqedr_roce_cm.c472 udh->ip4.frag_off = htons(IP_DF); in qedr_gsi_build_header()

12