• Home
  • Raw
  • Download

Lines Matching refs:mtu

174 	       skb->dst->dev->mtu : dst_mtu(skb->dst);  in ip6_skb_dst_mtu()
209 u32 mtu; in ip6_xmit() local
276 mtu = dst_mtu(dst); in ip6_xmit()
277 if ((skb->len <= mtu) || skb->local_df || skb_is_gso(skb)) { in ip6_xmit()
287 icmpv6_send(skb, ICMPV6_PKT_TOOBIG, 0, mtu, skb->dev); in ip6_xmit()
630 unsigned int mtu, hlen, left, len; in ip6_fragment() local
639 mtu = ip6_skb_dst_mtu(skb); in ip6_fragment()
647 icmpv6_send(skb, ICMPV6_PKT_TOOBIG, 0, mtu, skb->dev); in ip6_fragment()
654 if (np && np->frag_size < mtu) { in ip6_fragment()
656 mtu = np->frag_size; in ip6_fragment()
658 mtu -= hlen + sizeof(struct frag_hdr); in ip6_fragment()
664 if (first_len - hlen > mtu || in ip6_fragment()
671 if (frag->len > mtu || in ip6_fragment()
798 if (len > mtu) in ip6_fragment()
799 len = mtu; in ip6_fragment()
1051 int transhdrlen, int mtu,unsigned int flags) in ip6_ufo_append_data() argument
1091 skb_shinfo(skb)->gso_size = mtu - fragheaderlen - in ip6_ufo_append_data()
1132 int mtu; in ip6_append_data() local
1183 mtu = np->pmtudisc == IPV6_PMTUDISC_PROBE ? in ip6_append_data()
1184 rt->u.dst.dev->mtu : dst_mtu(rt->u.dst.path); in ip6_append_data()
1185 if (np->frag_size < mtu) { in ip6_append_data()
1187 mtu = np->frag_size; in ip6_append_data()
1189 inet->cork.fragsize = mtu; in ip6_append_data()
1205 mtu = inet->cork.fragsize; in ip6_append_data()
1212 maxfraglen = ((mtu - fragheaderlen) & ~7) + fragheaderlen - sizeof(struct frag_hdr); in ip6_append_data()
1214 if (mtu <= sizeof(struct ipv6hdr) + IPV6_MAXPLEN) { in ip6_append_data()
1216 ipv6_local_error(sk, EMSGSIZE, fl, mtu-exthdrlen); in ip6_append_data()
1238 if (((length > mtu) && (sk->sk_protocol == IPPROTO_UDP)) && in ip6_append_data()
1242 fragheaderlen, transhdrlen, mtu, in ip6_append_data()
1254 …copy = (inet->cork.length <= mtu && !(inet->cork.flags & IPCORK_ALLFRAG) ? mtu : maxfraglen) - skb… in ip6_append_data()
1279 …if (datalen > (inet->cork.length <= mtu && !(inet->cork.flags & IPCORK_ALLFRAG) ? mtu : maxfraglen… in ip6_append_data()
1285 alloclen = mtu; in ip6_append_data()