[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>
This commit is contained in:
committed by
David S. Miller
parent
7247887357
commit
c4d9390941
@@ -321,4 +321,8 @@ extern void inet_csk_listen_stop(struct sock *sk);
|
||||
|
||||
extern void inet_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr);
|
||||
|
||||
extern int inet_csk_ctl_sock_create(struct socket **sock,
|
||||
unsigned short family,
|
||||
unsigned short type,
|
||||
unsigned char protocol);
|
||||
#endif /* _INET_CONNECTION_SOCK_H */
|
||||
|
Reference in New Issue
Block a user