Searched refs:cmsghdr (Results 1 – 3 of 3) sorted by relevance
/device/linaro/bootloader/edk2/StdLib/Include/netinet6/ |
D | in6.h | 663 struct cmsghdr; 749 struct cmsghdr; 752 extern int inet6_option_init (void *, struct cmsghdr **, int); 753 extern int inet6_option_append (struct cmsghdr *, const uint8_t *, 755 extern uint8_t *inet6_option_alloc (struct cmsghdr *, int, int, int); 756 extern int inet6_option_next (const struct cmsghdr *, uint8_t **); 757 extern int inet6_option_find (const struct cmsghdr *, uint8_t **, int); 760 extern struct cmsghdr *inet6_rthdr_init (void *, int); 761 extern int inet6_rthdr_add (struct cmsghdr *, const struct in6_addr *, 763 extern int inet6_rthdr_lasthop (struct cmsghdr *, unsigned int); [all …]
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
D | socket.h | 472 struct cmsghdr { struct 481 ((u_char *)(void *)(cmsg) + __CMSG_ALIGN(sizeof(struct cmsghdr))) 484 __CMSG_ALIGN(sizeof(struct cmsghdr))) 503 __CMSG_ALIGN(sizeof(struct cmsghdr)) > \ 505 (struct cmsghdr *)0 : \ 506 (struct cmsghdr *)((__caddr_t)(cmsg) + \ 514 ((mhdr)->msg_controllen >= sizeof(struct cmsghdr) ? \ 515 (struct cmsghdr *)(mhdr)->msg_control : \ 516 (struct cmsghdr *)0) 518 #define CMSG_SPACE(l) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + __CMSG_ALIGN(l)) [all …]
|
/device/generic/goldfish/dhcp/common/ |
D | socket.cpp | 150 struct cmsghdr* controlHeader = CMSG_FIRSTHDR(&header); in sendOnInterface() 252 if (header.msg_controllen >= sizeof(struct cmsghdr)) { in receiveFromInterface() 253 for (struct cmsghdr* ctrl = CMSG_FIRSTHDR(&header); in receiveFromInterface()
|