/third_party/glib/gio/ |
D | gnetworking.h | 57 #ifndef CMSG_LEN 61 #define CMSG_LEN(len) ((size_t)CMSG_DATA((struct cmsghdr *)NULL) + (len)) macro 67 #define CMSG_SPACE(len) GLIB_ALIGN_TO_SIZEOF (CMSG_LEN (len), struct cmsghdr)
|
D | gnetworking.h.in | 57 #ifndef CMSG_LEN 58 /* CMSG_LEN and CMSG_SPACE are defined by RFC 2292, but missing on 61 #define CMSG_LEN(len) ((size_t)CMSG_DATA((struct cmsghdr *)NULL) + (len)) macro 67 #define CMSG_SPACE(len) GLIB_ALIGN_TO_SIZEOF (CMSG_LEN (len), struct cmsghdr)
|
/third_party/alsa-lib/src/ |
D | socket.c | 46 size_t cmsg_len = CMSG_LEN(sizeof(int)); in snd_send_fd() 79 size_t cmsg_len = CMSG_LEN(sizeof(int)); in snd_receive_fd()
|
/third_party/ltp/utils/sctp/lib/ |
D | sendmsg.c | 56 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in sctp_sendmsg() 99 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in sctp_send()
|
/third_party/ltp/lib/ |
D | tst_af_alg.c | 228 cmsg->cmsg_len = CMSG_LEN(sizeof(uint32_t)); in tst_alg_sendmsg() 236 cmsg->cmsg_len = CMSG_LEN(sizeof(struct af_alg_iv) + in tst_alg_sendmsg() 246 cmsg->cmsg_len = CMSG_LEN(sizeof(uint32_t)); in tst_alg_sendmsg()
|
/third_party/pulseaudio/src/pulsecore/ |
D | iochannel.c | 320 cmsg.hdr.cmsg_len = CMSG_LEN(sizeof(struct ucred)); in pa_iochannel_write_with_creds() 379 cmsg.hdr.cmsg_len = CMSG_LEN(sizeof(int) * nfd); in pa_iochannel_write_with_fds() 443 pa_assert(cmh->cmsg_len == CMSG_LEN(sizeof(struct ucred))); in pa_iochannel_read_with_ancil_data() 451 int nfd = (cmh->cmsg_len - CMSG_LEN(0)) / sizeof(int); in pa_iochannel_read_with_ancil_data()
|
/third_party/ltp/utils/sctp/func_tests/ |
D | test_assoc_abort.c | 132 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 195 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
|
D | test_assoc_shutdown.c | 132 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 196 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
|
D | test_inaddr_any.c | 164 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 212 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
|
D | test_1_to_1_sendmsg.c | 142 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 300 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
|
D | test_timetolive.c | 206 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 280 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
|
D | test_basic.c | 181 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main() 296 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
|
D | test_1_to_1_threads.c | 110 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in t_send()
|
D | test_1_to_1_events.c | 124 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
|
D | test_1_to_1_nonblock.c | 173 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
|
D | test_1_to_1_addrs.c | 163 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | crypto_linux.c | 469 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in linux_af_alg_skcipher_oper() 571 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in rc4_skip() 644 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in des_encrypt() 705 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in aes_128_cbc_oper() 814 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in aes_unwrap() 950 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in crypto_cipher_oper()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | crypto_linux.c | 469 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in linux_af_alg_skcipher_oper() 571 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in rc4_skip() 644 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in des_encrypt() 705 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in aes_128_cbc_oper() 814 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in aes_unwrap() 950 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in crypto_cipher_oper()
|
/third_party/musl/src/network/ |
D | recvmsg.c | 46 cmsg->cmsg_len = CMSG_LEN(sizeof tvts); in __convert_scm_timestamps()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
D | recvmsg.c | 47 cmsg->cmsg_len = CMSG_LEN(sizeof tvts); in __convert_scm_timestamps()
|
/third_party/wayland_standard/src/ |
D | wayland-os.c | 113 end = (int *)(data + cmsg->cmsg_len - CMSG_LEN(0)); in recvmsg_cloexec_fallback()
|
/third_party/python/Modules/ |
D | socketmodule.h | 63 # undef CMSG_LEN
|
/third_party/libcoap/src/ |
D | coap_io.c | 710 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); 725 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in_addr)); 739 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); 762 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); 778 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in_addr)); 901 cmsg->cmsg_len = CMSG_LEN(sizeof(buf));
|
/third_party/libuv/test/ |
D | test-pipe-sendmsg.c | 132 msg.msg_controllen = CMSG_LEN(sizeof(send_fds)); in TEST_IMPL()
|
/third_party/openssl/engines/ |
D | e_afalg.c | 331 cmsg->cmsg_len = CMSG_LEN(ALG_OP_LEN); in afalg_set_op_sk() 342 cmsg->cmsg_len = CMSG_LEN(ALG_IV_LEN(len)); in afalg_set_iv_sk()
|