diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2006-03-21 01:01:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 01:01:03 -0500 |
commit | c4d9390941aee136fd35bb38eb1d6de4e3b1487d (patch) | |
tree | fcaf0032ba5971145b5f527b8635cd7aa3a39d8c /include/net/inet_connection_sock.h | |
parent | 72478873571d869906f7a250b09e12fa5b65e321 (diff) |
[ICSK]: Introduce inet_csk_ctl_sock_create
Consolidating open coded sequences in tcp and dccp, v4 and v6.
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet_connection_sock.h')
-rw-r--r-- | include/net/inet_connection_sock.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h index 4e5a9ff99fc3..363a067403ee 100644 --- a/include/net/inet_connection_sock.h +++ b/include/net/inet_connection_sock.h | |||
@@ -321,4 +321,8 @@ extern void inet_csk_listen_stop(struct sock *sk); | |||
321 | 321 | ||
322 | extern void inet_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr); | 322 | extern void inet_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr); |
323 | 323 | ||
324 | extern int inet_csk_ctl_sock_create(struct socket **sock, | ||
325 | unsigned short family, | ||
326 | unsigned short type, | ||
327 | unsigned char protocol); | ||
324 | #endif /* _INET_CONNECTION_SOCK_H */ | 328 | #endif /* _INET_CONNECTION_SOCK_H */ |