Searched refs:cmsgLen (Results 1 – 1 of 1) sorted by relevance
263 static bool SendMsgCtlToSocket(int sockfd, const void *cmsg, const int cmsgLen) in SendMsgCtlToSocket() argument265 if ((sockfd < 0) || (cmsg == nullptr) || (cmsgLen == 0)) { in SendMsgCtlToSocket()278 int controlBufLen = CMSG_SPACE(static_cast<unsigned int>(cmsgLen)); in SendMsgCtlToSocket()287 cmsgh->cmsg_len = CMSG_LEN(cmsgLen); in SendMsgCtlToSocket()289 if (memcpy_s(CMSG_DATA(cmsgh), cmsgLen, cmsg, cmsgLen) != 0) { in SendMsgCtlToSocket()