• Home
  • Raw
  • Download

Lines Matching +full:multi +full:- +full:socket

1 .. SPDX-License-Identifier: GPL-2.0
11 --------------
29 Passes the ``@ep`` and ``@chunk->skb`` of the association INIT packet to the
33 @ep - pointer to sctp endpoint structure.
34 @skb - pointer to skbuff of association packet.
45 @sk - Pointer to sock structure.
46 @optname - Name of the option to validate.
47 @address - One or more ipv4 / ipv6 addresses.
48 @addrlen - The total length of address(s). This is calculated on each
52 ------------------------------------------------------------------
55 |----------------------------|-----------------------------------|
59 ------------------------------------------------------------------
61 ------------------------------------------------------------------
64 |----------------------------|-----------------------------------|
69 ------------------------------------------------------------------
73 SCTP_SOCKOPT_BINDX_ADD - Allows additional bind addresses to be
77 addresses on a socket.
79 SCTP_SOCKOPT_CONNECTX - Allows the allocation of multiple
81 (multi-homed).
83 on an SCTP socket using multiple
86 SCTP_SENDMSG_CONNECT - Initiate a connection that is generated by a
89 SCTP_PRIMARY_ADDR - Set local primary address.
91 SCTP_SET_PEER_PRIMARY_ADDR - Request peer sets address as
94 SCTP_PARAM_ADD_IP - These are used when Dynamic Address
95 SCTP_PARAM_SET_PRIMARY - Reconfiguration is enabled as explained below.
108 ---------- ------------------
109 SCTP_SOCKOPT_BINDX_ADD -> SCTP_PARAM_ADD_IP
110 SCTP_SET_PEER_PRIMARY_ADDR -> SCTP_PARAM_SET_PRIMARY
115 Called whenever a new socket is created by **accept**\(2)
116 (i.e. a TCP style socket) or when a socket is 'peeled off' e.g userspace
120 @ep - pointer to current sctp endpoint structure.
121 @sk - pointer to current sock structure.
122 @sk - pointer to new sock structure.
129 @sk - pointer to sock structure.
130 @skb - pointer to skbuff of the COOKIE ACK packet.
134 -------------------------------------------------
151 INIT --------------------------------------------->
161 <----------------------------------------------- INIT ACK
165 COOKIE ECHO ------------------------------------------>
169 <------------------------------------------- COOKIE ACK
176 | socket security_sctp_sk_clone() is
177 | called to clone the new socket.
181 ------------------------------------------------------------------
183 ------------------------------------------------------------------
190 --------------
203 Passes the ``@ep`` and ``@chunk->skb`` of the association INIT packet to the
207 @ep - pointer to sctp endpoint structure.
208 @skb - pointer to skbuff of association packet.
211 IF this is the first association on ``@ep->base.sk``, then set the peer
213 assigned to ``@ep->base.sk`` that may support multiple associations.
215 ELSE validate the ``@ep->base.sk peer_sid`` against the ``@skb peer sid``
218 Set the sctp ``@ep sid`` to socket's sid (from ``ep->base.sk``) with
220 TCP style sockets and peeled off connections as they cause a new socket
224 options are set on the socket.
232 ------------------------------------------------------------------
235 |----------------------------|-----------------------------------|
239 ------------------------------------------------------------------
241 ------------------------------------------------------------------
244 |----------------------------|-----------------------------------|
249 ------------------------------------------------------------------
259 Called whenever a new socket is created by **accept**\(2) (i.e. a TCP style
260 socket) or when a socket is 'peeled off' e.g userspace calls
266 @ep - pointer to current sctp endpoint structure.
267 @sk - pointer to current sock structure.
268 @sk - pointer to new sock structure.
276 @sk - pointer to sock structure.
277 @skb - pointer to skbuff of the COOKIE ACK packet.
281 -----------------
285 class sctp_socket inherits socket { node_bind }
298 portcon sctp 1024-1036 system_u:object_r:sctp_ports_t:s0
302 ------------------
303 An SCTP socket will only have one peer label assigned to it. This will be
305 associations on this socket will have their packet peer label compared to
308 socket peer sid against the received packets peer sid to determine whether
316 (multi-homing) on a single socket, it is possible to configure policy
318 socket peer label is determined by the first associations transport
328 label (see **netlabel-config**\(8) helper script for details).
331 set of posts tagged "netlabel" at: https://www.paul-moore.com/blog/t.
333 6) CIPSO is only supported for IPv4 addressing: ``socket(AF_INET, ...)``
334 CALIPSO is only supported for IPv6 addressing: ``socket(AF_INET6, ...)``
341 7) IPSEC is not supported as RFC 3554 - sctp/ipsec support has not been