Lines Matching full:socket

58 /** zsock_poll: Invalid socket (output value only) */
66 /** zsock_recv: Read data without removing it from socket input queue */
98 * @defgroup secure_sockets_options Socket options for TLS
104 * @name Socket options for TLS
109 * Here, the same socket protocol level for TLS as in Linux was used.
113 /** Socket option to select TLS credentials to use. It accepts and returns an
115 * specific socket.
118 /** Write-only socket option to set hostname. It accepts a string containing
123 /** Socket option to select ciphersuites to use. It accepts and returns an array
125 * If not set, socket will allow all ciphersuites available in the system
129 /** Read-only socket option to read a ciphersuite chosen during TLS handshake.
134 /** Write-only socket option to set peer verification level for TLS connection.
141 * If not set, socket will use mbedTLS defaults (none for servers, required
145 /** Write-only socket option to set role for DTLS connection. This option
154 /** Socket option for setting the supported Application Layer Protocols.
160 /** Socket option to set DTLS min handshake timeout. The timeout starts at min,
166 /** Socket option to set DTLS max handshake timeout. The timeout starts at min,
172 /** Socket option for preventing certificates from being copied to the mbedTLS
177 /** TLS socket option to use with offloading. The option instructs the network
179 * operation is handled by a native TLS/DTLS socket implementation from Zephyr.
181 * Note, that this option is only applicable if socket dispatcher is used
183 * In such case, it should be the first socket option set on a newly created
184 * socket. After that, the application may use SO_BINDTODEVICE to choose the
185 * dedicated network interface for the underlying TCP/UDP socket.
188 /** Socket option to control TLS session caching on a socket. Accepted values:
193 /** Write-only socket option to purge session cache immediately.
197 /** Write-only socket option to control DTLS CID.
200 * Effective when set before connecting to the socket.
209 /** Read-only socket option to get DTLS CID status.
219 /** Socket option to set or get the value of the DTLS connection ID to be
224 /** Read-only socket option to get the value of the DTLS connection ID
231 /** Socket option to configure DTLS socket behavior on connect().
235 * UDP socket) and will not attempt to execute DTLS handshake. The handshake
280 int ai_socktype; /**< Socket type, for example SOCK_STREAM or SOCK_DGRAM */
283 socklen_t ai_addrlen; /**< Length of the socket address */
297 * must apply to socket file descriptors. When a socket is opened, by default
302 * underlying object associated with a network socket file descriptor with
326 * @return pointer to associated network socket object, or NULL if the
332 * @brief Create a network socket
336 * http://pubs.opengroup.org/onlinepubs/9699919799/functions/socket.html
338 * This function is also exposed as `socket()`
361 * @brief Close a network socket
364 * Close a network socket.
372 * @brief Shutdown socket send/receive operations
385 * @brief Bind a socket to a local network address
398 * @brief Connect a socket to a peer network address
411 * @brief Set up a STREAM socket to accept peer connections
423 * @brief Accept a connection on listening socket
520 * @brief Control blocking/non-blocking mode of a socket
523 * This functions allow to (only) configure a socket for blocking or
553 * @brief Control underlying socket parameters
559 * This function enables querying or manipulating underlying socket parameters.
604 * @brief Get various socket options
610 * socket options described by POSIX, but also some additional options
620 * @brief Set various socket options
626 * socket options described by POSIX, but also some additional options
649 * @brief Get socket name
825 * @name Socket level options (SOL_SOCKET)
828 /** Socket-level option */
831 /* Socket options for SOL_SOCKET level */
837 /** Type of the socket */
846 /** Size of socket send buffer */
848 /** Size of socket recv buffer */
855 /** Socket priority */
857 /** Socket lingers on close (ignored, for compatibility) */
875 /** Bind a socket to an interface */
878 /** Socket accepts incoming connections (ignored, for compatibility) */
884 /** Protocol used with the socket */
887 /** Domain used with SOCKET */
890 /** Enable SOCKS5 for Socket */
893 /** Socket TX time (when the data should be sent) */
895 /** Socket TX time (same as SO_TXTIME) */
904 * This can be enabled via socket option or control messages.
916 /* Socket options for IPPROTO_TCP level */
932 /* Socket options for IPPROTO_IP level */
948 * Used as ancillary data when calling recvmsg() and IP_PKTINFO socket
957 /** Retrieve the current known path MTU of the current socket. Returns an
959 * the socket has been connected.
989 /** Clamp down the global port range for a given socket */
998 /* Socket options for IPPROTO_IPV6 level */
999 /** Set the unicast hop limit for the socket. */
1002 /** Set multicast output network interface index for the socket. */
1005 /** Set the multicast hop limit for the socket. */
1031 /** For getsockopt(), retrieve the current known IPv6 path MTU of the given socket.
1032 * Valid only when the socket has been connected.
1033 * For setsockopt(), set the MTU to be used for the socket. The MTU is limited by
1071 * Used as ancillary data when calling recvmsg() and IPV6_RECVPKTINFO socket
1133 * @brief Registration information for a given BSD socket family.
1141 /* Store also the name of the socket type in order to be able to
1184 #include <zephyr/syscalls/socket.h>
1190 /* Avoid circular loops with POSIX socket headers.
1193 * zephyr/net/socket.h header file.
1212 #include <zephyr/posix/sys/socket.h>