/prebuilts/ndk/8/platforms/android-14/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));
|
/prebuilts/ndk/8/platforms/android-3/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/8/platforms/android-3/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/8/platforms/android-3/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));
|
/prebuilts/ndk/8/platforms/android-4/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/8/platforms/android-4/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/8/platforms/android-4/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));
|
/prebuilts/ndk/8/platforms/android-5/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/8/platforms/android-5/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/8/platforms/android-5/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));
|
/prebuilts/ndk/8/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/8/platforms/android-8/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/8/platforms/android-8/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));
|
/prebuilts/ndk/8/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/8/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/8/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));
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
socket.h | 73 __kernel_size_t cmsg_len; /* data byte count, including hdr */ member in struct:cmsghdr 90 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 96 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \ 97 (cmsg)->cmsg_len <= (unsigned long) \ 122 * HEADER. But caller still MUST check, that cmsg->cmsg_len is 132 __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len));
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
socket.h | 73 __kernel_size_t cmsg_len; /* data byte count, including hdr */ member in struct:cmsghdr 90 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 96 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \ 97 (cmsg)->cmsg_len <= (unsigned long) \ 122 * HEADER. But caller still MUST check, that cmsg->cmsg_len is 132 __ptr = (struct cmsghdr*)(((unsigned char *) __cmsg) + CMSG_ALIGN(__cmsg->cmsg_len));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
socket.h | 73 __kernel_size_t cmsg_len; /* data byte count, including hdr */ member in struct:cmsghdr 90 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 96 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \ 97 (cmsg)->cmsg_len <= (unsigned long) \ 122 * HEADER. But caller still MUST check, that cmsg->cmsg_len is 132 __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/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));
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
socket.h | 245 size_t cmsg_len; /* Length of data in cmsg_data plus length member in struct:cmsghdr 271 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len)) 282 if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) 287 + CMSG_ALIGN (__cmsg->cmsg_len)); 290 || ((unsigned char *) __cmsg + CMSG_ALIGN (__cmsg->cmsg_len)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
socket.h | 245 size_t cmsg_len; /* Length of data in cmsg_data plus length member in struct:cmsghdr 271 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len)) 282 if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) 287 + CMSG_ALIGN (__cmsg->cmsg_len)); 290 || ((unsigned char *) __cmsg + CMSG_ALIGN (__cmsg->cmsg_len)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
socket.h | 245 size_t cmsg_len; /* Length of data in cmsg_data plus length member in struct:cmsghdr 271 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len)) 282 if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) 287 + CMSG_ALIGN (__cmsg->cmsg_len)); 290 || ((unsigned char *) __cmsg + CMSG_ALIGN (__cmsg->cmsg_len)
|
/external/dhcpcd/ |
ipv6rs.c | 209 cm->cmsg_len = CMSG_LEN(sizeof(pi)); 218 cm->cmsg_len = CMSG_LEN(sizeof(hoplimit)); 315 if (cm->cmsg_len == CMSG_LEN(sizeof(pkt))) 319 if (cm->cmsg_len == CMSG_LEN(sizeof(int)))
|