Searched refs:CMSG_LEN (Results 1 – 11 of 11) sorted by relevance
28 unsigned char *p = CMSG_DATA (cmsg) + cmsg->cmsg_len - CMSG_LEN (0); in add_pad()118 newp->cmsg_len = CMSG_LEN (0); in inet6_option_init()181 int dsize = cmsg->cmsg_len - CMSG_LEN (0); in option_alloc()194 uint8_t *result = CMSG_DATA (cmsg) + cmsg->cmsg_len - CMSG_LEN (0); in option_alloc()199 dsize = cmsg->cmsg_len - CMSG_LEN (0); in option_alloc()203 assert (((cmsg->cmsg_len - CMSG_LEN (0)) % 8) == 0); in option_alloc()204 int len8b = (cmsg->cmsg_len - CMSG_LEN (0)) / 8 - 1; in option_alloc()247 if (cmsg->cmsg_len < CMSG_LEN (sizeof (struct ip6_ext)) in inet6_option_next()249 || cmsg->cmsg_len < CMSG_LEN ((ip6e->ip6e_len + 1) * 8)) in inet6_option_next()303 if (cmsg->cmsg_len < CMSG_LEN (sizeof (struct ip6_ext)) in inet6_option_find()[all …]
73 cmsg->cmsg_len = CMSG_LEN (sizeof (int)); in subprocess()132 cmsg->cmsg_len = CMSG_LEN (sizeof (int)); in one_test()151 CMSG_LEN (sizeof (int))); in one_test()
115 && cmsg->cmsg_len == CMSG_LEN (sizeof (struct timeval))) in do_recvmsg_slack_ancillary()125 && cmsg->cmsg_len == CMSG_LEN (sizeof (struct timespec))) in do_recvmsg_slack_ancillary()243 && cmsg->cmsg_len >= CMSG_LEN (sizeof (struct sockaddr_in))) in do_recvmsg_multiple_ancillary()258 && cmsg->cmsg_len >= CMSG_LEN (sizeof (struct timeval))) in do_recvmsg_multiple_ancillary()
99 cmsg->cmsg_len = CMSG_LEN (sizeof tvts); in __convert_scm_timestamps()
72 cmsg->cmsg_len = CMSG_LEN (sizeof (int)); in send_fd()
294 cmsg->cmsg_len = CMSG_LEN (sizeof (int)); in __nscd_get_mapping()312 != CMSG_LEN (sizeof (int))), 0)) in __nscd_get_mapping()
1023 cmsg->cmsg_len = CMSG_LEN (sizeof (int)); in send_ro_fd()
250 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len)) macro
246 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len)) macro
308 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len)) macro
9271 CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API).