Home
last modified time | relevance | path

Searched refs:cmsghdr (Results 1 – 2 of 2) sorted by relevance

/PHP-7.1/ext/sockets/
H A Dconfig.m49 dnl Check for struct cmsghdr
10 AC_CACHE_CHECK([for struct cmsghdr], ac_cv_cmsghdr,
14 #include <sys/socket.h>], [struct cmsghdr s; s], ac_cv_cmsghdr=yes, ac_cv_cmsghdr=no)
18 AC_DEFINE(HAVE_CMSGHDR,1,[Whether you have struct cmsghdr])
H A Dconversions.c60 # define cmsghdr _WSACMSGHDR macro
834 struct cmsghdr *cmsghdr; in from_zval_write_control() local
896 cmsghdr = (struct cmsghdr*)(((char*)*control_buf) + *offset); in from_zval_write_control()
897 cmsghdr->cmsg_level = level; in from_zval_write_control()
898 cmsghdr->cmsg_type = type; in from_zval_write_control()
899 cmsghdr->cmsg_len = CMSG_LEN(data_len); in from_zval_write_control()
902 from_zval_write_aggregation(arr, (char*)CMSG_DATA(cmsghdr), descriptor_data, ctx); in from_zval_write_control()
955 const struct cmsghdr *cmsg = (const struct cmsghdr *)cmsghdr_c; in to_zval_read_cmsg_data()
989 {"type", sizeof("type"), 0, offsetof(struct cmsghdr, cmsg_type), 0, to_zval_read_int}, in to_zval_read_control()
1000 struct cmsghdr *cmsg; in to_zval_read_control_array()
[all …]

Completed in 10 milliseconds