• Home
  • Raw
  • Download

Lines Matching refs:_msg

4504   struct msghdr *_msg = (msg); \
4508 _msg->msg_flags = 0; \
4513 _msg->msg_name = _prev_msg->msg_name; \
4514 _msg->msg_namelen = _prev_msg->msg_namelen; \
4518 _msg->msg_namelen = g_socket_address_get_native_size (_message->address); \
4519 _msg->msg_name = g_alloca (_msg->msg_namelen); \
4520 if (!g_socket_address_to_native (_message->address, _msg->msg_name, \
4521 _msg->msg_namelen, _error)) \
4526 _msg->msg_name = NULL; \
4527 _msg->msg_namelen = 0; \
4533 if (sizeof *_msg->msg_iov == sizeof *_message->vectors && \
4534 sizeof _msg->msg_iov->iov_base == sizeof _message->vectors->buffer && \
4537 sizeof _msg->msg_iov->iov_len == sizeof _message->vectors->size && \
4542 _msg->msg_iov = (struct iovec *) _message->vectors; \
4543 _msg->msg_iovlen = _message->num_vectors; \
4550 _msg->msg_iov = g_newa (struct iovec, _message->num_vectors); \
4553 _msg->msg_iov[i].iov_base = (void *) _message->vectors[i].buffer; \
4554 _msg->msg_iov[i].iov_len = _message->vectors[i].size; \
4556 _msg->msg_iovlen = _message->num_vectors; \
4565 _msg->msg_controllen = 0; \
4567_msg->msg_controllen += CMSG_SPACE (g_socket_control_message_get_size (_message->control_messages[…
4569 if (_msg->msg_controllen == 0) \
4570 _msg->msg_control = NULL; \
4573 _msg->msg_control = g_alloca (_msg->msg_controllen); \
4574 memset (_msg->msg_control, '\0', _msg->msg_controllen); \
4577 cmsg = CMSG_FIRSTHDR (_msg); \
4585 cmsg = CMSG_NXTHDR (_msg, cmsg); \
4594 struct msghdr *_msg = (msg); \
4599 _msg->msg_namelen = sizeof (struct sockaddr_storage); \
4600 _msg->msg_name = g_alloca (_msg->msg_namelen); \
4604 _msg->msg_name = NULL; \
4605 _msg->msg_namelen = 0; \
4610 if (sizeof *_msg->msg_iov == sizeof *_message->vectors && \
4611 sizeof _msg->msg_iov->iov_base == sizeof _message->vectors->buffer && \
4614 sizeof _msg->msg_iov->iov_len == sizeof _message->vectors->size && \
4619 _msg->msg_iov = (struct iovec *) _message->vectors; \
4620 _msg->msg_iovlen = _message->num_vectors; \
4627 _msg->msg_iov = g_newa (struct iovec, _message->num_vectors); \
4630 _msg->msg_iov[i].iov_base = _message->vectors[i].buffer; \
4631 _msg->msg_iov[i].iov_len = _message->vectors[i].size; \
4633 _msg->msg_iovlen = _message->num_vectors; \
4639 _msg->msg_controllen = 0; \
4640 _msg->msg_control = NULL; \
4644 _msg->msg_controllen = G_SOCKET_CONTROL_BUFFER_SIZE_BYTES; \
4645 _msg->msg_control = g_alloca (_msg->msg_controllen); \
4649 _msg->msg_flags = _message->flags; \