Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dsocket.h481 ((u_char *)(void *)(cmsg) + __CMSG_ALIGN(sizeof(struct cmsghdr)))
484 __CMSG_ALIGN(sizeof(struct cmsghdr)))
495 #define __CMSG_ALIGN(n) (((n) + __cmsg_alignbytes()) & ~__cmsg_alignbytes()) macro
497 #define CMSG_ALIGN(n) __CMSG_ALIGN(n)
502 (((__caddr_t)(cmsg) + __CMSG_ALIGN((cmsg)->cmsg_len) + \
503 __CMSG_ALIGN(sizeof(struct cmsghdr)) > \
507 __CMSG_ALIGN((cmsg)->cmsg_len)))
518 #define CMSG_SPACE(l) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + __CMSG_ALIGN(l))
519 #define CMSG_LEN(l) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + (l))