Lines Matching +full:permission +full:- +full:flags
9 * Copyright (c) 2017-2018 Linaro Limited
12 * SPDX-License-Identifier: Apache-2.0
75 /** zsock_recv/zsock_send: Override operation to non-blocking */
85 /* Well-known values, e.g. from Linux man 2 shutdown:
118 /** Write-only socket option to set hostname. It accepts a string containing
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.
137 * - 0 - none
138 * - 1 - optional
139 * - 2 - required
145 /** Write-only socket option to set role for DTLS connection. This option
150 * - 0 - client
151 * - 1 - server
189 * - 0 - Disabled.
190 * - 1 - Enabled.
193 /** Write-only socket option to purge session cache immediately.
197 /** Write-only socket option to control DTLS CID.
201 * - 0 - DTLS CID will be disabled.
202 * - 1 - DTLS CID will be enabled, and a 0 length CID value to be sent to the
204 * - 2 - DTLS CID will be enabled, and the most recent value set with
209 /** Read-only socket option to get DTLS CID status.
213 * - 0 - DTLS CID is disabled.
214 * - 1 - DTLS CID is received on the downlink.
215 * - 2 - DTLS CID is sent to the uplink.
216 * - 3 - DTLS CID is used in both directions.
224 /** Read-only socket option to get the value of the DTLS connection ID
282 int ai_eflags; /**< Extended flags for special usage */
296 * With CONFIG_USERSPACE enabled, the kernel's object permission system
298 * only the caller has permission, access by other threads will fail unless
299 * they have been specifically granted permission.
315 * However in Zephyr the file descriptor scope is global, and MPU-based systems
316 * are not able to implement a process-like model due to the lack of memory
322 * used to make permission assignment calls, which follow exactly the rules
327 * file descriptor wasn't valid or the caller had no access permission
335 * See POSIX.1-2017 article
352 * See POSIX.1-2017 article
375 * See POSIX.1-2017 article
388 * See POSIX.1-2017 article
401 * See POSIX.1-2017 article
414 * See POSIX.1-2017 article
426 * See POSIX.1-2017 article
438 * See POSIX.1-2017 article
445 int flags, const struct sockaddr *dest_addr,
452 * See POSIX.1-2017 article
459 int flags) in zsock_send() argument
461 return zsock_sendto(sock, buf, len, flags, NULL, 0); in zsock_send()
468 * See POSIX.1-2017 article
475 int flags);
481 * See POSIX.1-2017 article
488 int flags, struct sockaddr *src_addr,
495 * See POSIX.1-2017 article
501 __syscall ssize_t zsock_recvmsg(int sock, struct msghdr *msg, int flags);
507 * See POSIX.1-2017 article
514 int flags) in zsock_recv() argument
516 return zsock_recvfrom(sock, buf, max_len, flags, NULL, NULL); in zsock_recv()
520 * @brief Control blocking/non-blocking mode of a socket
524 * non-blocking operation (O_NONBLOCK).
529 __syscall int zsock_fcntl_impl(int sock, int cmd, int flags);
540 int flags; in zsock_fcntl_wrapper() local
543 flags = va_arg(args, int); in zsock_fcntl_wrapper()
545 return zsock_fcntl_impl(sock, cmd, flags); in zsock_fcntl_wrapper()
556 * See POSIX.1-2017 article
561 * `ZFD_IOCTL_FIONREAD`, to set non-blocking mode, and query the number of
591 * See POSIX.1-2017 article
607 * See POSIX.1-2017 article
623 * See POSIX.1-2017 article
639 * See POSIX.1-2017 article
652 * See POSIX.1-2017 article
665 * See POSIX.1-2017 article
677 * See POSIX.1-2017 article
693 * See POSIX.1-2017 article
708 /* Flags for getaddrinfo() hints. */
711 * @name Flags for getaddrinfo() hints
728 /** Extra flags present (see RFC 5014) */
736 * See POSIX.1-2017 article
750 * See POSIX.1-2017 article
762 * See POSIX.1-2017 article
771 * @name Flags for getnameinfo()
797 * See POSIX.1-2017 article
805 char *serv, socklen_t servlen, int flags);
828 /** Socket-level option */
851 /** Enable sending keep-alive messages on connections */
853 /** Place out-of-band data into receive stream (ignored, for compatibility) */
898 /** Timestamp generation flags */
933 /** Set or receive the Type-Of-Service value for an outgoing packet. */
936 /** Set or receive the Time-To-Live value for an outgoing packet. */
1059 /** Prefer Care-of address as source. Ignored in Zephyr. */
1065 /** Prefer non-CGA address as source. Ignored in Zephyr. */
1195 * Additionally, if non-zephyr-prefixed headers are used here,