Home | History | Annotate | Download | only in vki

Lines Matching defs:vki_cmsghdr

630 struct vki_cmsghdr {
641 #define VKI_CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + VKI_CMSG_ALIGN(sizeof(struct vki_cmsghdr))))
643 #define __VKI_CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct vki_cmsghdr) ? \
644 (struct vki_cmsghdr *)(ctl) : \
645 (struct vki_cmsghdr *)NULL)
649 __KINLINE struct vki_cmsghdr * __vki_cmsg_nxthdr(void *__ctl, __vki_kernel_size_t __size,
650 struct vki_cmsghdr *__cmsg)
652 struct vki_cmsghdr * __ptr;
654 __ptr = (struct vki_cmsghdr*)(((unsigned char *) __cmsg) + VKI_CMSG_ALIGN(__cmsg->cmsg_len));
656 return (struct vki_cmsghdr *)0;
661 __KINLINE struct vki_cmsghdr * vki_cmsg_nxthdr (struct vki_msghdr *__msg, struct vki_cmsghdr *__cmsg)