Lines Matching refs:msghdr
40 #define msghdr _WSAMSG macro
44 inline ssize_t recvmsg(int sockfd, struct msghdr *msg, int flags) in recvmsg()
64 inline ssize_t sendmsg(int sockfd, const struct msghdr *msg, int flags) in sendmsg()
67 return WSASendMsg((SOCKET)sockfd, (struct msghdr*)msg, (DWORD)flags, &sent, NULL, NULL) == 0 in sendmsg()
178 struct msghdr *msghdr; in PHP_FUNCTION() local
193 msghdr = from_zval_run_conversions(zmsg, php_sock, from_zval_write_msghdr_send, in PHP_FUNCTION()
194 sizeof(*msghdr), "msghdr", &allocations, &err); in PHP_FUNCTION()
201 res = sendmsg(php_sock->bsd_socket, msghdr, (int)flags); in PHP_FUNCTION()
220 struct msghdr *msghdr; in PHP_FUNCTION() local
234 msghdr = from_zval_run_conversions(zmsg, php_sock, from_zval_write_msghdr_recv, in PHP_FUNCTION()
235 sizeof(*msghdr), "msghdr", &allocations, &err); in PHP_FUNCTION()
242 res = recvmsg(php_sock->bsd_socket, msghdr, (int)flags); in PHP_FUNCTION()
252 zres = to_zval_run_conversions((char *)msghdr, to_zval_read_msghdr, in PHP_FUNCTION()
256 msghdr = NULL; in PHP_FUNCTION()