/prebuilts/ndk/9/platforms/android-8/arch-arm/usr/include/linux/ |
socket.h | 58 __kernel_size_t cmsg_len; member in struct:cmsghdr 70 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 74 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && (cmsg)->cmsg_len <= (unsigned long) ((mhdr)->msg_controllen - ((char *)(cmsg) - (char *)(mhdr)->msg_control))) 89 __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len));
|
/prebuilts/ndk/9/platforms/android-9/arch-arm/usr/include/linux/ |
socket.h | 58 __kernel_size_t cmsg_len; member in struct:cmsghdr 70 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 74 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && (cmsg)->cmsg_len <= (unsigned long) ((mhdr)->msg_controllen - ((char *)(cmsg) - (char *)(mhdr)->msg_control))) 89 __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len));
|
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/linux/ |
socket.h | 58 __kernel_size_t cmsg_len; member in struct:cmsghdr 70 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 74 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && (cmsg)->cmsg_len <= (unsigned long) ((mhdr)->msg_controllen - ((char *)(cmsg) - (char *)(mhdr)->msg_control))) 89 __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len));
|
/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/linux/ |
socket.h | 58 __kernel_size_t cmsg_len; member in struct:cmsghdr 70 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 74 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && (cmsg)->cmsg_len <= (unsigned long) ((mhdr)->msg_controllen - ((char *)(cmsg) - (char *)(mhdr)->msg_control))) 89 __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len));
|
/bionic/libc/include/sys/ |
socket.h | 95 __kernel_size_t cmsg_len; member in struct:cmsghdr 105 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 108 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && (cmsg)->cmsg_len <= (unsigned long) ((mhdr)->msg_controllen - ((char *)(cmsg) - (char *)(mhdr)->msg_control))) 120 __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len));
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/sys/ |
socket.h | 330 socklen_t cmsg_len; /* data byte count, including hdr */ member in struct:cmsghdr 365 (((caddr_t)(cmsg) + _ALIGN((cmsg)->cmsg_len) + \ 369 (struct cmsghdr *)((caddr_t)(cmsg) + _ALIGN((cmsg)->cmsg_len))) 376 #define CMSG_LEN(l) (_ALIGN(sizeof(struct cmsghdr)) + (l))
|
/external/kernel-headers/original/linux/ |
socket.h | 87 __kernel_size_t cmsg_len; /* data byte count, including hdr */ member in struct:cmsghdr 104 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 110 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \ 111 (cmsg)->cmsg_len <= (unsigned long) \ 123 * HEADER. But caller still MUST check, that cmsg->cmsg_len is 133 __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len));
|
/external/valgrind/main/include/vki/ |
vki-linux.h | 631 __vki_kernel_size_t cmsg_len; /* data byte count, including hdr */ member in struct:vki_cmsghdr 654 __ptr = (struct vki_cmsghdr*)(((unsigned char *) __cmsg) + VKI_CMSG_ALIGN(__cmsg->cmsg_len)); [all...] |