diff options
author | Dmitry Yakunin <zeil@yandex-team.ru> | 2020-06-20 18:30:51 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-06-24 11:21:03 -0700 |
commit | aad4a0a9513af962137c4842463d11ed491eec37 (patch) | |
tree | aeced4846c8207e005ca98ff0ca36e9ddfe78e66 /include/linux/tcp.h | |
parent | dfde1d7dee9bfd095a4f16c9e0579a10f4092e81 (diff) | |
download | lwn-aad4a0a9513af962137c4842463d11ed491eec37.tar.gz lwn-aad4a0a9513af962137c4842463d11ed491eec37.zip |
tcp: Expose tcp_sock_set_keepidle_locked
This is preparation for usage in bpf_setsockopt.
v2:
- remove redundant EXPORT_SYMBOL (Alexei Starovoitov)
Signed-off-by: Dmitry Yakunin <zeil@yandex-team.ru>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200620153052.9439-2-zeil@yandex-team.ru
Diffstat (limited to 'include/linux/tcp.h')
-rw-r--r-- | include/linux/tcp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h index 9aac824c523c..3bdec31ce8f4 100644 --- a/include/linux/tcp.h +++ b/include/linux/tcp.h @@ -499,6 +499,7 @@ int tcp_skb_shift(struct sk_buff *to, struct sk_buff *from, int pcount, void tcp_sock_set_cork(struct sock *sk, bool on); int tcp_sock_set_keepcnt(struct sock *sk, int val); +int tcp_sock_set_keepidle_locked(struct sock *sk, int val); int tcp_sock_set_keepidle(struct sock *sk, int val); int tcp_sock_set_keepintvl(struct sock *sk, int val); void tcp_sock_set_nodelay(struct sock *sk); |