diff options
author | Arnaldo Carvalho de Melo <acme@ghostprotocols.net> | 2007-08-19 20:16:35 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:48:13 -0400 |
commit | 9823b7b5542858afe5b6a1e2df83b3847c28f3d6 (patch) | |
tree | 14be62612143fbcec66cd1b28a1d76564c578453 /net/dccp/dccp.h | |
parent | a272378d1128d1c60a463a315646c86d174ff74c (diff) |
[DCCP]: Convert dccp_sample_rtt to ktime_t
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index e2d74cd7eeeb..20a7bedfe996 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h | |||
@@ -13,6 +13,7 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <linux/dccp.h> | 15 | #include <linux/dccp.h> |
16 | #include <linux/ktime.h> | ||
16 | #include <net/snmp.h> | 17 | #include <net/snmp.h> |
17 | #include <net/sock.h> | 18 | #include <net/sock.h> |
18 | #include <net/tcp.h> | 19 | #include <net/tcp.h> |
@@ -296,8 +297,8 @@ extern int dccp_v4_connect(struct sock *sk, struct sockaddr *uaddr, | |||
296 | extern int dccp_send_reset(struct sock *sk, enum dccp_reset_codes code); | 297 | extern int dccp_send_reset(struct sock *sk, enum dccp_reset_codes code); |
297 | extern void dccp_send_close(struct sock *sk, const int active); | 298 | extern void dccp_send_close(struct sock *sk, const int active); |
298 | extern int dccp_invalid_packet(struct sk_buff *skb); | 299 | extern int dccp_invalid_packet(struct sk_buff *skb); |
299 | extern u32 dccp_sample_rtt(struct sock *sk, struct timeval *t_recv, | 300 | extern u32 dccp_sample_rtt(struct sock *sk, ktime_t t_recv, |
300 | struct timeval *t_history); | 301 | ktime_t *t_history); |
301 | 302 | ||
302 | static inline int dccp_bad_service_code(const struct sock *sk, | 303 | static inline int dccp_bad_service_code(const struct sock *sk, |
303 | const __be32 service) | 304 | const __be32 service) |