Searched refs:cmsghdr (Results 1 – 1 of 1) sorted by relevance
/PHP-8.3/ext/sockets/ |
H A D | conversions.c | 67 # define CMSG_DATA(cmsg) ((unsigned char *) ((uintptr_t) (cmsg) + sizeof(struct cmsghdr))) 855 struct cmsghdr *cmsghdr; in from_zval_write_control() local 917 cmsghdr = (struct cmsghdr*)(((char*)*control_buf) + *offset); in from_zval_write_control() 918 cmsghdr->cmsg_level = level; in from_zval_write_control() 919 cmsghdr->cmsg_type = type; in from_zval_write_control() 920 cmsghdr->cmsg_len = CMSG_LEN(data_len); in from_zval_write_control() 923 from_zval_write_aggregation(arr, (char*)CMSG_DATA(cmsghdr), descriptor_data, ctx); in from_zval_write_control() 976 const struct cmsghdr *cmsg = (const struct cmsghdr *)cmsghdr_c; in to_zval_read_cmsg_data() 1010 {"type", sizeof("type"), 0, offsetof(struct cmsghdr, cmsg_type), 0, to_zval_read_int}, in to_zval_read_control() 1021 struct cmsghdr *cmsg; in to_zval_read_control_array() [all …]
|
Completed in 10 milliseconds