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()
184 struct msghdr *msghdr; in PHP_FUNCTION() local
199 msghdr = from_zval_run_conversions(zmsg, php_sock, from_zval_write_msghdr_send, in PHP_FUNCTION()
200 sizeof(*msghdr), "msghdr", &allocations, &err); in PHP_FUNCTION()
207 res = sendmsg(php_sock->bsd_socket, msghdr, (int)flags); in PHP_FUNCTION()
226 struct msghdr *msghdr; in PHP_FUNCTION() local
240 msghdr = from_zval_run_conversions(zmsg, php_sock, from_zval_write_msghdr_recv, in PHP_FUNCTION()
241 sizeof(*msghdr), "msghdr", &allocations, &err); in PHP_FUNCTION()
248 res = recvmsg(php_sock->bsd_socket, msghdr, (int)flags); in PHP_FUNCTION()
258 zres = to_zval_run_conversions((char *)msghdr, to_zval_read_msghdr, in PHP_FUNCTION()
262 msghdr = NULL; in PHP_FUNCTION()