Deleted Added
full compact
sctp_bindx.3 (202176) sctp_bindx.3 (233648)
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" From: @(#)send.2 8.2 (Berkeley) 2/21/94
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" From: @(#)send.2 8.2 (Berkeley) 2/21/94
33.\" $FreeBSD: head/lib/libc/net/sctp_bindx.3 202176 2010-01-12 21:45:03Z brueffer $
33.\" $FreeBSD: head/lib/libc/net/sctp_bindx.3 233648 2012-03-29 05:02:12Z eadler $
34.\"
35.Dd December 15, 2006
36.Dt SCTP_BINDX 3
37.Os
38.Sh NAME
39.Nm sctp_bindx
40.Nd bind or unbind an SCTP socket to a list of addresses.
41.Sh LIBRARY

--- 8 unchanged lines hidden (view full) ---

50The
51.Fn sctp_bindx
52call binds or unbinds a address or a list of addresses to an
53SCTP endpoint.
54This allows a user to bind a subset of
55addresses.
56The
57.Fn sctp_bindx
34.\"
35.Dd December 15, 2006
36.Dt SCTP_BINDX 3
37.Os
38.Sh NAME
39.Nm sctp_bindx
40.Nd bind or unbind an SCTP socket to a list of addresses.
41.Sh LIBRARY

--- 8 unchanged lines hidden (view full) ---

50The
51.Fn sctp_bindx
52call binds or unbinds a address or a list of addresses to an
53SCTP endpoint.
54This allows a user to bind a subset of
55addresses.
56The
57.Fn sctp_bindx
58call operates similarly to
58call operates similarly to
59.Fn bind
60but allows a list of addresses and also allows a bind or an
61unbind.
62The argument
63.Fa s
64must be a valid SCTP socket descriptor.
65The argument
66.Fa addrs

--- 26 unchanged lines hidden (view full) ---

93function can return the following errors:
94.Bl -tag -width Er
95.It Bq Er EINVAL
96This value is returned if the
97.Fa type
98field is not one of the allowed values (see above).
99.It Bq Er ENOMEM
100This value is returned if the number of addresses
59.Fn bind
60but allows a list of addresses and also allows a bind or an
61unbind.
62The argument
63.Fa s
64must be a valid SCTP socket descriptor.
65The argument
66.Fa addrs

--- 26 unchanged lines hidden (view full) ---

93function can return the following errors:
94.Bl -tag -width Er
95.It Bq Er EINVAL
96This value is returned if the
97.Fa type
98field is not one of the allowed values (see above).
99.It Bq Er ENOMEM
100This value is returned if the number of addresses
101being added causes a memory allocation failure in
101being added causes a memory allocation failure in
102the call.
103.It Bq Er EBADF
104The argument
105.Fa s
106is not a valid descriptor.
107.It Bq Er ENOTSOCK
108The argument
109.Fa s
110is not a socket.
111.El
112.Sh SEE ALSO
113.Xr bind 2 ,
114.Xr sctp 4
102the call.
103.It Bq Er EBADF
104The argument
105.Fa s
106is not a valid descriptor.
107.It Bq Er ENOTSOCK
108The argument
109.Fa s
110is not a socket.
111.El
112.Sh SEE ALSO
113.Xr bind 2 ,
114.Xr sctp 4