/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_platform_limits_posix.h | 76 unsigned cmsg_len; member in struct:__sanitizer::__sanitizer_cmsghdr 91 uptr cmsg_len; member in struct:__sanitizer::__sanitizer_cmsghdr
|
/external/iputils/ |
ping.c | 111 int cmsg_len; variable 436 cmsg_len = sizeof(cmsg); 756 m.msg_controllen = cmsg_len; 815 if (cmsg->cmsg_len < sizeof(int)) 820 optlen = cmsg->cmsg_len; [all...] |
/external/strace/ |
net.c | 1364 tprintf(", {cmsg_len=%u, cmsg_level=", (unsigned) cmsg->cmsg_len); 1369 unsigned long cmsg_len; local 1372 cmsg_len = (len < cmsg->cmsg_len) ? len : cmsg->cmsg_len; 1375 && CMSG_LEN(sizeof(int)) <= cmsg_len) { 1380 while ((char *) fds < ((char *) cmsg + cmsg_len)) { 1391 && CMSG_LEN(sizeof(struct ucred)) <= cmsg_len) [all...] |
/development/ndk/platforms/android-3/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/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.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/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/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/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/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/ndk/4/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/4/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/4/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/4/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/4/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/4/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/5/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/6/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/6/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/7/platforms/android-14/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/7/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/7/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/7/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/7/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/7/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));
|