Home
last modified time | relevance | path

Searched refs:CMSG_DATA (Results 1 – 25 of 81) sorted by relevance

1234

/third_party/musl/src/network/
Drecvmsg.c29 memcpy(&tmp, CMSG_DATA(cmsg), sizeof tmp); in __convert_scm_timestamps()
31 memcpy(&tmp, CMSG_DATA(cmsg) + sizeof tmp, sizeof tmp); in __convert_scm_timestamps()
47 memcpy(CMSG_DATA(cmsg), &tvts, sizeof tvts); in __convert_scm_timestamps()
/third_party/musl/porting/liteos_a/user/src/network/
Drecvmsg.c30 memcpy(&tmp, CMSG_DATA(cmsg), sizeof tmp); in __convert_scm_timestamps()
32 memcpy(&tmp, CMSG_DATA(cmsg) + sizeof tmp, sizeof tmp); in __convert_scm_timestamps()
48 memcpy(CMSG_DATA(cmsg), &tvts, sizeof tvts); in __convert_scm_timestamps()
/third_party/alsa-lib/src/
Dsocket.c48 int *fds = (int *) CMSG_DATA(cmsg); in snd_send_fd()
81 int *fds = (int *) CMSG_DATA(cmsg); in snd_receive_fd()
/third_party/ltp/utils/sctp/lib/
Dsendmsg.c59 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in sctp_sendmsg()
102 memcpy(CMSG_DATA(cmsg), sinfo, sizeof(struct sctp_sndrcvinfo)); in sctp_send()
Drecvmsg.c98 memcpy(sinfo, CMSG_DATA(cmsg), sizeof(struct sctp_sndrcvinfo)); in sctp_recvmsg()
/third_party/ltp/lib/
Dtst_af_alg.c229 *(uint32_t *)CMSG_DATA(cmsg) = in tst_alg_sendmsg()
238 alg_iv = (struct af_alg_iv *)CMSG_DATA(cmsg); in tst_alg_sendmsg()
247 *(uint32_t *)CMSG_DATA(cmsg) = params->assoclen; in tst_alg_sendmsg()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_linux.c470 op = (u32 *) CMSG_DATA(hdr); in linux_af_alg_skcipher_oper()
572 op = (u32 *) CMSG_DATA(hdr); in rc4_skip()
645 op = (u32 *) CMSG_DATA(hdr); in des_encrypt()
706 op = (u32 *) CMSG_DATA(hdr); in aes_128_cbc_oper()
713 alg_iv = (struct af_alg_iv *) CMSG_DATA(hdr); in aes_128_cbc_oper()
815 op = (u32 *) CMSG_DATA(hdr); in aes_unwrap()
822 alg_iv = (struct af_alg_iv *) CMSG_DATA(hdr); in aes_unwrap()
911 alg_iv = (struct af_alg_iv *) CMSG_DATA(hdr); in crypto_cipher_init()
951 op = (u32 *) CMSG_DATA(hdr); in crypto_cipher_oper()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_linux.c470 op = (u32 *) CMSG_DATA(hdr); in linux_af_alg_skcipher_oper()
572 op = (u32 *) CMSG_DATA(hdr); in rc4_skip()
645 op = (u32 *) CMSG_DATA(hdr); in des_encrypt()
706 op = (u32 *) CMSG_DATA(hdr); in aes_128_cbc_oper()
713 alg_iv = (struct af_alg_iv *) CMSG_DATA(hdr); in aes_128_cbc_oper()
815 op = (u32 *) CMSG_DATA(hdr); in aes_unwrap()
822 alg_iv = (struct af_alg_iv *) CMSG_DATA(hdr); in aes_unwrap()
911 alg_iv = (struct af_alg_iv *) CMSG_DATA(hdr); in crypto_cipher_init()
951 op = (u32 *) CMSG_DATA(hdr); in crypto_cipher_oper()
/third_party/musl/libc-test/src/api/
Dsys_socket.c42 #ifndef CMSG_DATA in f()
43 #error no CMSG_DATA in f()
/third_party/pulseaudio/src/pulsecore/
Diochannel.c324 u = (struct ucred*) CMSG_DATA(&cmsg.hdr); in pa_iochannel_write_with_creds()
377 msgdata = (int*) CMSG_DATA(&cmsg.hdr); in pa_iochannel_write_with_fds()
444 memcpy(&u, CMSG_DATA(cmh), sizeof(struct ucred)); in pa_iochannel_read_with_ancil_data()
456 pa_close(((int*) CMSG_DATA(cmh))[i]); in pa_iochannel_read_with_ancil_data()
459 memcpy(ancil_data->fds, CMSG_DATA(cmh), nfd * sizeof(int)); in pa_iochannel_read_with_ancil_data()
/third_party/libcoap/src/
Dcoap_io.c34 # undef CMSG_DATA
35 # define CMSG_DATA WSA_CMSG_DATA macro
641 #undef CMSG_DATA
642 #define CMSG_DATA WSA_CMSG_DATA macro
712 pktinfo = (struct in_pktinfo *)CMSG_DATA(cmsg);
727 memcpy(CMSG_DATA(cmsg),
741 pktinfo = (struct in6_pktinfo *)CMSG_DATA(cmsg);
764 pktinfo = (struct in_pktinfo *)CMSG_DATA(cmsg);
780 memcpy(CMSG_DATA(cmsg),
955 u.c = CMSG_DATA(cmsg);
[all …]
Dcoap_tcp.c28 # undef CMSG_DATA
29 # define CMSG_DATA WSA_CMSG_DATA macro
/third_party/glib/gio/
Dgnetworking.h61 #define CMSG_LEN(len) ((size_t)CMSG_DATA((struct cmsghdr *)NULL) + (len))
/third_party/ltp/utils/sctp/func_tests/
Dtest_assoc_abort.c134 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
197 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
Dtest_assoc_shutdown.c134 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
198 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
Dtest_inaddr_any.c166 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
214 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
Dtest_1_to_1_sendmsg.c144 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
302 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
Dtest_timetolive.c208 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
282 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
Dtest_basic.c183 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
298 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in main()
Dtest_1_to_1_threads.c113 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in t_send()
/third_party/ltp/utils/sctp/testlib/
Dsctputil.c108 data = (sctp_cmsg_data_t *)CMSG_DATA(cmsg); in test_print_message()
297 sinfo = (struct sctp_sndrcvinfo *)CMSG_DATA(cmsg); in test_check_msg_data()
/third_party/ffmpeg/libavformat/
Dsctp.c111 memcpy(sinfo, CMSG_DATA(cmsg), sizeof(struct sctp_sndrcvinfo)); in ff_sctp_recvmsg()
144 memcpy(CMSG_DATA(cmsg), sinfo, sizeof(struct sctp_sndrcvinfo)); in ff_sctp_send()
/third_party/wayland_standard/src/
Dwayland-os.c112 data = CMSG_DATA(cmsg); in recvmsg_cloexec_fallback()
/third_party/gstreamer/gstplugins_bad/ext/avtp/
Dgstavtpsink.c396 serr = (void *) CMSG_DATA (cmsg); in gst_avtp_sink_process_error_queue()
438 *(__u64 *) CMSG_DATA (cmsg) = UTC_TO_TAI (base_time + running_time); in gst_avtp_sink_render()
/third_party/libuv/test/
Dtest-pipe-sendmsg.c142 void* pv = CMSG_DATA(cmsg); in TEST_IMPL()

1234