Searched refs:mhdr (Results 1 – 4 of 4) sorted by relevance
24 __cmsg_nxthdr (struct msghdr *mhdr, struct cmsghdr *cmsg) in __cmsg_nxthdr() argument32 if ((unsigned char *) (cmsg + 1) > ((unsigned char *) mhdr->msg_control in __cmsg_nxthdr()33 + mhdr->msg_controllen) in __cmsg_nxthdr()35 > ((unsigned char *) mhdr->msg_control + mhdr->msg_controllen))) in __cmsg_nxthdr()
240 #define CMSG_NXTHDR(mhdr, cmsg) __cmsg_nxthdr (mhdr, cmsg) argument242 #define CMSG_FIRSTHDR(mhdr) \ argument243 ((size_t) (mhdr)->msg_controllen >= sizeof (struct cmsghdr) \244 ? (struct cmsghdr *) (mhdr)->msg_control : (struct cmsghdr *) 0)
236 #define CMSG_NXTHDR(mhdr, cmsg) __cmsg_nxthdr (mhdr, cmsg) argument238 #define CMSG_FIRSTHDR(mhdr) \ argument239 ((size_t) (mhdr)->msg_controllen >= sizeof (struct cmsghdr) \240 ? (struct cmsghdr *) (mhdr)->msg_control : (struct cmsghdr *) 0)
300 #define CMSG_NXTHDR(mhdr, cmsg) __cmsg_nxthdr (mhdr, cmsg) argument301 #define CMSG_FIRSTHDR(mhdr) \ argument302 ((size_t) (mhdr)->msg_controllen >= sizeof (struct cmsghdr) \303 ? (struct cmsghdr *) (mhdr)->msg_control : (struct cmsghdr *) 0)