Home
last modified time | relevance | path

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

12

/linux/net/ipv4/
A Dipip.c337 p->iph.ihl != 5 || (p->iph.frag_off & htons(~IP_DF))) in ipip_tunnel_ctl()
432 parms->iph.frag_off = htons(IP_DF); in ipip_netlink_parms()
442 parms->iph.frag_off = htons(IP_DF); in ipip_netlink_parms()
577 !!(parm->iph.frag_off & htons(IP_DF))) || in ipip_fill_info()
A Dip_forward.c48 if (unlikely((ip_hdr(skb)->frag_off & htons(IP_DF)) == 0)) in ip_exceeds_mtu()
A Daf_inet.c1374 if (fixedid && !(ip_hdr(skb)->frag_off & htons(IP_DF))) in inet_gso_segment()
1472 flush = (u16)((ntohl(*(__be32 *)iph) ^ skb_gro_len(skb)) | (id & ~IP_DF)); in inet_gro_receive()
1499 ((iph->frag_off ^ iph2->frag_off) & htons(IP_DF)); in inet_gro_receive()
1516 !(iph->frag_off & htons(IP_DF))) { in inet_gro_receive()
1530 NAPI_GRO_CB(skb)->is_atomic = !!(iph->frag_off & htons(IP_DF)); in inet_gro_receive()
A Dip_output.c166 iph->frag_off = htons(IP_DF); in ip_build_and_send_pkt()
504 iph->frag_off = htons(IP_DF); in __ip_queue_xmit()
573 if ((iph->frag_off & htons(IP_DF)) == 0) in ip_fragment()
727 iph->frag_off |= htons(IP_DF); in ip_frag_next()
1505 df = htons(IP_DF); in __ip_make_skb()
A 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()
A Dip_fragment.c362 if (ip_hdr(skb)->frag_off & htons(IP_DF) && in ip_frag_queue()
449 iph->frag_off = htons(IP_DF); in ip_frag_reasm()
A Dip_gre.c790 p->iph.ihl != 5 || (p->iph.frag_off & htons(~IP_DF)) || in ipgre_tunnel_ctl()
1172 parms->iph.frag_off = htons(IP_DF); in ipgre_netlink_parms()
1183 && (parms->iph.frag_off & htons(IP_DF))) in ipgre_netlink_parms()
1528 !!(p->iph.frag_off & htons(IP_DF))) || in ipgre_fill_info()
A 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()
A Dip_vti.c241 if (!(ip_hdr(skb)->frag_off & htons(IP_DF))) in vti_xmit()
/linux/net/ipv4/netfilter/
A Dnf_dup_ipv4.c81 iph->frag_off |= htons(IP_DF); in nf_dup_ipv4()
A Dnf_reject_ipv4.c178 niph->frag_off = htons(IP_DF); in nf_reject_iphdr_put()
/linux/net/xfrm/
A Dxfrm_inout.h30 XFRM_MODE_SKB_CB(skb)->frag_off = htons(IP_DF); in xfrm6_extract_header()
A Dxfrm_output.c307 0 : (XFRM_MODE_SKB_CB(skb)->frag_off & htons(IP_DF)); in xfrm4_tunnel_encap_add()
755 if (!(ip_hdr(skb)->frag_off & htons(IP_DF)) || skb->ignore_df) in xfrm4_tunnel_check_size()
A Dxfrm_interface.c309 if (!(ip_hdr(skb)->frag_off & htons(IP_DF))) in xfrmi_xmit2()
/linux/net/ipv6/
A Dsit.c1266 p->iph.ihl != 5 || (p->iph.frag_off & htons(~IP_DF))) in __ipip6_tunnel_ioctl_validate()
1270 p->iph.frag_off |= htons(IP_DF); in __ipip6_tunnel_ioctl_validate()
1526 parms->iph.frag_off = htons(IP_DF); in ipip6_netlink_parms()
1533 parms->iph.frag_off = htons(IP_DF); in ipip6_netlink_parms()
1765 !!(parm->iph.frag_off & htons(IP_DF))) || in ipip6_fill_info()
/linux/drivers/infiniband/hw/ocrdma/
A Docrdma_ah.c131 ipv4.frag_off = htons(IP_DF); in set_av_attr()
/linux/drivers/net/
A Dgeneve.c942 df = key->tun_flags & TUNNEL_DONT_FRAGMENT ? htons(IP_DF) : 0; in geneve_xmit_skb()
952 df = htons(IP_DF); in geneve_xmit_skb()
957 df = htons(IP_DF); in geneve_xmit_skb()
961 if (iph->frag_off & htons(IP_DF)) in geneve_xmit_skb()
962 df = htons(IP_DF); in geneve_xmit_skb()
A Dbareudp.c315 df = key->tun_flags & TUNNEL_DONT_FRAGMENT ? htons(IP_DF) : 0; in bareudp_xmit_skb()
/linux/include/net/
A Dip.h136 #define IP_DF 0x4000 /* Flag: "Don't Fragment" */ macro
528 if ((iph->frag_off & htons(IP_DF)) && !skb->ignore_df) { in ip_select_ident_segs()
/linux/net/netfilter/
A Dnfnetlink_osf.c181 ctx->df = ntohs(ip->frag_off) & IP_DF; in nf_osf_hdr_ctx_init()
A Dnf_log_syslog.c326 if (ntohs(ih->frag_off) & IP_DF) in dump_ipv4_packet()
/linux/net/netfilter/ipvs/
A 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()
/linux/drivers/infiniband/sw/rxe/
A Drxe_net.c301 __be16 df = htons(IP_DF); in prepare4()
/linux/drivers/net/ppp/
A Dpptp.c228 iph->frag_off = htons(IP_DF); in pptp_xmit()
/linux/drivers/infiniband/hw/qedr/
A Dqedr_roce_cm.c471 udh->ip4.frag_off = htons(IP_DF); in qedr_gsi_build_header()

Completed in 61 milliseconds

12