msghdr 939 ext/sockets/conversions.c struct msghdr *msg = (struct msghdr*)msghdr_c; msghdr 1022 ext/sockets/conversions.c struct msghdr *msg = (struct msghdr *)msghdr_c; msghdr 1061 ext/sockets/conversions.c struct msghdr *msghdr = (struct msghdr *)msghdr_c; msghdr 1065 ext/sockets/conversions.c msghdr->msg_name = sockaddr; msghdr 1066 ext/sockets/conversions.c msghdr->msg_namelen = sockaddr_len; msghdr 1080 ext/sockets/conversions.c struct msghdr *msghdr = (struct msghdr *)msghdr_c; msghdr 1093 ext/sockets/conversions.c msghdr->msg_iovlen = 1; msghdr 1094 ext/sockets/conversions.c msghdr->msg_iov = accounted_emalloc(sizeof(*msghdr->msg_iov) * 1, ctx); msghdr 1095 ext/sockets/conversions.c msghdr->msg_iov[0].iov_base = accounted_emalloc((size_t)lval, ctx); msghdr 1096 ext/sockets/conversions.c msghdr->msg_iov[0].iov_len = (size_t)lval; msghdr 1100 ext/sockets/conversions.c struct msghdr *msg = args[0]; msghdr 1116 ext/sockets/conversions.c struct msghdr *msg = (struct msghdr*)msghdr_c; msghdr 1135 ext/sockets/conversions.c struct msghdr *msghdr = (struct msghdr *)msghdr_c; msghdr 1146 ext/sockets/conversions.c msghdr->msg_control = accounted_emalloc(len, ctx); msghdr 1147 ext/sockets/conversions.c msghdr->msg_controllen = len; msghdr 1182 ext/sockets/conversions.c struct msghdr *msghdr = (struct msghdr *)msghdr_c; msghdr 1199 ext/sockets/conversions.c if (msghdr->msg_iovlen == 0) { msghdr 1200 ext/sockets/conversions.c msghdr->msg_iovlen = 1; msghdr 1201 ext/sockets/conversions.c msghdr->msg_iov = accounted_emalloc(sizeof(*msghdr->msg_iov) * 1, ctx); msghdr 1202 ext/sockets/conversions.c msghdr->msg_iov[0].iov_base = accounted_emalloc((size_t)DEFAULT_BUFF_SIZE, ctx); msghdr 1203 ext/sockets/conversions.c msghdr->msg_iov[0].iov_len = (size_t)DEFAULT_BUFF_SIZE; msghdr 1209 ext/sockets/conversions.c const struct msghdr *msghdr = (const struct msghdr *)msghdr_c; msghdr 1210 ext/sockets/conversions.c size_t iovlen = msghdr->msg_iovlen; msghdr 1230 ext/sockets/conversions.c size_t len = MIN(msghdr->msg_iov[i].iov_len, (size_t)bytes_left); msghdr 1234 ext/sockets/conversions.c memcpy(buf, msghdr->msg_iov[i].iov_base, len); msghdr 1245 ext/sockets/conversions.c {"name", sizeof("name"), 0, offsetof(struct msghdr, msg_name), 0, to_zval_read_name}, msghdr 1248 ext/sockets/conversions.c {"flags", sizeof("flags"), 0, offsetof(struct msghdr, msg_flags), 0, to_zval_read_int}, msghdr 65 ext/sockets/sendrecvmsg.c return WSASendMsg((SOCKET)sockfd, (struct msghdr*)msg, (DWORD)flags, &sent, NULL, NULL) == 0 msghdr 170 ext/sockets/sendrecvmsg.c struct msghdr *msghdr; msghdr 185 ext/sockets/sendrecvmsg.c msghdr = from_zval_run_conversions(zmsg, php_sock, from_zval_write_msghdr_send, msghdr 186 ext/sockets/sendrecvmsg.c sizeof(*msghdr), "msghdr", &allocations, &err); msghdr 193 ext/sockets/sendrecvmsg.c res = sendmsg(php_sock->bsd_socket, msghdr, (int)flags); msghdr 213 ext/sockets/sendrecvmsg.c struct msghdr *msghdr; msghdr 228 ext/sockets/sendrecvmsg.c msghdr = from_zval_run_conversions(zmsg, php_sock, from_zval_write_msghdr_recv, msghdr 229 ext/sockets/sendrecvmsg.c sizeof(*msghdr), "msghdr", &allocations, &err); msghdr 236 ext/sockets/sendrecvmsg.c res = recvmsg(php_sock->bsd_socket, msghdr, (int)flags); msghdr 246 ext/sockets/sendrecvmsg.c zres = to_zval_run_conversions((char *)msghdr, to_zval_read_msghdr, msghdr 250 ext/sockets/sendrecvmsg.c msghdr = NULL;