Searched refs:vki_cmsghdr (Results 1 – 3 of 3) sorted by relevance
647 struct vki_cmsghdr { struct658 #define VKI_CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + VKI_CMSG_ALIGN(sizeof(struct vki_cmsghdr)))) argument660 #define __VKI_CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct vki_cmsghdr) ? \661 (struct vki_cmsghdr *)(ctl) : \662 (struct vki_cmsghdr *)NULL)666 __KINLINE struct vki_cmsghdr * __vki_cmsg_nxthdr(void *__ctl, __vki_kernel_size_t __size, in __vki_cmsg_nxthdr()667 struct vki_cmsghdr *__cmsg) in __vki_cmsg_nxthdr()669 struct vki_cmsghdr * __ptr; in __vki_cmsg_nxthdr()671 __ptr = (struct vki_cmsghdr*)(((unsigned char *) __cmsg) + VKI_CMSG_ALIGN(__cmsg->cmsg_len)); in __vki_cmsg_nxthdr()673 return (struct vki_cmsghdr *)0; in __vki_cmsg_nxthdr()[all …]
191 #define vki_cmsghdr cmsghdr macro
993 struct vki_cmsghdr *cm = VKI_CMSG_FIRSTHDR(msg); in check_cmsg_for_fds()999 Int fdc = (cm->cmsg_len - VKI_CMSG_ALIGN(sizeof(struct vki_cmsghdr))) in check_cmsg_for_fds()