aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/dccp.h
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-04-03 17:20:52 -0400
committerDavid S. Miller <davem@davemloft.net>2008-04-03 17:20:52 -0400
commit7630f026810a63464e47391ab1e03674c33eb1b8 (patch)
tree05ff3b2f6a750e659de4484c4b825953ecce1659 /net/dccp/dccp.h
parent14c0c8e8e0fb85e7a57e88606c009377746b39d9 (diff)
[DCCP]: Replace socket with sock for reset sending.
Replace dccp_v(4|6)_ctl_socket with sock to unify a code with TCP/ICMP. Signed-off-by: Denis V. Lunev <den@openvz.org> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r--net/dccp/dccp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h
index e1b7c9c6a623..fe7726b0018f 100644
--- a/net/dccp/dccp.h
+++ b/net/dccp/dccp.h
@@ -296,7 +296,7 @@ extern unsigned int dccp_poll(struct file *file, struct socket *sock,
296extern int dccp_v4_connect(struct sock *sk, struct sockaddr *uaddr, 296extern int dccp_v4_connect(struct sock *sk, struct sockaddr *uaddr,
297 int addr_len); 297 int addr_len);
298 298
299extern struct sk_buff *dccp_ctl_make_reset(struct socket *ctl, 299extern struct sk_buff *dccp_ctl_make_reset(struct sock *sk,
300 struct sk_buff *skb); 300 struct sk_buff *skb);
301extern int dccp_send_reset(struct sock *sk, enum dccp_reset_codes code); 301extern int dccp_send_reset(struct sock *sk, enum dccp_reset_codes code);
302extern void dccp_send_close(struct sock *sk, const int active); 302extern void dccp_send_close(struct sock *sk, const int active);