aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/inet_timewait_sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/inet_timewait_sock.h')
-rw-r--r--include/net/inet_timewait_sock.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/inet_timewait_sock.h b/include/net/inet_timewait_sock.h
index a7e8052e2fbf..3b070352e869 100644
--- a/include/net/inet_timewait_sock.h
+++ b/include/net/inet_timewait_sock.h
@@ -82,6 +82,10 @@ struct inet_timewait_death_row {
82 int sysctl_max_tw_buckets; 82 int sysctl_max_tw_buckets;
83}; 83};
84 84
85extern void inet_twdr_hangman(unsigned long data);
86extern void inet_twdr_twkill_work(void *data);
87extern void inet_twdr_twcal_tick(unsigned long data);
88
85#if (BITS_PER_LONG == 64) 89#if (BITS_PER_LONG == 64)
86#define INET_TIMEWAIT_ADDRCMP_ALIGN_BYTES 8 90#define INET_TIMEWAIT_ADDRCMP_ALIGN_BYTES 8
87#else 91#else
@@ -206,4 +210,10 @@ extern void __inet_twsk_kill(struct inet_timewait_sock *tw,
206extern void __inet_twsk_hashdance(struct inet_timewait_sock *tw, 210extern void __inet_twsk_hashdance(struct inet_timewait_sock *tw,
207 struct sock *sk, 211 struct sock *sk,
208 struct inet_hashinfo *hashinfo); 212 struct inet_hashinfo *hashinfo);
213
214extern void inet_twsk_schedule(struct inet_timewait_sock *tw,
215 struct inet_timewait_death_row *twdr,
216 const int timeo, const int timewait_len);
217extern void inet_twsk_deschedule(struct inet_timewait_sock *tw,
218 struct inet_timewait_death_row *twdr);
209#endif /* _INET_TIMEWAIT_SOCK_ */ 219#endif /* _INET_TIMEWAIT_SOCK_ */