/linux-2.4.37.9/net/sctp/ |
D | transport.c | 230 transport->pmtu = dst_pmtu(dst); in sctp_transport_pmtu() 233 transport->pmtu = SCTP_DEFAULT_MAXSEGMENT; in sctp_transport_pmtu() 256 transport->pmtu = dst_pmtu(dst); in sctp_transport_route() 264 transport->pmtu = SCTP_DEFAULT_MAXSEGMENT; in sctp_transport_route() 354 __u32 cwnd, ssthresh, flight_size, pba, pmtu; in sctp_transport_raise_cwnd() local 369 pmtu = transport->asoc->pmtu; in sctp_transport_raise_cwnd() 383 if (bytes_acked > pmtu) in sctp_transport_raise_cwnd() 384 cwnd += pmtu; in sctp_transport_raise_cwnd() 410 cwnd += pmtu; in sctp_transport_raise_cwnd() 441 4*transport->asoc->pmtu); in sctp_transport_lower_cwnd() [all …]
|
D | associola.c | 113 asoc->pmtu = 0; in sctp_association_init() 464 if (asoc->pmtu) in sctp_assoc_add_peer() 465 asoc->pmtu = min_t(int, peer->pmtu, asoc->pmtu); in sctp_assoc_add_peer() 467 asoc->pmtu = peer->pmtu; in sctp_assoc_add_peer() 470 "%d\n", asoc, asoc->pmtu); in sctp_assoc_add_peer() 472 asoc->frag_point = sctp_frag_point(sp, asoc->pmtu); in sctp_assoc_add_peer() 490 peer->cwnd = min(4*asoc->pmtu, max_t(__u32, 2*asoc->pmtu, 4380)); in sctp_assoc_add_peer() 1064 __u32 pmtu = 0; in sctp_assoc_sync_pmtu() local 1072 if (!pmtu || (t->pmtu < pmtu)) in sctp_assoc_sync_pmtu() 1073 pmtu = t->pmtu; in sctp_assoc_sync_pmtu() [all …]
|
D | output.c | 222 size_t pmtu; in sctp_packet_append_chunk() local 234 pmtu = ((packet->transport->asoc) ? in sctp_packet_append_chunk() 235 (packet->transport->asoc->pmtu) : in sctp_packet_append_chunk() 236 (packet->transport->pmtu)); in sctp_packet_append_chunk() 238 too_big = (psize + chunk_len > pmtu); in sctp_packet_append_chunk() 576 max_burst_bytes = asoc->max_burst * asoc->pmtu; in sctp_packet_append_data() 621 if (len < asoc->pmtu - packet->overhead) { in sctp_packet_append_data()
|
D | input.c | 276 struct sctp_transport *t, __u32 pmtu) in sctp_icmp_frag_needed() argument 278 if (unlikely(pmtu < SCTP_DEFAULT_MINSEGMENT)) { in sctp_icmp_frag_needed() 280 "using default minimum of %d\n", __FUNCTION__, pmtu, in sctp_icmp_frag_needed() 282 pmtu = SCTP_DEFAULT_MINSEGMENT; in sctp_icmp_frag_needed() 285 if (!sock_owned_by_user(sk) && t && (t->pmtu != pmtu)) { in sctp_icmp_frag_needed() 286 t->pmtu = pmtu; in sctp_icmp_frag_needed()
|
/linux-2.4.37.9/net/ipv6/ |
D | route.c | 860 rt->u.dst.pmtu = ipv6_get_mtu(dev); in ip6_route_add() 861 rt->u.dst.advmss = max_t(unsigned int, rt->u.dst.pmtu - 60, ip6_rt_min_advmss); in ip6_route_add() 1019 nrt->u.dst.pmtu = ipv6_get_mtu(neigh->dev); in rt6_redirect() 1020 nrt->u.dst.advmss = max_t(unsigned int, nrt->u.dst.pmtu - 60, ip6_rt_min_advmss); in rt6_redirect() 1044 struct net_device *dev, u32 pmtu) in rt6_pmtu_discovery() argument 1048 if (pmtu < IPV6_MIN_MTU) { in rt6_pmtu_discovery() 1051 pmtu); in rt6_pmtu_discovery() 1056 pmtu = IPV6_MIN_MTU; in rt6_pmtu_discovery() 1064 if (pmtu >= rt->u.dst.pmtu) in rt6_pmtu_discovery() 1079 rt->u.dst.pmtu = pmtu; in rt6_pmtu_discovery() [all …]
|
D | ip6_output.c | 243 if (skb->len <= dst->pmtu) { in ip6_xmit() 251 icmpv6_send(skb, ICMPV6_PKT_TOOBIG, 0, dst->pmtu, skb->dev); in ip6_xmit() 606 mtu = dst->pmtu; in ip6_build_xmit() 802 if (skb->len > dst->pmtu) { in ip6_forward() 805 icmpv6_send(skb, ICMPV6_PKT_TOOBIG, 0, dst->pmtu, skb->dev); in ip6_forward()
|
D | sit.c | 516 mtu = rt->u.dst.pmtu - sizeof(struct iphdr); in ipip6_tunnel_xmit() 518 mtu = skb->dst ? skb->dst->pmtu : dev->mtu; in ipip6_tunnel_xmit() 527 if (skb->dst && mtu < skb->dst->pmtu) { in ipip6_tunnel_xmit() 529 if (mtu < rt6->u.dst.pmtu) { in ipip6_tunnel_xmit() 532 rt6->u.dst.pmtu = mtu; in ipip6_tunnel_xmit()
|
/linux-2.4.37.9/net/ipv4/netfilter/ |
D | ipt_TCPMSS.c | 88 if((*pskb)->dst->pmtu <= (sizeof(struct iphdr) + sizeof(struct tcphdr))) { in ipt_tcpmss_target() 91 "ipt_tcpmss_target: unknown or invalid path-MTU (%d)\n", (*pskb)->dst->pmtu); in ipt_tcpmss_target() 95 newmss = (*pskb)->dst->pmtu - sizeof(struct iphdr) - sizeof(struct tcphdr); in ipt_tcpmss_target()
|
D | ipt_REJECT.c | 175 if (nskb->len > nskb->dst->pmtu) in send_reset() 261 if (length > rt->u.dst.pmtu) in send_unreach() 262 length = rt->u.dst.pmtu; in send_unreach()
|
D | ip_conntrack_standalone.c | 210 if ((*pskb)->len > rt->u.dst.pmtu) { in ip_refrag()
|
/linux-2.4.37.9/net/ipv4/ |
D | ipip.c | 447 if (rel_info > skb2->dst->pmtu) { in ipip_err() 451 skb2->dst->pmtu = rel_info; in ipip_err() 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() 581 if (skb->dst && mtu < skb->dst->pmtu) in ipip_tunnel_xmit() 582 skb->dst->pmtu = mtu; in ipip_tunnel_xmit()
|
D | ip_gre.c | 516 if (rel_info > skb2->dst->pmtu) { in ipgre_err() 520 skb2->dst->pmtu = rel_info; in ipgre_err() 758 mtu = rt->u.dst.pmtu - tunnel->hlen; in ipgre_tunnel_xmit() 760 mtu = skb->dst ? skb->dst->pmtu : dev->mtu; in ipgre_tunnel_xmit() 763 if (skb->dst && mtu < skb->dst->pmtu && mtu >= 68) in ipgre_tunnel_xmit() 764 skb->dst->pmtu = mtu; in ipgre_tunnel_xmit() 779 if (rt6 && mtu < rt6->u.dst.pmtu && mtu >= IPV6_MIN_MTU) { in ipgre_tunnel_xmit() 783 skb->dst->pmtu = mtu; in ipgre_tunnel_xmit()
|
D | ip_output.c | 316 if (skb->len > rt->u.dst.pmtu) in ip_queue_xmit2() 333 skb->len, rt->u.dst.pmtu)); in ip_queue_xmit2() 336 htonl(rt->u.dst.pmtu)); in ip_queue_xmit2() 460 mtu = rt->u.dst.pmtu; in ip_build_xmit_slow() 675 if (length > rt->u.dst.pmtu || ipc->opt != NULL) in ip_build_xmit() 787 mtu = rt->u.dst.pmtu - hlen; /* Size of data space */ in ip_fragment()
|
D | route.c | 1141 old_mtu >= rth->u.dst.pmtu && in ip_rt_frag_needed() 1147 if (mtu <= rth->u.dst.pmtu) { in ip_rt_frag_needed() 1148 if (mtu < rth->u.dst.pmtu) { in ip_rt_frag_needed() 1155 rth->u.dst.pmtu = mtu; in ip_rt_frag_needed() 1170 if (dst->pmtu > mtu && mtu >= 68 && in ip_rt_update_pmtu() 1176 dst->pmtu = mtu; in ip_rt_update_pmtu() 1276 rt->u.dst.pmtu = rt->u.dst.dev->mtu; in rt_set_nexthop() 1279 rt->u.dst.pmtu > 576) in rt_set_nexthop() 1280 rt->u.dst.pmtu = 576; in rt_set_nexthop() 1286 rt->u.dst.pmtu = rt->u.dst.dev->mtu; in rt_set_nexthop() [all …]
|
D | ip_forward.c | 111 mtu = rt->u.dst.pmtu; in ip_forward()
|
D | tcp_output.c | 523 int tcp_sync_mss(struct sock *sk, u32 pmtu) in tcp_sync_mss() argument 532 mss_now = pmtu - tp->af_specific->net_header_len - sizeof(struct tcphdr); in tcp_sync_mss() 553 tp->pmtu_cookie = pmtu; in tcp_sync_mss() 1201 tcp_sync_mss(sk, dst->pmtu); in tcp_connect_init()
|
D | tcp_ipv4.c | 951 if (mtu < dst->pmtu && ip_dont_fragment(sk, dst)) in do_pmtu_discovery() 955 tp->pmtu_cookie > dst->pmtu) { in do_pmtu_discovery() 956 tcp_sync_mss(sk, dst->pmtu); in do_pmtu_discovery() 1573 tcp_sync_mss(newsk, dst->pmtu); in tcp_v4_syn_recv_sock()
|
/linux-2.4.37.9/include/net/sctp/ |
D | compat.h | 65 #define dst_pmtu(x) ((x)->pmtu)
|
D | sctp.h | 179 struct sctp_transport *t, __u32 pmtu); 435 static inline int sctp_frag_point(const struct sctp_opt *sp, int pmtu) in sctp_frag_point() argument 437 int frag = pmtu; in sctp_frag_point()
|
D | structs.h | 816 __u32 pmtu; member 1523 __u32 pmtu; member
|
/linux-2.4.37.9/include/net/ |
D | dst.h | 40 unsigned pmtu; member
|
D | ip6_route.h | 84 u32 pmtu);
|
D | ip.h | 166 if (skb->len > skb->dst->pmtu) in ip_send()
|
D | tcp.h | 856 extern int tcp_sync_mss(struct sock *sk, u32 pmtu); 943 if (dst && dst->pmtu != tp->pmtu_cookie) in tcp_current_mss() 944 mss_now = tcp_sync_mss(sk, dst->pmtu); in tcp_current_mss()
|
/linux-2.4.37.9/net/ipv4/ipvs/ |
D | ip_vs_conn.c | 654 mtu = rt->u.dst.pmtu; in ip_vs_bypass_xmit() 780 mtu = rt->u.dst.pmtu; in ip_vs_nat_xmit() 908 mtu = rt->u.dst.pmtu - sizeof(struct iphdr); in ip_vs_tunnel_xmit() 914 if (skb->dst && mtu < skb->dst->pmtu) in ip_vs_tunnel_xmit() 915 skb->dst->pmtu = mtu; in ip_vs_tunnel_xmit() 1007 mtu = rt->u.dst.pmtu; in ip_vs_dr_xmit()
|