Home
last modified time | relevance | path

Searched refs:CMSG_LEN (Results 1 – 11 of 11) sorted by relevance

/glibc-2.36/inet/
Dinet6_option.c28 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 …]
/glibc-2.36/sysdeps/unix/sysv/linux/
Dtst-scm_rights.c73 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()
Dtst-socket-timestamp.c115 && 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()
Dconvert_scm_timestamps.c99 cmsg->cmsg_len = CMSG_LEN (sizeof tvts); in __convert_scm_timestamps()
Dtst-getcwd-smallbuff.c72 cmsg->cmsg_len = CMSG_LEN (sizeof (int)); in send_fd()
/glibc-2.36/nscd/
Dnscd_helper.c294 cmsg->cmsg_len = CMSG_LEN (sizeof (int)); in __nscd_get_mapping()
312 != CMSG_LEN (sizeof (int))), 0)) in __nscd_get_mapping()
Dconnections.c1023 cmsg->cmsg_len = CMSG_LEN (sizeof (int)); in send_ro_fd()
/glibc-2.36/sysdeps/mach/hurd/bits/
Dsocket.h250 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len)) macro
/glibc-2.36/bits/
Dsocket.h246 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len)) macro
/glibc-2.36/sysdeps/unix/sysv/linux/bits/
Dsocket.h308 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len)) macro
/glibc-2.36/ChangeLog.old/
DChangeLog.79271 CMSG_LEN, CMSG_ALIGN (for IPv6 Advanced API).