Home
last modified time | relevance | path

Searched refs:sock_flags (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_tls.c796 int sock_flags = zsock_fcntl(sock, F_GETFL, 0); in is_blocking() local
798 if (sock_flags == -1) { in is_blocking()
802 return !((flags & ZSOCK_MSG_DONTWAIT) || (sock_flags & O_NONBLOCK)); in is_blocking()
2143 int sock_flags; in ztls_connect_ctx() local
2146 sock_flags = zsock_fcntl(ctx->sock, F_GETFL, 0); in ztls_connect_ctx()
2147 if (sock_flags < 0) { in ztls_connect_ctx()
2151 is_non_block = sock_flags & O_NONBLOCK; in ztls_connect_ctx()
2154 sock_flags & ~O_NONBLOCK); in ztls_connect_ctx()
2163 (void)zsock_fcntl(ctx->sock, F_SETFL, sock_flags); in ztls_connect_ctx()
/Zephyr-latest/drivers/net/
Dnsos_sockets.c610 int sock_flags; in nsos_poll_if_blocking() local
616 sock_flags = nsos_adapt_fcntl_getfl(sock->poll.mid.fd); in nsos_poll_if_blocking()
617 non_blocking = sock_flags & NSOS_MID_O_NONBLOCK; in nsos_poll_if_blocking()