Searched refs:cmsghdr (Results 1 - 11 of 11) sorted by relevance
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | in6.h | 538 #define IPV6_2292PKTOPTIONS 25 /* buf/cmsghdr; set/get IPv6 options */ 826 struct cmsghdr; 906 struct cmsghdr; 909 extern int inet6_option_init(void *, struct cmsghdr **, int); 910 extern int inet6_option_append(struct cmsghdr *, const __uint8_t *, 912 extern __uint8_t *inet6_option_alloc(struct cmsghdr *, int, int, int); 913 extern int inet6_option_next(const struct cmsghdr *, __uint8_t **); 914 extern int inet6_option_find(const struct cmsghdr *, __uint8_t **, int); 917 extern struct cmsghdr *inet6_rthdr_init(void *, int); 918 extern int inet6_rthdr_add(struct cmsghdr *, cons [all...] |
H A D | ip6_output.c | 3053 struct cmsghdr *cm = 0; 3088 if (cm->cmsg_len < sizeof(struct cmsghdr) || cm->cmsg_len > control->m_len)
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | socket.h | 771 * of message elements headed by cmsghdr structures. 773 struct cmsghdr { struct 807 /* given pointer to struct cmsghdr, return pointer to data */ 809 __DARWIN_ALIGN32(sizeof(struct cmsghdr))) 816 ((mhdr)->msg_controllen >= sizeof(struct cmsghdr) ? \ 817 (struct cmsghdr *)(mhdr)->msg_control : \ 818 (struct cmsghdr *)0L) 822 * Given pointer to struct cmsghdr, return pointer to next cmsghdr 829 __DARWIN_ALIGN32(sizeof(struct cmsghdr))) > \ [all...] |
H A D | socketvar.h | 290 __DARWIN_ALIGN32(sizeof(struct cmsghdr))) 293 ((char *)(m) != (char *)0L && (size_t)(m)->m_len >= sizeof(struct cmsghdr) && \ 294 (socklen_t)(m)->m_len >= __DARWIN_ALIGN32(((struct cmsghdr *)(void *)(m)->m_data)->cmsg_len) ?\ 295 (struct cmsghdr *)(void *)(m)->m_data : \ 296 (struct cmsghdr *)0L) 302 (struct cmsghdr *)0L /* NULL */ : \ 303 (struct cmsghdr *)(void *)((unsigned char *)(cmsg) + \
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | uipc_usrreq.c | 1821 struct cmsghdr *cm = mtod(rights, struct cmsghdr *); 1930 struct cmsghdr *cm = mtod(control, struct cmsghdr *); 2243 struct cmsghdr *cm; 2251 cm = mtod(m, struct cmsghdr *);
|
H A D | uipc_syscalls.c | 848 if (mp->msg_controllen < sizeof (struct cmsghdr)) { 1208 struct cmsghdr *cp = mtod(m, struct cmsghdr *); 1220 struct cmsghdr *tmp_cp = (struct cmsghdr *)(void *)tmp_buffer; 1278 cp = (struct cmsghdr *)(void *)((unsigned char *) cp + cp_size); 1854 alloc_buflen = ((buflen - sizeof(struct cmsghdr))*2) + sizeof(struct cmsghdr);
|
H A D | uipc_socket2.c | 1464 struct cmsghdr *cp; 1471 cp = mtod(m, struct cmsghdr *); 1486 struct cmsghdr *cp; 1501 cp = (struct cmsghdr *)(void *)(mtod(m, char *) + m->m_len);
|
H A D | kpi_socket.c | 840 if ((size_t)msg->msg_controllen < sizeof(struct cmsghdr)) return EINVAL;
|
H A D | uipc_socket.c | 2303 cmsg_type = mtod(cm, struct cmsghdr *)->cmsg_type;
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in_tclass.c | 714 struct cmsghdr *cm; 721 if (cm->cmsg_len < sizeof (struct cmsghdr))
|
H A D | udp_usrreq.c | 1232 struct cmsghdr *cm = 0; 1247 if (cm->cmsg_len < sizeof(struct cmsghdr) || cm->cmsg_len > control->m_len)
|
Completed in 167 milliseconds