Lines Matching refs:optval
650 static int map_credentials(int sd, const void *optval, socklen_t optlen) in map_credentials() argument
652 sec_tag_t *sec_tags = (sec_tag_t *)optval; in map_credentials()
706 static int map_credentials(int sd, const void *optval, socklen_t optlen) in map_credentials() argument
716 const void *optval, socklen_t optlen) in simplelink_setsockopt() argument
726 retval = map_credentials(sd, optval, optlen); in simplelink_setsockopt()
735 (const char *)optval, optlen); in simplelink_setsockopt()
738 if (optval) { in simplelink_setsockopt()
749 if (*(uint32_t *)optval != 2U) { in simplelink_setsockopt()
775 if (optval) { in simplelink_setsockopt()
779 if (*(uint32_t *)optval) { in simplelink_setsockopt()
797 retval = sl_SetSockOpt(sd, SL_SOL_SOCKET, optname, optval, in simplelink_setsockopt()
810 void *optval, socklen_t *optlen) in simplelink_getsockopt() argument
835 if (optval) { in simplelink_getsockopt()
836 (*(_u32 *)optval) = TRUE; in simplelink_getsockopt()
853 retval = sl_GetSockOpt(sd, SL_SOL_SOCKET, optname, optval, in simplelink_getsockopt()