diff options
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r-- | net/ipv4/tcp_output.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 25ff62e35a6..b3f6f099b1a 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c | |||
@@ -247,6 +247,7 @@ void tcp_select_initial_window(int __space, __u32 mss, | |||
247 | /* Set the clamp no higher than max representable value */ | 247 | /* Set the clamp no higher than max representable value */ |
248 | (*window_clamp) = min(65535U << (*rcv_wscale), *window_clamp); | 248 | (*window_clamp) = min(65535U << (*rcv_wscale), *window_clamp); |
249 | } | 249 | } |
250 | EXPORT_SYMBOL(tcp_select_initial_window); | ||
250 | 251 | ||
251 | /* Chose a new window to advertise, update state in tcp_sock for the | 252 | /* Chose a new window to advertise, update state in tcp_sock for the |
252 | * socket, and return result with RFC1323 scaling applied. The return | 253 | * socket, and return result with RFC1323 scaling applied. The return |
@@ -1189,6 +1190,7 @@ void tcp_mtup_init(struct sock *sk) | |||
1189 | icsk->icsk_mtup.search_low = tcp_mss_to_mtu(sk, sysctl_tcp_base_mss); | 1190 | icsk->icsk_mtup.search_low = tcp_mss_to_mtu(sk, sysctl_tcp_base_mss); |
1190 | icsk->icsk_mtup.probe_size = 0; | 1191 | icsk->icsk_mtup.probe_size = 0; |
1191 | } | 1192 | } |
1193 | EXPORT_SYMBOL(tcp_mtup_init); | ||
1192 | 1194 | ||
1193 | /* This function synchronize snd mss to current pmtu/exthdr set. | 1195 | /* This function synchronize snd mss to current pmtu/exthdr set. |
1194 | 1196 | ||
@@ -1232,6 +1234,7 @@ unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu) | |||
1232 | 1234 | ||
1233 | return mss_now; | 1235 | return mss_now; |
1234 | } | 1236 | } |
1237 | EXPORT_SYMBOL(tcp_sync_mss); | ||
1235 | 1238 | ||
1236 | /* Compute the current effective MSS, taking SACKs and IP options, | 1239 | /* Compute the current effective MSS, taking SACKs and IP options, |
1237 | * and even PMTU discovery events into account. | 1240 | * and even PMTU discovery events into account. |
@@ -2514,6 +2517,7 @@ struct sk_buff *tcp_make_synack(struct sock *sk, struct dst_entry *dst, | |||
2514 | 2517 | ||
2515 | return skb; | 2518 | return skb; |
2516 | } | 2519 | } |
2520 | EXPORT_SYMBOL(tcp_make_synack); | ||
2517 | 2521 | ||
2518 | /* Do all connect socket setups that can be done AF independent. */ | 2522 | /* Do all connect socket setups that can be done AF independent. */ |
2519 | static void tcp_connect_init(struct sock *sk) | 2523 | static void tcp_connect_init(struct sock *sk) |
@@ -2616,6 +2620,7 @@ int tcp_connect(struct sock *sk) | |||
2616 | inet_csk(sk)->icsk_rto, TCP_RTO_MAX); | 2620 | inet_csk(sk)->icsk_rto, TCP_RTO_MAX); |
2617 | return 0; | 2621 | return 0; |
2618 | } | 2622 | } |
2623 | EXPORT_SYMBOL(tcp_connect); | ||
2619 | 2624 | ||
2620 | /* Send out a delayed ack, the caller does the policy checking | 2625 | /* Send out a delayed ack, the caller does the policy checking |
2621 | * to see if we should even be here. See tcp_input.c:tcp_ack_snd_check() | 2626 | * to see if we should even be here. See tcp_input.c:tcp_ack_snd_check() |
@@ -2820,10 +2825,3 @@ void tcp_send_probe0(struct sock *sk) | |||
2820 | TCP_RTO_MAX); | 2825 | TCP_RTO_MAX); |
2821 | } | 2826 | } |
2822 | } | 2827 | } |
2823 | |||
2824 | EXPORT_SYMBOL(tcp_select_initial_window); | ||
2825 | EXPORT_SYMBOL(tcp_connect); | ||
2826 | EXPORT_SYMBOL(tcp_make_synack); | ||
2827 | EXPORT_SYMBOL(tcp_simple_retransmit); | ||
2828 | EXPORT_SYMBOL(tcp_sync_mss); | ||
2829 | EXPORT_SYMBOL(tcp_mtup_init); | ||