Searched defs:cmsghdr (Results 151 - 175 of 261) sorted by relevance

1234567891011

/prebuilts/ndk/r10/platforms/android-22/arch-arm/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-22/arch-arm64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-22/arch-mips/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-22/arch-mips64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-22/arch-x86/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-22/arch-x86_64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-23/arch-arm/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-23/arch-arm64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-23/arch-mips/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-23/arch-mips64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-23/arch-x86/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-23/arch-x86_64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-3/arch-arm64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-3/arch-mips64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-3/arch-x86_64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-4/arch-arm64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-4/arch-mips64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-4/arch-x86_64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-5/arch-arm64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-5/arch-mips64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-5/arch-x86_64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-6/arch-arm64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-6/arch-mips64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-6/arch-x86_64/usr/include/sys/
H A Dsocket.h104 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/r10/platforms/android-7/arch-arm64/usr/include/sys/
H A Dsocket.h104 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...]

Completed in 882 milliseconds

1234567891011