diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-04-15 01:58:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-15 12:44:40 -0400 |
commit | 95c961747284a6b83a5e2d81240e214b0fa3464d (patch) | |
tree | c7be86a00db3605a48a03109fafcbe31039ca2e0 /net/dccp/dccp.h | |
parent | 5e73ea1a31c3612aa6dfe44f864ca5b7b6a4cff9 (diff) |
net: cleanup unsigned to unsigned int
Use of "unsigned int" is preferred to bare "unsigned" in net tree.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index 29d6bb629a6c..9040be049d8c 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h | |||
@@ -75,7 +75,7 @@ extern void dccp_time_wait(struct sock *sk, int state, int timeo); | |||
75 | * state, about 60 seconds */ | 75 | * state, about 60 seconds */ |
76 | 76 | ||
77 | /* RFC 1122, 4.2.3.1 initial RTO value */ | 77 | /* RFC 1122, 4.2.3.1 initial RTO value */ |
78 | #define DCCP_TIMEOUT_INIT ((unsigned)(3 * HZ)) | 78 | #define DCCP_TIMEOUT_INIT ((unsigned int)(3 * HZ)) |
79 | 79 | ||
80 | /* | 80 | /* |
81 | * The maximum back-off value for retransmissions. This is needed for | 81 | * The maximum back-off value for retransmissions. This is needed for |
@@ -84,7 +84,7 @@ extern void dccp_time_wait(struct sock *sk, int state, int timeo); | |||
84 | * - feature-negotiation retransmission (sec. 6.6.3), | 84 | * - feature-negotiation retransmission (sec. 6.6.3), |
85 | * - Acks in client-PARTOPEN state (sec. 8.1.5). | 85 | * - Acks in client-PARTOPEN state (sec. 8.1.5). |
86 | */ | 86 | */ |
87 | #define DCCP_RTO_MAX ((unsigned)(64 * HZ)) | 87 | #define DCCP_RTO_MAX ((unsigned int)(64 * HZ)) |
88 | 88 | ||
89 | /* | 89 | /* |
90 | * RTT sampling: sanity bounds and fallback RTT value from RFC 4340, section 3.4 | 90 | * RTT sampling: sanity bounds and fallback RTT value from RFC 4340, section 3.4 |
@@ -287,9 +287,9 @@ extern struct sock *dccp_check_req(struct sock *sk, struct sk_buff *skb, | |||
287 | extern int dccp_child_process(struct sock *parent, struct sock *child, | 287 | extern int dccp_child_process(struct sock *parent, struct sock *child, |
288 | struct sk_buff *skb); | 288 | struct sk_buff *skb); |
289 | extern int dccp_rcv_state_process(struct sock *sk, struct sk_buff *skb, | 289 | extern int dccp_rcv_state_process(struct sock *sk, struct sk_buff *skb, |
290 | struct dccp_hdr *dh, unsigned len); | 290 | struct dccp_hdr *dh, unsigned int len); |
291 | extern int dccp_rcv_established(struct sock *sk, struct sk_buff *skb, | 291 | extern int dccp_rcv_established(struct sock *sk, struct sk_buff *skb, |
292 | const struct dccp_hdr *dh, const unsigned len); | 292 | const struct dccp_hdr *dh, const unsigned int len); |
293 | 293 | ||
294 | extern int dccp_init_sock(struct sock *sk, const __u8 ctl_sock_initialized); | 294 | extern int dccp_init_sock(struct sock *sk, const __u8 ctl_sock_initialized); |
295 | extern void dccp_destroy_sock(struct sock *sk); | 295 | extern void dccp_destroy_sock(struct sock *sk); |