Lines Matching refs:mtu
386 rel_info = ntohs(skb->h.icmph->un.frag.mtu); in ipip_err()
536 int mtu; in ipip_tunnel_xmit() local
572 mtu = rt->u.dst.pmtu - sizeof(struct iphdr); in ipip_tunnel_xmit()
574 mtu = skb->dst ? skb->dst->pmtu : dev->mtu; in ipip_tunnel_xmit()
576 if (mtu < 68) { in ipip_tunnel_xmit()
581 if (skb->dst && mtu < skb->dst->pmtu) in ipip_tunnel_xmit()
582 skb->dst->pmtu = mtu; in ipip_tunnel_xmit()
586 if ((old_iph->frag_off&htons(IP_DF)) && mtu < ntohs(old_iph->tot_len)) { in ipip_tunnel_xmit()
587 icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, htonl(mtu)); in ipip_tunnel_xmit()
778 dev->mtu = new_mtu; in ipip_tunnel_change_mtu()
795 dev->mtu = 1500 - sizeof(struct iphdr); in ipip_tunnel_init_gen()
828 dev->mtu = tdev->mtu - sizeof(struct iphdr); in ipip_tunnel_init()