Home
last modified time | relevance | path

Searched refs:CMSG_DATA (Results 1 – 20 of 20) 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()
194 uint8_t *result = CMSG_DATA (cmsg) + cmsg->cmsg_len - CMSG_LEN (0); in option_alloc()
209 struct ip6_ext *ie = (void *) CMSG_DATA (cmsg); in option_alloc()
244 const struct ip6_ext *ip6e = (const struct ip6_ext *) CMSG_DATA (cmsg); in inet6_option_next()
254 const uint8_t *endp = CMSG_DATA (cmsg) + (ip6e->ip6e_len + 1) * 8; in inet6_option_next()
300 const struct ip6_ext *ip6e = (const struct ip6_ext *) CMSG_DATA (cmsg); in inet6_option_find()
310 const uint8_t *endp = CMSG_DATA (cmsg) + (ip6e->ip6e_len + 1) * 8; in inet6_option_find()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dtst-socket-timestamp.c118 memcpy (&tv, CMSG_DATA (cmsg), sizeof (tv)); in do_recvmsg_slack_ancillary()
128 memcpy (&ts, CMSG_DATA (cmsg), sizeof (ts)); in do_recvmsg_slack_ancillary()
246 memcpy (&sa, CMSG_DATA (cmsg), sizeof (sa)); in do_recvmsg_multiple_ancillary()
261 memcpy (&tv, CMSG_DATA (cmsg), sizeof (tv)); in do_recvmsg_multiple_ancillary()
Dconvert_scm_timestamps.c75 memcpy (tmp, CMSG_DATA (cmsg), sizeof (tmp)); in __convert_scm_timestamps()
100 memcpy (CMSG_DATA (cmsg), tvts, sizeof tvts); in __convert_scm_timestamps()
Dtst-scm_rights.c74 memcpy (CMSG_DATA (cmsg), &fd, sizeof (fd)); in subprocess()
154 memcpy (&fd, CMSG_DATA (CMSG_FIRSTHDR (&mmhdr.msg_hdr)), sizeof (fd)); in one_test()
Dtst-getcwd-smallbuff.c75 memcpy (CMSG_DATA (cmsg), &fd, sizeof (fd)); in send_fd()
119 memcpy (&fd, CMSG_DATA (cmsg), sizeof (fd)); in recv_fd()
/glibc-2.36/sysdeps/mach/hurd/bits/
Dsocket.h235 # define CMSG_DATA(cmsg) ((cmsg)->__cmsg_data) macro
237 # define CMSG_DATA(cmsg) ((unsigned char *) ((struct cmsghdr *) (cmsg) + 1)) macro
/glibc-2.36/bits/
Dsocket.h231 # define CMSG_DATA(cmsg) ((cmsg)->__cmsg_data) macro
233 # define CMSG_DATA(cmsg) ((unsigned char *) ((struct cmsghdr *) (cmsg) + 1)) macro
/glibc-2.36/sysdeps/unix/sysv/linux/bits/
Dsocket.h296 # define CMSG_DATA(cmsg) ((cmsg)->__cmsg_data) macro
298 # define CMSG_DATA(cmsg) ((unsigned char *) ((struct cmsghdr *) (cmsg) + 1)) macro
/glibc-2.36/nscd/
Dnscd_helper.c298 memset (CMSG_DATA (cmsg), '\xff', sizeof (int)); in __nscd_get_mapping()
315 int *ip = (void *) CMSG_DATA (cmsg); in __nscd_get_mapping()
Dconnections.c1025 int *ip = (int *) CMSG_DATA (cmsg); in send_ro_fd()
/glibc-2.36/sysdeps/mach/hurd/
Dsendmsg.c128 fds = (int *) CMSG_DATA (cmsg); in __libc_sendmsg()
Drecvmsg.c193 int *fds = (int *) CMSG_DATA (cmsg); in __libc_recvmsg()
/glibc-2.36/conform/data/sys/
Dsocket.h-data45 macro CMSG_DATA
/glibc-2.36/sunrpc/
Dsvc_unix.c387 memcpy (CMSG_DATA(cmsg), &cred, sizeof (struct ucred)); in __msgwrite()
Dclnt_unix.c501 memcpy (CMSG_DATA(cmsg), &cred, sizeof (struct ucred)); in __msgwrite()
Dsvc_udp.c281 struct in_pktinfo *pkti = (struct in_pktinfo *) CMSG_DATA (cmsg); in svcudp_recv()
Dclnt_udp.c451 e = (struct sock_extended_err *) CMSG_DATA(cmsg); in clntudp_call()
/glibc-2.36/ChangeLog.old/
DChangeLog.1312428 (CMSG_DATA): Adjust accordingly.
DChangeLog.714117 (CMSG_DATA): Use portable definition.
DChangeLog.1816928 definitions of struct cmsghdr and CMSG_DATA.