/prebuilts/ndk/current/platforms/android-19/arch-mips/usr/include/linux/ |
socket.h | 57 struct cmsghdr { struct 68 #define CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 69 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 70 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 72 #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? (struct cmsghdr *)(ctl) : (struct cmsghdr *)NULL) 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))) 84 __KINLINE struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, 85 struct cmsghdr *__cmsg [all...] |
/prebuilts/ndk/current/platforms/android-19/arch-x86/usr/include/linux/ |
socket.h | 57 struct cmsghdr { struct 68 #define CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 69 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 70 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 72 #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? (struct cmsghdr *)(ctl) : (struct cmsghdr *)NULL) 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))) 84 __KINLINE struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, 85 struct cmsghdr *__cmsg [all...] |
/prebuilts/ndk/current/platforms/android-3/arch-arm/usr/include/linux/ |
socket.h | 57 struct cmsghdr { struct 68 #define CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 69 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 70 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 72 #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? (struct cmsghdr *)(ctl) : (struct cmsghdr *)NULL) 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))) 84 __KINLINE struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, 85 struct cmsghdr *__cmsg [all...] |
/prebuilts/ndk/current/platforms/android-4/arch-arm/usr/include/linux/ |
socket.h | 57 struct cmsghdr { struct 68 #define CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 69 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 70 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 72 #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? (struct cmsghdr *)(ctl) : (struct cmsghdr *)NULL) 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))) 84 __KINLINE struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, 85 struct cmsghdr *__cmsg [all...] |
/prebuilts/ndk/current/platforms/android-5/arch-arm/usr/include/linux/ |
socket.h | 57 struct cmsghdr { struct 68 #define CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 69 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 70 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 72 #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? (struct cmsghdr *)(ctl) : (struct cmsghdr *)NULL) 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))) 84 __KINLINE struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, 85 struct cmsghdr *__cmsg [all...] |
/prebuilts/ndk/current/platforms/android-8/arch-arm/usr/include/linux/ |
socket.h | 57 struct cmsghdr { struct 68 #define CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 69 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 70 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 72 #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? (struct cmsghdr *)(ctl) : (struct cmsghdr *)NULL) 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))) 84 __KINLINE struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, 85 struct cmsghdr *__cmsg [all...] |
/prebuilts/ndk/current/platforms/android-9/arch-arm/usr/include/linux/ |
socket.h | 57 struct cmsghdr { struct 68 #define CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 69 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 70 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 72 #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? (struct cmsghdr *)(ctl) : (struct cmsghdr *)NULL) 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))) 84 __KINLINE struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, 85 struct cmsghdr *__cmsg [all...] |
/prebuilts/ndk/current/platforms/android-9/arch-mips/usr/include/linux/ |
socket.h | 57 struct cmsghdr { struct 68 #define CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 69 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 70 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 72 #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? (struct cmsghdr *)(ctl) : (struct cmsghdr *)NULL) 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))) 84 __KINLINE struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, 85 struct cmsghdr *__cmsg [all...] |
/prebuilts/ndk/current/platforms/android-9/arch-x86/usr/include/linux/ |
socket.h | 57 struct cmsghdr { struct 68 #define CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 69 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 70 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 72 #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? (struct cmsghdr *)(ctl) : (struct cmsghdr *)NULL) 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))) 84 __KINLINE struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, 85 struct cmsghdr *__cmsg [all...] |
/bionic/libc/include/sys/ |
socket.h | 100 struct cmsghdr { struct 108 #define CMSG_DATA(cmsg) (((unsigned char*)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 109 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 110 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 112 ((msg)->msg_controllen >= sizeof(struct cmsghdr) \ 113 ? (struct cmsghdr*) (msg)->msg_control : (struct cmsghdr*) NULL) 114 #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))) 116 struct cmsghdr* __cmsg_nxthdr(struct msghdr*, struct cmsghdr*); [all...] |
/development/ndk/platforms/android-21/include/sys/ |
socket.h | 104 struct cmsghdr { struct 112 #define CMSG_DATA(cmsg) ((void*)((char*)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 113 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 114 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 116 ((msg)->msg_controllen >= sizeof(struct cmsghdr) \ 117 ? (struct cmsghdr*) (msg)->msg_control : (struct cmsghdr*) NULL) 118 #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 struct cmsghdr* __cmsg_nxthdr(struct msghdr*, struct cmsghdr*); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/bits/ |
socket.h | 263 struct cmsghdr struct 266 of cmsghdr structure. 281 # define CMSG_DATA(cmsg) ((unsigned char *) ((struct cmsghdr *) (cmsg) + 1)) 285 ((size_t) (mhdr)->msg_controllen >= sizeof (struct cmsghdr) \ 286 ? (struct cmsghdr *) (mhdr)->msg_control : (struct cmsghdr *) 0) 290 + CMSG_ALIGN (sizeof (struct cmsghdr))) 291 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len)) 293 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, 294 struct cmsghdr *__cmsg) __THROW [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/ |
socket.h | 280 struct cmsghdr struct 283 of cmsghdr structure. 298 # define CMSG_DATA(cmsg) ((unsigned char *) ((struct cmsghdr *) (cmsg) + 1)) 302 ((size_t) (mhdr)->msg_controllen >= sizeof (struct cmsghdr) \ 303 ? (struct cmsghdr *) (mhdr)->msg_control : (struct cmsghdr *) 0) 307 + CMSG_ALIGN (sizeof (struct cmsghdr))) 308 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len)) 310 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, 311 struct cmsghdr *__cmsg) __THROW [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/ |
socket.h | 280 struct cmsghdr struct 283 of cmsghdr structure. 298 # define CMSG_DATA(cmsg) ((unsigned char *) ((struct cmsghdr *) (cmsg) + 1)) 302 ((size_t) (mhdr)->msg_controllen >= sizeof (struct cmsghdr) \ 303 ? (struct cmsghdr *) (mhdr)->msg_control : (struct cmsghdr *) 0) 307 + CMSG_ALIGN (sizeof (struct cmsghdr))) 308 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len)) 310 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, 311 struct cmsghdr *__cmsg) __THROW [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/sys/ |
socket.h | 104 struct cmsghdr { struct 112 #define CMSG_DATA(cmsg) ((void*)((char*)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 113 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 114 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 116 ((msg)->msg_controllen >= sizeof(struct cmsghdr) \ 117 ? (struct cmsghdr*) (msg)->msg_control : (struct cmsghdr*) NULL) 118 #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 struct cmsghdr* __cmsg_nxthdr(struct msghdr*, struct cmsghdr*); [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/sys/ |
socket.h | 104 struct cmsghdr { struct 112 #define CMSG_DATA(cmsg) ((void*)((char*)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 113 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 114 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 116 ((msg)->msg_controllen >= sizeof(struct cmsghdr) \ 117 ? (struct cmsghdr*) (msg)->msg_control : (struct cmsghdr*) NULL) 118 #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 struct cmsghdr* __cmsg_nxthdr(struct msghdr*, struct cmsghdr*); [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-mips/usr/include/sys/ |
socket.h | 104 struct cmsghdr { struct 112 #define CMSG_DATA(cmsg) ((void*)((char*)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 113 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 114 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 116 ((msg)->msg_controllen >= sizeof(struct cmsghdr) \ 117 ? (struct cmsghdr*) (msg)->msg_control : (struct cmsghdr*) NULL) 118 #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 struct cmsghdr* __cmsg_nxthdr(struct msghdr*, struct cmsghdr*); [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-mips64/usr/include/sys/ |
socket.h | 104 struct cmsghdr { struct 112 #define CMSG_DATA(cmsg) ((void*)((char*)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 113 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 114 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 116 ((msg)->msg_controllen >= sizeof(struct cmsghdr) \ 117 ? (struct cmsghdr*) (msg)->msg_control : (struct cmsghdr*) NULL) 118 #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 struct cmsghdr* __cmsg_nxthdr(struct msghdr*, struct cmsghdr*); [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-x86/usr/include/sys/ |
socket.h | 104 struct cmsghdr { struct 112 #define CMSG_DATA(cmsg) ((void*)((char*)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 113 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 114 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 116 ((msg)->msg_controllen >= sizeof(struct cmsghdr) \ 117 ? (struct cmsghdr*) (msg)->msg_control : (struct cmsghdr*) NULL) 118 #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 struct cmsghdr* __cmsg_nxthdr(struct msghdr*, struct cmsghdr*); [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-x86_64/usr/include/sys/ |
socket.h | 104 struct cmsghdr { struct 112 #define CMSG_DATA(cmsg) ((void*)((char*)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 113 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 114 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 116 ((msg)->msg_controllen >= sizeof(struct cmsghdr) \ 117 ? (struct cmsghdr*) (msg)->msg_control : (struct cmsghdr*) NULL) 118 #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 struct cmsghdr* __cmsg_nxthdr(struct msghdr*, struct cmsghdr*); [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-arm/usr/include/sys/ |
socket.h | 104 struct cmsghdr { struct 112 #define CMSG_DATA(cmsg) ((void*)((char*)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 113 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 114 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 116 ((msg)->msg_controllen >= sizeof(struct cmsghdr) \ 117 ? (struct cmsghdr*) (msg)->msg_control : (struct cmsghdr*) NULL) 118 #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 struct cmsghdr* __cmsg_nxthdr(struct msghdr*, struct cmsghdr*); [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-arm64/usr/include/sys/ |
socket.h | 104 struct cmsghdr { struct 112 #define CMSG_DATA(cmsg) ((void*)((char*)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 113 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 114 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 116 ((msg)->msg_controllen >= sizeof(struct cmsghdr) \ 117 ? (struct cmsghdr*) (msg)->msg_control : (struct cmsghdr*) NULL) 118 #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 struct cmsghdr* __cmsg_nxthdr(struct msghdr*, struct cmsghdr*); [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-mips/usr/include/sys/ |
socket.h | 104 struct cmsghdr { struct 112 #define CMSG_DATA(cmsg) ((void*)((char*)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 113 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 114 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 116 ((msg)->msg_controllen >= sizeof(struct cmsghdr) \ 117 ? (struct cmsghdr*) (msg)->msg_control : (struct cmsghdr*) NULL) 118 #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 struct cmsghdr* __cmsg_nxthdr(struct msghdr*, struct cmsghdr*); [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-mips64/usr/include/sys/ |
socket.h | 104 struct cmsghdr { struct 112 #define CMSG_DATA(cmsg) ((void*)((char*)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 113 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 114 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 116 ((msg)->msg_controllen >= sizeof(struct cmsghdr) \ 117 ? (struct cmsghdr*) (msg)->msg_control : (struct cmsghdr*) NULL) 118 #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 struct cmsghdr* __cmsg_nxthdr(struct msghdr*, struct cmsghdr*); [all...] |
/prebuilts/ndk/current/platforms/android-23/arch-x86/usr/include/sys/ |
socket.h | 104 struct cmsghdr { struct 112 #define CMSG_DATA(cmsg) ((void*)((char*)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) 113 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len)) 114 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) 116 ((msg)->msg_controllen >= sizeof(struct cmsghdr) \ 117 ? (struct cmsghdr*) (msg)->msg_control : (struct cmsghdr*) NULL) 118 #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 struct cmsghdr* __cmsg_nxthdr(struct msghdr*, struct cmsghdr*); [all...] |