Home
last modified time | relevance | path

Searched refs:cmsghdr (Results 1 – 3 of 3) sorted by relevance

/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/linux/
H A Dsocket.h71 struct cmsghdr { struct
87 #define CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + CMSG_ALIGN(sizeof(struct cmsghdr)))) argument
88 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len))
89 #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len))
91 #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? \
92 (struct cmsghdr *)(ctl) : \
93 (struct cmsghdr *)NULL)
95 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \
126 __KINLINE struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, in __cmsg_nxthdr()
127 struct cmsghdr *__cmsg) in __cmsg_nxthdr()
[all …]
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/bits/
H A Dsocket.h234 struct cmsghdr struct
249 # define CMSG_DATA(cmsg) ((unsigned char *) ((struct cmsghdr *) (cmsg) + 1)) argument
253 ((size_t) (mhdr)->msg_controllen >= sizeof (struct cmsghdr) \
254 ? (struct cmsghdr *) (mhdr)->msg_control : (struct cmsghdr *) 0)
258 + CMSG_ALIGN (sizeof (struct cmsghdr)))
259 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
261 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
262 struct cmsghdr *__cmsg) __THROW;
267 _EXTERN_INLINE struct cmsghdr *
268 __NTH (__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)) in __NTH()
[all …]
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/netinet/
H A Din.h484 extern int inet6_option_init (void *__bp, struct cmsghdr **__cmsgp,
486 extern int inet6_option_append (struct cmsghdr *__cmsg,
489 extern uint8_t *inet6_option_alloc (struct cmsghdr *__cmsg, int __datalen,
492 extern int inet6_option_next (__const struct cmsghdr *__cmsg,
495 extern int inet6_option_find (__const struct cmsghdr *__cmsg,