13 #include <linux/dccp.h>
15 #include <linux/export.h>
24 static void dccp_write_err(
struct sock *
sk)
35 static int dccp_write_timeout(
struct sock *
sk)
42 dst_negative_advice(sk);
67 dst_negative_advice(sk);
87 static void dccp_retransmit_timer(
struct sock *sk)
95 if (dccp_write_timeout(sk))
128 static void dccp_write_timer(
unsigned long data)
130 struct sock *sk = (
struct sock *)data;
138 jiffies + (
HZ / 20));
156 dccp_retransmit_timer(sk);
167 static void dccp_response_timer(
struct sock *sk)
173 static void dccp_keepalive_timer(
unsigned long data)
175 struct sock *sk = (
struct sock *)data;
186 dccp_response_timer(sk);
195 static void dccp_delack_timer(
unsigned long data)
197 struct sock *sk = (
struct sock *)data;
221 if (inet_csk_ack_scheduled(sk)) {
245 static void dccp_write_xmitlet(
unsigned long data)
247 struct sock *sk = (
struct sock *)data;
257 static void dccp_write_xmit_timer(
unsigned long data)
259 dccp_write_xmitlet(data);
260 sock_put((
struct sock *)data);
271 &dccp_keepalive_timer);
274 static ktime_t dccp_timestamp_seed;