/* The system picks an ephemeral port and choose an address set equivalent to binding with a wildcard address. One of those addresses will be the primary address for the association. This automatically enables the multihoming capability of SCTP.  */
static int sctp_autobind(struct sock *sk)
/* The system picks an ephemeral port and choose an address set equivalent to binding with a wildcard address. One of those addresses will be the primary address for the association. This automatically enables the multihoming capability of SCTP.  */
static int sctp_autobind(struct sock *sk)
{
	union sctp_addr autoaddr;
	struct sctp_af *af;
	__be16 port;
	af = sctp_sk(sk)->pf->af;
	port = htons(inet_sk(sk)->inet_num);
	af->inaddr_any(&autoaddr, port);
	return sctp_do_bind(sk, &autoaddr, af->sockaddr_len);
}