Home
last modified time | relevance | path

Searched refs:CMSG_ALIGN (Results 1 – 11 of 11) sorted by relevance

/glibc-2.36/sysdeps/mach/hurd/bits/
Dsocket.h246 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) \ macro
248 #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()
/glibc-2.36/bits/
Dsocket.h242 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) \ macro
244 #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()
/glibc-2.36/sysdeps/unix/sysv/linux/bits/
Dsocket.h304 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) \ macro
306 #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()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dcmsg_nxthdr.c31 + CMSG_ALIGN (cmsg->cmsg_len)); in __cmsg_nxthdr()
34 || ((unsigned char *) cmsg + CMSG_ALIGN (cmsg->cmsg_len) in __cmsg_nxthdr()
/glibc-2.36/sysdeps/mach/hurd/
Dsendmsg.c114 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()
Drecvmsg.c194 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()
/glibc-2.36/sunrpc/
Dsvc_unix.c315 char dummy[(CMSG_ALIGN (sizeof (struct ucred)) - sizeof (struct ucred) + sizeof (long))];
400 msg.msg_controllen = CMSG_ALIGN(cmsg->cmsg_len); in __msgwrite()
Dclnt_unix.c514 msg.msg_controllen = CMSG_ALIGN(cmsg->cmsg_len); in __msgwrite()
/glibc-2.36/ChangeLog.old/
DChangeLog.94530 CMSG_ALIGN (fixes a bug) and correct test for availability of
4534 (__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for
DChangeLog.11175 * sysdeps/unix/sysv/linux/bits/socket.h (CMSG_ALIGN): Cast result
DChangeLog.79271 CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API).