Searched refs:cmsg_len (Results 1 – 19 of 19) sorted by relevance
28 unsigned char *p = CMSG_DATA (cmsg) + cmsg->cmsg_len - CMSG_LEN (0); in add_pad()44 cmsg->cmsg_len += len; 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()186 cmsg->cmsg_len += sizeof (struct ip6_ext); in option_alloc()194 uint8_t *result = CMSG_DATA (cmsg) + cmsg->cmsg_len - CMSG_LEN (0); in option_alloc()195 cmsg->cmsg_len += datalen; 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()[all …]
73 cmsg->cmsg_len = CMSG_LEN (sizeof (int)); in subprocess()75 mmhdr.msg_hdr.msg_controllen = cmsg->cmsg_len; in subprocess()132 cmsg->cmsg_len = CMSG_LEN (sizeof (int)); in one_test()133 mmhdr.msg_hdr.msg_controllen = cmsg->cmsg_len; in one_test()150 TEST_COMPARE (CMSG_FIRSTHDR (&mmhdr.msg_hdr)->cmsg_len, in one_test()
26 if ((size_t) cmsg->cmsg_len < sizeof (struct cmsghdr)) in __cmsg_nxthdr()31 + CMSG_ALIGN (cmsg->cmsg_len)); in __cmsg_nxthdr()34 || ((unsigned char *) cmsg + CMSG_ALIGN (cmsg->cmsg_len) in __cmsg_nxthdr()
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()
224 socklen_t cmsg_len; /* Length of data in cmsg_data plus length member261 if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) in __NTH()266 + CMSG_ALIGN (__cmsg->cmsg_len)); in __NTH()269 || ((unsigned char *) __cmsg + CMSG_ALIGN (__cmsg->cmsg_len) in __NTH()
220 socklen_t cmsg_len; /* Length of data in cmsg_data plus length member257 if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) in __NTH()262 + CMSG_ALIGN (__cmsg->cmsg_len)); in __NTH()265 || ((unsigned char *) __cmsg + CMSG_ALIGN (__cmsg->cmsg_len) in __NTH()
282 size_t cmsg_len; /* Length of data in cmsg_data plus length member319 if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) in __NTH()324 + CMSG_ALIGN (__cmsg->cmsg_len)); in __NTH()327 || ((unsigned char *) __cmsg + CMSG_ALIGN (__cmsg->cmsg_len) in __NTH()
114 nports += (cmsg->cmsg_len - CMSG_ALIGN (sizeof (struct cmsghdr))) in __libc_sendmsg()129 nfds = (cmsg->cmsg_len - CMSG_ALIGN (sizeof (struct cmsghdr))) in __libc_sendmsg()
194 nfds = (cmsg->cmsg_len - CMSG_ALIGN (sizeof (struct cmsghdr))) in __libc_recvmsg()235 nfds = (cmsg->cmsg_len - CMSG_ALIGN (sizeof (struct cmsghdr))) in __libc_recvmsg()
294 cmsg->cmsg_len = CMSG_LEN (sizeof (int)); in __nscd_get_mapping()300 msg.msg_controllen = cmsg->cmsg_len; in __nscd_get_mapping()311 || (CMSG_FIRSTHDR (&msg)->cmsg_len in __nscd_get_mapping()
1023 cmsg->cmsg_len = CMSG_LEN (sizeof (int)); in send_ro_fd()1028 msg.msg_controllen = cmsg->cmsg_len; in send_ro_fd()
38 // Bug 16919: wrong type for cmsg_len member.39 xfail-element {struct cmsghdr} socklen_t cmsg_len
390 cmsg->cmsg_len = sizeof(*cmsg) + sizeof(struct ucred); in __msgwrite()400 msg.msg_controllen = CMSG_ALIGN(cmsg->cmsg_len); in __msgwrite()
504 cmsg->cmsg_len = sizeof(*cmsg) + sizeof(struct ucred); in __msgwrite()514 msg.msg_controllen = CMSG_ALIGN(cmsg->cmsg_len); in __msgwrite()
270 || cmsg->cmsg_len < (sizeof (struct cmsghdr) in svcudp_recv()
772 (struct cmsghdr): Same for cmsg_len.
20375 (cmsghdr.cmsg_len): Likewise.20392 (cmsghdr.cmsg_len): Likewise.21344 (cmsghdr.cmsg_len): Likewise.21350 (cmsghdr.cmsg_len): Likewise.35651 (cmsghdr.cmsg_len): Likewise.