Lines Matching refs:msghdr
38 #define msghdr _WSAMSG macro
42 inline ssize_t recvmsg(int sockfd, struct msghdr *msg, int flags) in recvmsg()
62 inline ssize_t sendmsg(int sockfd, const struct msghdr *msg, int flags) in sendmsg()
65 return WSASendMsg((SOCKET)sockfd, (struct msghdr*)msg, (DWORD)flags, &sent, NULL, NULL) == 0 in sendmsg()
172 struct msghdr *msghdr; in PHP_FUNCTION() local
189 msghdr = from_zval_run_conversions(zmsg, php_sock, from_zval_write_msghdr_send, in PHP_FUNCTION()
190 sizeof(*msghdr), "msghdr", &allocations, &err); in PHP_FUNCTION()
197 res = sendmsg(php_sock->bsd_socket, msghdr, (int)flags); in PHP_FUNCTION()
216 struct msghdr *msghdr; in PHP_FUNCTION() local
233 msghdr = from_zval_run_conversions(zmsg, php_sock, from_zval_write_msghdr_recv, in PHP_FUNCTION()
234 sizeof(*msghdr), "msghdr", &allocations, &err); in PHP_FUNCTION()
241 res = recvmsg(php_sock->bsd_socket, msghdr, (int)flags); in PHP_FUNCTION()
251 zres = to_zval_run_conversions((char *)msghdr, to_zval_read_msghdr, in PHP_FUNCTION()
255 msghdr = NULL; in PHP_FUNCTION()