Lines Matching refs:SOL_SOCKET
633 ret = getsockopt(fd, SOL_SOCKET, SO_ERROR, &err, &optlen); in nsos_adapt_getsockopt()
648 ret = getsockopt(fd, SOL_SOCKET, SO_TYPE, &type, &optlen); in nsos_adapt_getsockopt()
666 ret = getsockopt(fd, SOL_SOCKET, SO_PROTOCOL, &proto, &optlen); in nsos_adapt_getsockopt()
684 ret = getsockopt(fd, SOL_SOCKET, SO_DOMAIN, &family, &optlen); in nsos_adapt_getsockopt()
697 return nsos_adapt_getsockopt_int(fd, SOL_SOCKET, SO_RCVBUF, in nsos_adapt_getsockopt()
700 return nsos_adapt_getsockopt_int(fd, SOL_SOCKET, SO_SNDBUF, in nsos_adapt_getsockopt()
703 return nsos_adapt_getsockopt_int(fd, SOL_SOCKET, SO_REUSEADDR, in nsos_adapt_getsockopt()
706 return nsos_adapt_getsockopt_int(fd, SOL_SOCKET, SO_REUSEPORT, in nsos_adapt_getsockopt()
709 return nsos_adapt_getsockopt_int(fd, SOL_SOCKET, SO_LINGER, in nsos_adapt_getsockopt()
712 return nsos_adapt_getsockopt_int(fd, SOL_SOCKET, SO_KEEPALIVE, in nsos_adapt_getsockopt()
766 return nsos_adapt_setsockopt_int(fd, SOL_SOCKET, SO_PRIORITY, in nsos_adapt_setsockopt()
777 ret = setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, in nsos_adapt_setsockopt()
793 ret = setsockopt(fd, SOL_SOCKET, SO_SNDTIMEO, in nsos_adapt_setsockopt()
802 return nsos_adapt_setsockopt_int(fd, SOL_SOCKET, SO_RCVBUF, in nsos_adapt_setsockopt()
805 return nsos_adapt_setsockopt_int(fd, SOL_SOCKET, SO_SNDBUF, in nsos_adapt_setsockopt()
808 return nsos_adapt_setsockopt_int(fd, SOL_SOCKET, SO_REUSEADDR, in nsos_adapt_setsockopt()
811 return nsos_adapt_setsockopt_int(fd, SOL_SOCKET, SO_REUSEPORT, in nsos_adapt_setsockopt()
814 return nsos_adapt_setsockopt_int(fd, SOL_SOCKET, SO_LINGER, in nsos_adapt_setsockopt()
817 return nsos_adapt_setsockopt_int(fd, SOL_SOCKET, SO_KEEPALIVE, in nsos_adapt_setsockopt()