Lines Matching refs:mtu
183 void ip6_update_pmtu(struct sk_buff *skb, struct net *net, __be32 mtu, int oif,
185 void ip6_sk_update_pmtu(struct sk_buff *skb, struct sock *sk, __be32 mtu);
201 void rt6_mtu_change(struct net_device *dev, unsigned int mtu);
266 unsigned int mtu; in ip6_skb_dst_mtu() local
272 mtu = READ_ONCE(skb_dst(skb)->dev->mtu); in ip6_skb_dst_mtu()
273 mtu -= lwtunnel_headroom(skb_dst(skb)->lwtstate, mtu); in ip6_skb_dst_mtu()
275 mtu = dst_mtu(skb_dst(skb)); in ip6_skb_dst_mtu()
277 return mtu; in ip6_skb_dst_mtu()
320 unsigned int mtu; in ip6_dst_mtu_forward() local
323 mtu = dst_metric_raw(dst, RTAX_MTU); in ip6_dst_mtu_forward()
324 if (mtu) in ip6_dst_mtu_forward()
328 mtu = IPV6_MIN_MTU; in ip6_dst_mtu_forward()
332 mtu = idev->cnf.mtu6; in ip6_dst_mtu_forward()
336 return mtu - lwtunnel_headroom(dst->lwtstate, mtu); in ip6_dst_mtu_forward()