Lines Matching refs:mtu
643 int mtu; in ip_vs_bypass_xmit() local
654 mtu = rt->u.dst.pmtu; in ip_vs_bypass_xmit()
655 if ((skb->len > mtu) && (iph->frag_off&__constant_htons(IP_DF))) { in ip_vs_bypass_xmit()
657 icmp_send(skb, ICMP_DEST_UNREACH,ICMP_FRAG_NEEDED, htonl(mtu)); in ip_vs_bypass_xmit()
713 int mtu; in ip_vs_nat_xmit() local
780 mtu = rt->u.dst.pmtu; in ip_vs_nat_xmit()
781 if ((skb->len > mtu) && (iph->frag_off&__constant_htons(IP_DF))) { in ip_vs_nat_xmit()
783 icmp_send(skb, ICMP_DEST_UNREACH,ICMP_FRAG_NEEDED, htonl(mtu)); in ip_vs_nat_xmit()
892 int mtu; in ip_vs_tunnel_xmit() local
908 mtu = rt->u.dst.pmtu - sizeof(struct iphdr); in ip_vs_tunnel_xmit()
909 if (mtu < 68) { in ip_vs_tunnel_xmit()
914 if (skb->dst && mtu < skb->dst->pmtu) in ip_vs_tunnel_xmit()
915 skb->dst->pmtu = mtu; in ip_vs_tunnel_xmit()
920 && mtu < ntohs(old_iph->tot_len)) { in ip_vs_tunnel_xmit()
921 icmp_send(skb, ICMP_DEST_UNREACH,ICMP_FRAG_NEEDED, htonl(mtu)); in ip_vs_tunnel_xmit()
999 int mtu; in ip_vs_dr_xmit() local
1007 mtu = rt->u.dst.pmtu; in ip_vs_dr_xmit()
1008 if ((iph->frag_off&__constant_htons(IP_DF)) && skb->len > mtu) { in ip_vs_dr_xmit()
1009 icmp_send(skb, ICMP_DEST_UNREACH,ICMP_FRAG_NEEDED, htonl(mtu)); in ip_vs_dr_xmit()