Home
last modified time | relevance | path

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

/bionic/libc/include/sys/
Dsocket.h110 #define CMSG_ALIGN(len) ( ((len)+sizeof(long)-1) & ~(sizeof(long)-1) ) macro
111 #define CMSG_DATA(cmsg) (((unsigned char*)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr))))
112 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len))
113 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len))
/bionic/libc/bionic/
D__cmsg_nxthdr.cpp33 ptr = reinterpret_cast<cmsghdr*>(reinterpret_cast<char*>(cmsg) + CMSG_ALIGN(cmsg->cmsg_len)); in __cmsg_nxthdr()