/Linux-v4.19/tools/testing/selftests/networking/timestamping/ |
D | timestamping.c | 182 (struct timeval *)CMSG_DATA(cmsg); in printpacket() 190 (struct timespec *)CMSG_DATA(cmsg); in printpacket() 198 (struct timespec *)CMSG_DATA(cmsg); in printpacket() 221 (struct sock_extended_err *)CMSG_DATA(cmsg); in printpacket() 241 (struct in_pktinfo *)CMSG_DATA(cmsg); in printpacket()
|
D | txtimestamp.c | 193 tss = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg() 198 serr = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg() 208 struct in_pktinfo *info = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg() 213 struct in6_pktinfo *info6 = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg()
|
D | rxtimestamp.c | 214 ts = (struct scm_timestamping *)CMSG_DATA(cmsg); in do_recv()
|
/Linux-v4.19/net/core/ |
D | scm.c | 70 int *fdp = (int*)CMSG_DATA(cmsg); in scm_fp_copy() 172 memcpy(&creds, CMSG_DATA(cmsg), sizeof(struct ucred)); in __scm_send() 242 if (copy_to_user(CMSG_DATA(cm), data, cmlen - sizeof(struct cmsghdr))) in put_cmsg() 278 for (i=0, cmfptr=(__force int __user *)CMSG_DATA(cm); i<fdmax; in scm_detach_fds()
|
D | sock.c | 2114 sockc->mark = *(u32 *)CMSG_DATA(cmsg); in __sock_cmsg_send() 2120 tsflags = *(u32 *)CMSG_DATA(cmsg); in __sock_cmsg_send() 2132 sockc->transmit_time = get_unaligned((u64 *)CMSG_DATA(cmsg)); in __sock_cmsg_send()
|
/Linux-v4.19/net/ipv6/ |
D | datagram.c | 781 src_info = (struct in6_pktinfo *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 832 if ((fl6->flowlabel^*(__be32 *)CMSG_DATA(cmsg))&~IPV6_FLOWINFO_MASK) { in ip6_datagram_send_ctl() 837 fl6->flowlabel = IPV6_FLOWINFO_MASK & *(__be32 *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 847 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 867 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 892 hdr = (struct ipv6_opt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 918 rthdr = (struct ipv6_rt_hdr *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 969 ipc6->hlimit = *(int *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 985 tc = *(int *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl() 1003 df = *(int *)CMSG_DATA(cmsg); in ip6_datagram_send_ctl()
|
/Linux-v4.19/tools/testing/selftests/android/ion/ |
D | ipcsocket.c | 148 memcpy(CMSG_DATA(cmsg), &buffd, len); in sendtosocket() 209 memcpy(&buffd, CMSG_DATA(cmsg), len); in receivefromsocket()
|
/Linux-v4.19/net/rxrpc/ |
D | sendmsg.c | 485 p->call.user_call_ID = *(u32 *)CMSG_DATA(cmsg); in rxrpc_sendmsg_cmsg() 490 CMSG_DATA(cmsg); in rxrpc_sendmsg_cmsg() 501 p->abort_code = *(unsigned int *)CMSG_DATA(cmsg); in rxrpc_sendmsg_cmsg() 529 p->call.tx_total_len = *(__s64 *)CMSG_DATA(cmsg); in rxrpc_sendmsg_cmsg() 537 memcpy(&p->call.timeouts, CMSG_DATA(cmsg), len); in rxrpc_sendmsg_cmsg()
|
/Linux-v4.19/net/rds/ |
D | rdma.c | 577 args = CMSG_DATA(cmsg); in rds_cmsg_rdma_args() 750 memcpy(&rm->m_rdma_cookie, CMSG_DATA(cmsg), sizeof(rm->m_rdma_cookie)); in rds_cmsg_rdma_dest() 787 return __rds_rdma_map(rs, CMSG_DATA(cmsg), &rm->m_rdma_cookie, in rds_cmsg_rdma_map() 805 args = CMSG_DATA(cmsg); in rds_cmsg_atomic()
|
D | send.c | 897 retval = rds_rdma_extra_size(CMSG_DATA(cmsg)); in rds_rm_size() 948 cookie = CMSG_DATA(cmsg); in rds_cmsg_zcopy() 1059 args = CMSG_DATA(cmsg); in rds_rdma_bytes()
|
/Linux-v4.19/tools/testing/selftests/net/ |
D | msg_zerocopy.c | 181 memcpy(CMSG_DATA(cm), &cookie, sizeof(cookie)); in add_zcopy_cookie() 382 ck = (struct rds_zcopy_cookies *)CMSG_DATA(cmsg); in do_recvmsg_completion() 425 serr = (void *) CMSG_DATA(cm); in do_recv_completion()
|
D | tcp_inq.c | 178 inq = *((int *) CMSG_DATA(cm)); in main()
|
D | udpgso_bench_tx.c | 209 valp = (void *)CMSG_DATA(cm); in send_udp_segment_cmsg()
|
D | tls.c | 723 *CMSG_DATA(cmsg) = record_type; in TEST_F() 736 record_type = *((unsigned char *)CMSG_DATA(cmsg)); in TEST_F()
|
D | udpgso.c | 484 *((uint16_t *) CMSG_DATA(cm)) = gso_len; in send_one()
|
/Linux-v4.19/net/ipv4/ |
D | ip_sockglue.c | 262 src_info = (struct in6_pktinfo *)CMSG_DATA(cmsg); in ip_cmsg_send() 285 err = ip_options_get(net, &ipc->opt, CMSG_DATA(cmsg), in ip_cmsg_send() 295 info = (struct in_pktinfo *)CMSG_DATA(cmsg); in ip_cmsg_send() 304 val = *(int *)CMSG_DATA(cmsg); in ip_cmsg_send() 311 val = *(int *)CMSG_DATA(cmsg); in ip_cmsg_send() 313 val = *(u8 *)CMSG_DATA(cmsg); in ip_cmsg_send()
|
/Linux-v4.19/arch/um/os-Linux/drivers/ |
D | tuntap_user.c | 123 *fd_out = ((int *) CMSG_DATA(cmsg))[0]; in tuntap_open_tramp()
|
/Linux-v4.19/Documentation/networking/ |
D | tls.txt | 132 *CMSG_DATA(cmsg) = record_type; 172 int record_type = *((unsigned char *)CMSG_DATA(cmsg));
|
D | msg_zerocopy.rst | 197 serr = (void *) CMSG_DATA(cm);
|
/Linux-v4.19/crypto/ |
D | af_alg.c | 458 con->iv = (void *)CMSG_DATA(cmsg); in af_alg_cmsg_send() 467 con->op = *(u32 *)CMSG_DATA(cmsg); in af_alg_cmsg_send() 473 con->aead_assoclen = *(u32 *)CMSG_DATA(cmsg); in af_alg_cmsg_send()
|
/Linux-v4.19/net/sunrpc/ |
D | svcsock.c | 158 struct in_pktinfo *pki = CMSG_DATA(cmh); in svc_set_cmsg_data() 170 struct in6_pktinfo *pki = CMSG_DATA(cmh); in svc_set_cmsg_data() 470 struct in_pktinfo *pki = CMSG_DATA(cmh); in svc_udp_get_dest_address4() 487 struct in6_pktinfo *pki = CMSG_DATA(cmh); in svc_udp_get_dest_address6()
|
/Linux-v4.19/include/linux/ |
D | socket.h | 96 #define CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + sizeof(struct cmsghdr))) macro
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_sock_addr.c | 977 pktinfo4 = (struct in_pktinfo *)CMSG_DATA(cmsg); in init_pktinfo() 986 pktinfo6 = (struct in6_pktinfo *)CMSG_DATA(cmsg); in init_pktinfo()
|
/Linux-v4.19/arch/um/os-Linux/ |
D | file.c | 536 new = ((int *) CMSG_DATA(cmsg))[0]; in os_rcv_fd()
|
/Linux-v4.19/net/tls/ |
D | tls_main.c | 185 *record_type = *(unsigned char *)CMSG_DATA(cmsg); in tls_proccess_cmsg()
|