Home
last modified time | relevance | path

Searched refs:msghdr (Results 1 – 3 of 3) sorted by relevance

/PHP-7.4/ext/sockets/
H A Dsendrecvmsg.c38 #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()
172 struct msghdr *msghdr; in PHP_FUNCTION() local
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
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()
[all …]
H A Dconversions.c29 # define msghdr _WSAMSG macro
932 struct msghdr *msg = (struct msghdr*)msghdr_c; in from_zval_write_control_array()
1014 struct msghdr *msg = (struct msghdr *)msghdr_c; in to_zval_read_control_array()
1046 struct msghdr *msghdr = (struct msghdr *)msghdr_c; in from_zval_write_name() local
1065 struct msghdr *msghdr = (struct msghdr *)msghdr_c; in from_zval_write_msghdr_buffer_size() local
1079 msghdr->msg_iov = accounted_emalloc(sizeof(*msghdr->msg_iov) * 1, ctx); in from_zval_write_msghdr_buffer_size()
1099 struct msghdr *msg = (struct msghdr*)msghdr_c; in from_zval_write_iov_array()
1118 struct msghdr *msghdr = (struct msghdr *)msghdr_c; in from_zval_write_controllen() local
1165 struct msghdr *msghdr = (struct msghdr *)msghdr_c; in from_zval_write_msghdr_recv() local
1183 msghdr->msg_iov = accounted_emalloc(sizeof(*msghdr->msg_iov) * 1, ctx); in from_zval_write_msghdr_recv()
[all …]
H A Dsockets.c270 ZEND_ARG_INFO(0, msghdr)
276 ZEND_ARG_INFO(1, msghdr)

Completed in 17 milliseconds