Home
last modified time | relevance | path

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

/linux-3.4.99/include/net/
Dip.h75 #define IP_DF 0x4000 /* Flag: "Don't Fragment" */ macro
273 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()
/linux-3.4.99/net/ipv4/
Dxfrm4_output.c29 if (!(ip_hdr(skb)->frag_off & htons(IP_DF)) || skb->local_df) in xfrm4_tunnel_check_size()
Dxfrm4_mode_tunnel.c56 0 : (XFRM_MODE_SKB_CB(skb)->frag_off & htons(IP_DF)); in xfrm4_mode_tunnel_output()
Dipip.c478 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()
Dip_forward.c44 return unlikely((ip_hdr(skb)->frag_off & htons(IP_DF)) == 0) || in ip_may_fragment()
Dip_gre.c806 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()
Dip_output.c157 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()
Dipconfig.c795 h->frag_off = htons(IP_DF); in ic_bootp_send_if()
Digmp.c340 pip->frag_off = htons(IP_DF); in igmpv3_newpack()
685 iph->frag_off = htons(IP_DF); in igmp_send_report()
Daf_inet.c1362 flush = (u16)((ntohl(*(__be32 *)iph) ^ skb_gro_len(skb)) | (id ^ IP_DF)); in inet_gro_receive()
Dipmr.c1646 if (skb->len+encap > dst_mtu(&rt->dst) && (ntohs(iph->frag_off) & IP_DF)) { in ipmr_queue_xmit()
/linux-3.4.99/net/netfilter/ipvs/
Dip_vs_xmit.c410 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()
/linux-3.4.99/net/ipv4/netfilter/
Dipt_REJECT.c78 niph->frag_off = htons(IP_DF); in send_reset()
/linux-3.4.99/net/ipv6/
Dxfrm6_state.c162 XFRM_MODE_SKB_CB(skb)->frag_off = htons(IP_DF); in xfrm6_extract_header()
Dsit.c953 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()
/linux-3.4.99/net/netfilter/
Dxt_TEE.c120 iph->frag_off |= htons(IP_DF); in tee_tg4()
Dxt_osf.c216 df = ntohs(ip->frag_off) & IP_DF; in xt_osf_match_packet()
Dxt_LOG.c183 if (ntohs(ih->frag_off) & IP_DF) in dump_ipv4_packet()
/linux-3.4.99/drivers/net/ppp/
Dpptp.c268 iph->frag_off = htons(IP_DF); in pptp_xmit()
/linux-3.4.99/net/bridge/
Dbr_multicast.c383 iph->frag_off = htons(IP_DF); in br_ip4_multicast_alloc_query()