/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | crypto_linux.c | 451 char buf[CMSG_SPACE(sizeof(u32))]; in linux_af_alg_skcipher_oper() 463 msg.msg_controllen = CMSG_SPACE(sizeof(u32)); in linux_af_alg_skcipher_oper() 542 char buf[CMSG_SPACE(sizeof(u32))]; in rc4_skip() 565 msg.msg_controllen = CMSG_SPACE(sizeof(u32)); in rc4_skip() 612 char buf[CMSG_SPACE(sizeof(u32))]; in des_encrypt() 638 msg.msg_controllen = CMSG_SPACE(sizeof(u32)); in des_encrypt() 697 msg.msg_controllen = CMSG_SPACE(sizeof(u32)) + in aes_128_cbc_oper() 698 CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_128_cbc_oper() 712 hdr->cmsg_len = CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_128_cbc_oper() 806 msg.msg_controllen = CMSG_SPACE(sizeof(u32)) + in aes_unwrap() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | crypto_linux.c | 451 char buf[CMSG_SPACE(sizeof(u32))]; in linux_af_alg_skcipher_oper() 463 msg.msg_controllen = CMSG_SPACE(sizeof(u32)); in linux_af_alg_skcipher_oper() 542 char buf[CMSG_SPACE(sizeof(u32))]; in rc4_skip() 565 msg.msg_controllen = CMSG_SPACE(sizeof(u32)); in rc4_skip() 612 char buf[CMSG_SPACE(sizeof(u32))]; in des_encrypt() 638 msg.msg_controllen = CMSG_SPACE(sizeof(u32)); in des_encrypt() 697 msg.msg_controllen = CMSG_SPACE(sizeof(u32)) + in aes_128_cbc_oper() 698 CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_128_cbc_oper() 712 hdr->cmsg_len = CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_128_cbc_oper() 806 msg.msg_controllen = CMSG_SPACE(sizeof(u32)) + in aes_unwrap() [all …]
|
/third_party/glib/gio/ |
D | gnetworking.h.in | 58 /* CMSG_LEN and CMSG_SPACE are defined by RFC 2292, but missing on 63 /* CMSG_SPACE must add at least as much padding as CMSG_NXTHDR() 67 #define CMSG_SPACE(len) GLIB_ALIGN_TO_SIZEOF (CMSG_LEN (len), struct cmsghdr) macro
|
D | gnetworking.h | 67 #define CMSG_SPACE(len) GLIB_ALIGN_TO_SIZEOF (CMSG_LEN (len), struct cmsghdr) macro
|
/third_party/musl/src/network/ |
D | recvmsg.c | 38 if (CMSG_SPACE(sizeof tvts) > csize-msg->msg_controllen) { in __convert_scm_timestamps() 42 msg->msg_controllen += CMSG_SPACE(sizeof tvts); in __convert_scm_timestamps()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
D | recvmsg.c | 39 if (CMSG_SPACE(sizeof tvts) > csize-msg->msg_controllen) { in __convert_scm_timestamps() 43 msg->msg_controllen += CMSG_SPACE(sizeof tvts); in __convert_scm_timestamps()
|
/third_party/ltp/utils/sctp/lib/ |
D | sendmsg.c | 38 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in sctp_sendmsg() 79 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in sctp_send()
|
D | recvmsg.c | 62 char incmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in sctp_recvmsg()
|
/third_party/ltp/lib/ |
D | tst_af_alg.c | 212 controllen += CMSG_SPACE(sizeof(uint32_t)); in tst_alg_sendmsg() 214 controllen += CMSG_SPACE(sizeof(struct af_alg_iv) + in tst_alg_sendmsg() 217 controllen += CMSG_SPACE(sizeof(uint32_t)); in tst_alg_sendmsg()
|
/third_party/pulseaudio/src/pulsecore/ |
D | iochannel.c | 306 uint8_t data[CMSG_SPACE(sizeof(struct ucred))]; in pa_iochannel_write_with_creds() 358 uint8_t data[CMSG_SPACE(sizeof(int) * MAX_ANCIL_DATA_FDS)]; in pa_iochannel_write_with_fds() 391 mh.msg_controllen = CMSG_SPACE(sizeof(int) * nfd); in pa_iochannel_write_with_fds() 406 … uint8_t data[CMSG_SPACE(sizeof(struct ucred)) + CMSG_SPACE(sizeof(int) * MAX_ANCIL_DATA_FDS)]; in pa_iochannel_read_with_ancil_data()
|
/third_party/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_threads.c | 72 char incmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in t_recv() 96 char outcmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in t_send()
|
D | test_1_to_1_events.c | 60 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main() 61 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
|
D | test_1_to_1_nonblock.c | 75 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main() 79 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main()
|
D | test_assoc_abort.c | 73 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main() 74 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
|
D | test_assoc_shutdown.c | 72 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main() 73 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
|
D | test_inaddr_any.c | 72 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main() 73 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
|
D | test_1_to_1_addrs.c | 90 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main() 94 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main()
|
D | test_fragments.c | 84 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main() 85 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
|
D | test_peeloff.c | 71 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main() 72 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
|
D | test_1_to_1_sendmsg.c | 82 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main() 89 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main()
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/ |
D | user_recv_thread.c | 451 char cmsgbuf[CMSG_SPACE(sizeof (struct in6_pktinfo))]; in recv_function_raw6() 526 memset(cmsgbuf, 0, CMSG_SPACE(sizeof (struct in6_pktinfo))); in recv_function_raw6() 532 msg.msg_controllen = (socklen_t)CMSG_SPACE(sizeof (struct in6_pktinfo)); in recv_function_raw6() 645 char cmsgbuf[CMSG_SPACE(sizeof(struct in_pktinfo))]; in recv_function_udp() 647 char cmsgbuf[CMSG_SPACE(sizeof(struct in_addr))]; in recv_function_udp() 850 char cmsgbuf[CMSG_SPACE(sizeof (struct in6_pktinfo))]; in recv_function_udp6() 895 memset(cmsgbuf, 0, CMSG_SPACE(sizeof (struct in6_pktinfo))); in recv_function_udp6() 903 msg.msg_controllen = (socklen_t)CMSG_SPACE(sizeof (struct in6_pktinfo)); in recv_function_udp6()
|
/third_party/ltp/testcases/network/lib6/ |
D | asapi_03.c | 231 pd += CMSG_SPACE(cmtab[i].cm_len); in sendall() 232 ctotal += CMSG_SPACE(cmtab[i].cm_len); in sendall()
|
/third_party/ffmpeg/libavformat/ |
D | sctp.c | 80 char incmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in ff_sctp_recvmsg() 131 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in ff_sctp_send()
|
/third_party/openssl/crypto/bio/ |
D | bss_dgram.c | 1247 char cmsgbuf[CMSG_SPACE(sizeof(struct sctp_sndinfo)) + in dgram_sctp_write() 1248 CMSG_SPACE(sizeof(struct sctp_prinfo))]; in dgram_sctp_write() 1252 char cmsgbuf[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in dgram_sctp_write() 1302 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_sndinfo)); in dgram_sctp_write() 1305 (struct cmsghdr *)&cmsgbuf[CMSG_SPACE(sizeof(struct sctp_sndinfo))]; in dgram_sctp_write() 1313 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_prinfo)); in dgram_sctp_write() 1329 msg.msg_controllen += CMSG_SPACE(sizeof(struct sctp_sndrcvinfo)); in dgram_sctp_write()
|
/third_party/libcoap/src/ |
D | coap_io.c | 675 char buf[CMSG_SPACE(sizeof(struct in6_pktinfo))]; 705 mhdr.msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo)); 720 mhdr.msg_controllen = CMSG_SPACE(sizeof(struct in_addr)); 734 mhdr.msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo)); 757 mhdr.msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo)); 773 mhdr.msg_controllen = CMSG_SPACE(sizeof(struct in_addr)); 880 char buf[CMSG_SPACE(sizeof(struct in6_pktinfo))];
|