Lines Matching full:mtu
189 void ip6_update_pmtu(struct sk_buff *skb, struct net *net, __be32 mtu, int oif,
191 void ip6_sk_update_pmtu(struct sk_buff *skb, struct sock *sk, __be32 mtu);
207 void rt6_mtu_change(struct net_device *dev, unsigned int mtu);
274 unsigned int mtu; in ip6_skb_dst_mtu() local
277 mtu = READ_ONCE(dst->dev->mtu); in ip6_skb_dst_mtu()
278 mtu -= lwtunnel_headroom(dst->lwtstate, mtu); in ip6_skb_dst_mtu()
280 mtu = dst_mtu(dst); in ip6_skb_dst_mtu()
282 return mtu; in ip6_skb_dst_mtu()
330 unsigned int mtu; in ip6_dst_mtu_maybe_forward() local
333 mtu = dst_metric_raw(dst, RTAX_MTU); in ip6_dst_mtu_maybe_forward()
334 if (mtu) in ip6_dst_mtu_maybe_forward()
338 mtu = IPV6_MIN_MTU; in ip6_dst_mtu_maybe_forward()
342 mtu = READ_ONCE(idev->cnf.mtu6); in ip6_dst_mtu_maybe_forward()
346 return mtu - lwtunnel_headroom(dst->lwtstate, mtu); in ip6_dst_mtu_maybe_forward()