Searched refs:IP_DF (Results 1 – 20 of 20) sorted by relevance
75 #define IP_DF 0x4000 /* Flag: "Don't Fragment" */ macro273 if ((iph->frag_off & htons(IP_DF)) && !skb->local_df) { in ip_select_ident()289 if ((iph->frag_off & htons(IP_DF)) && !skb->local_df) { in ip_select_ident_more()
29 if (!(ip_hdr(skb)->frag_off & htons(IP_DF)) || skb->local_df) in xfrm4_tunnel_check_size()
56 0 : (XFRM_MODE_SKB_CB(skb)->frag_off & htons(IP_DF)); in xfrm4_mode_tunnel_output()
478 df |= old_iph->frag_off & htons(IP_DF); in ipip_tunnel_xmit()492 if ((old_iph->frag_off & htons(IP_DF)) && in ipip_tunnel_xmit()642 p.iph.ihl != 5 || (p.iph.frag_off&htons(~IP_DF))) in ipip_tunnel_ioctl()645 p.iph.frag_off |= htons(IP_DF); in ipip_tunnel_ioctl()
44 return unlikely((ip_hdr(skb)->frag_off & htons(IP_DF)) == 0) || in ip_may_fragment()
806 df |= (old_iph->frag_off&htons(IP_DF)); in ipgre_tunnel_xmit()808 if ((old_iph->frag_off&htons(IP_DF)) && in ipgre_tunnel_xmit()1034 p.iph.ihl != 5 || (p.iph.frag_off&htons(~IP_DF)) || in ipgre_tunnel_ioctl()1038 p.iph.frag_off |= htons(IP_DF); in ipgre_tunnel_ioctl()1482 parms->iph.frag_off = htons(IP_DF); in ipgre_netlink_parms()1666 NLA_PUT_U8(skb, IFLA_GRE_PMTUDISC, !!(p->iph.frag_off & htons(IP_DF))); in ipgre_fill_info()
157 iph->frag_off = htons(IP_DF); in ip_build_and_send_pkt()392 iph->frag_off = htons(IP_DF); in ip_queue_xmit()479 if (unlikely((iph->frag_off & htons(IP_DF)) && !skb->local_df)) { in ip_fragment()1335 df = htons(IP_DF); in __ip_make_skb()
795 h->frag_off = htons(IP_DF); in ic_bootp_send_if()
340 pip->frag_off = htons(IP_DF); in igmpv3_newpack()685 iph->frag_off = htons(IP_DF); in igmp_send_report()
1362 flush = (u16)((ntohl(*(__be32 *)iph) ^ skb_gro_len(skb)) | (id ^ IP_DF)); in inet_gro_receive()
1646 if (skb->len+encap > dst_mtu(&rt->dst) && (ntohs(iph->frag_off) & IP_DF)) { in ipmr_queue_xmit()
410 if ((skb->len > mtu) && (iph->frag_off & htons(IP_DF)) && in ip_vs_bypass_xmit()568 if ((skb->len > mtu) && (iph->frag_off & htons(IP_DF)) && in ip_vs_nat_xmit()802 df |= (old_iph->frag_off & htons(IP_DF)); in ip_vs_tunnel_xmit()804 if ((old_iph->frag_off & htons(IP_DF) && in ip_vs_tunnel_xmit()1026 if ((iph->frag_off & htons(IP_DF)) && skb->len > mtu && in ip_vs_dr_xmit()1201 if ((skb->len > mtu) && (ip_hdr(skb)->frag_off & htons(IP_DF)) && in ip_vs_icmp_xmit()
78 niph->frag_off = htons(IP_DF); in send_reset()
162 XFRM_MODE_SKB_CB(skb)->frag_off = htons(IP_DF); in xfrm6_extract_header()
953 p.iph.ihl != 5 || (p.iph.frag_off&htons(~IP_DF))) in ipip6_tunnel_ioctl()956 p.iph.frag_off |= htons(IP_DF); in ipip6_tunnel_ioctl()
120 iph->frag_off |= htons(IP_DF); in tee_tg4()
216 df = ntohs(ip->frag_off) & IP_DF; in xt_osf_match_packet()
183 if (ntohs(ih->frag_off) & IP_DF) in dump_ipv4_packet()
268 iph->frag_off = htons(IP_DF); in pptp_xmit()
383 iph->frag_off = htons(IP_DF); in br_ip4_multicast_alloc_query()