Lines Matching refs:cmsghdr
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()
1009 {"level", sizeof("level"), 0, offsetof(struct cmsghdr, cmsg_level), 0, to_zval_read_int}, in to_zval_read_control()
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()
1423 struct cmsghdr *dummy_cmsg = 0; in to_zval_read_fd_array()