Searched refs:CMSG_ALIGN (Results 1 – 11 of 11) sorted by relevance
246 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) \ macro248 #define CMSG_SPACE(len) (CMSG_ALIGN (len) \249 + CMSG_ALIGN (sizeof (struct cmsghdr)))250 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))266 + CMSG_ALIGN (__cmsg->cmsg_len)); in __NTH()269 || ((unsigned char *) __cmsg + CMSG_ALIGN (__cmsg->cmsg_len) in __NTH()
242 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) \ macro244 #define CMSG_SPACE(len) (CMSG_ALIGN (len) \245 + CMSG_ALIGN (sizeof (struct cmsghdr)))246 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))262 + CMSG_ALIGN (__cmsg->cmsg_len)); in __NTH()265 || ((unsigned char *) __cmsg + CMSG_ALIGN (__cmsg->cmsg_len) in __NTH()
304 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) \ macro306 #define CMSG_SPACE(len) (CMSG_ALIGN (len) \307 + CMSG_ALIGN (sizeof (struct cmsghdr)))308 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))324 + CMSG_ALIGN (__cmsg->cmsg_len)); in __NTH()327 || ((unsigned char *) __cmsg + CMSG_ALIGN (__cmsg->cmsg_len) in __NTH()
31 + CMSG_ALIGN (cmsg->cmsg_len)); in __cmsg_nxthdr()34 || ((unsigned char *) cmsg + CMSG_ALIGN (cmsg->cmsg_len) in __cmsg_nxthdr()
114 nports += (cmsg->cmsg_len - CMSG_ALIGN (sizeof (struct cmsghdr))) in __libc_sendmsg()129 nfds = (cmsg->cmsg_len - CMSG_ALIGN (sizeof (struct cmsghdr))) in __libc_sendmsg()
194 nfds = (cmsg->cmsg_len - CMSG_ALIGN (sizeof (struct cmsghdr))) in __libc_recvmsg()235 nfds = (cmsg->cmsg_len - CMSG_ALIGN (sizeof (struct cmsghdr))) in __libc_recvmsg()
315 char dummy[(CMSG_ALIGN (sizeof (struct ucred)) - sizeof (struct ucred) + sizeof (long))];400 msg.msg_controllen = CMSG_ALIGN(cmsg->cmsg_len); in __msgwrite()
514 msg.msg_controllen = CMSG_ALIGN(cmsg->cmsg_len); in __msgwrite()
4530 CMSG_ALIGN (fixes a bug) and correct test for availability of4534 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
175 * sysdeps/unix/sysv/linux/bits/socket.h (CMSG_ALIGN): Cast result
9271 CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API).