Searched refs:IPV6_MIN_MTU (Results 1 – 10 of 10) sorted by relevance
525 if (mtu < IPV6_MIN_MTU) in ipip6_tunnel_xmit()526 mtu = IPV6_MIN_MTU; in ipip6_tunnel_xmit()584 if (mtu > IPV6_MIN_MTU) in ipip6_tunnel_xmit()729 if (new_mtu < IPV6_MIN_MTU || new_mtu > 0xFFF8 - sizeof(struct iphdr)) in ipip6_tunnel_change_mtu()782 if (dev->mtu < IPV6_MIN_MTU) in ipip6_tunnel_init()783 dev->mtu = IPV6_MIN_MTU; in ipip6_tunnel_init()
120 IPV6_MIN_MTU, /* mtu */134 IPV6_MIN_MTU, /* mtu */280 if (dev->mtu < IPV6_MIN_MTU) in ipv6_add_dev()1437 if (idev->cnf.mtu6 != dev->mtu && dev->mtu >= IPV6_MIN_MTU) { in addrconf_notify()1444 if (dev->mtu < IPV6_MIN_MTU) in addrconf_notify()1450 if ( idev && dev->mtu >= IPV6_MIN_MTU) { in addrconf_notify()
79 int ip6_rt_min_advmss = IPV6_MIN_MTU - 20 - 40;688 int mtu = IPV6_MIN_MTU; in ipv6_get_mtu()1048 if (pmtu < IPV6_MIN_MTU) { in rt6_pmtu_discovery()1056 pmtu = IPV6_MIN_MTU; in rt6_pmtu_discovery()
1066 if (mtu < IPV6_MIN_MTU || mtu > skb->dev->mtu) { in ndisc_router_discovery()1235 IPV6_MIN_MTU-sizeof(struct ipv6hdr)-len, skb->len + 8); in ndisc_send_redirect()
357 len = min_t(unsigned int, len, IPV6_MIN_MTU - sizeof(struct ipv6hdr)); in icmpv6_send()
502 if (val && val < IPV6_MIN_MTU) in ipv6_setsockopt()
611 mtu = IPV6_MIN_MTU; in ip6_build_xmit()
699 tp->mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - sizeof(struct ipv6hdr); in tcp_v6_connect()1201 tp.mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - sizeof(struct ipv6hdr); in tcp_v6_conn_request()
9 #define IPV6_MIN_MTU 1280 macro
779 if (rt6 && mtu < rt6->u.dst.pmtu && mtu >= IPV6_MIN_MTU) { in ipgre_tunnel_xmit()787 if (mtu >= IPV6_MIN_MTU && mtu < skb->len - tunnel->hlen + gre_hlen) { in ipgre_tunnel_xmit()