Lines Matching refs:optlen
754 const void *optval, socklen_t optlen, struct cred *cr) in so_setsockopt() argument
761 return (sof_setsockopt(so, option_name, optval, optlen, cr)); in so_setsockopt()
764 SOP_SETSOCKOPT(so, level, option_name, optval, optlen, cr)); in so_setsockopt()
776 (void *)optval, &optlen, cr)) >= 0) in so_setsockopt()
793 if (optlen != sizeof (struct timeval)) { in so_setsockopt()
800 if (optlen != sizeof (struct timeval32)) { in so_setsockopt()
808 optlen = sizeof (tl); in so_setsockopt()
830 (so->so_proto_handle, level, option_name, opt, optlen, cr); in so_setsockopt()
1746 t_uscalar_t optlen; in so_recvmsg() local
1762 optlen = tpr->unitdata_ind.OPT_length; in so_recvmsg()
1763 if (optlen != 0) { in so_recvmsg()
1771 optlen, __TPI_ALIGN_SIZE); in so_recvmsg()
1780 so_getopt_srcaddr(opt, optlen, &addr, &addrlen); in so_recvmsg()
1781 ncontrollen = so_cmsglen(mctlp, opt, optlen, in so_recvmsg()
1814 error = so_opt2cmsg(mctlp, opt, optlen, flags, control, in so_recvmsg()
1835 t_uscalar_t optlen; in so_recvmsg() local
1838 optlen = tdr->OPT_length; in so_recvmsg()
1839 if (optlen != 0) { in so_recvmsg()
1845 tpr->optdata_ind.OPT_offset, optlen, in so_recvmsg()
1855 ncontrollen = so_cmsglen(mctlp, opt, optlen, in so_recvmsg()
1873 error = so_opt2cmsg(mctlp, opt, optlen, flags, control, in so_recvmsg()