Home
last modified time | relevance | path

Searched refs:CMSG_SPACE (Results 1 – 25 of 70) sorted by relevance

123

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_linux.c451 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/
Dcrypto_linux.c451 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/
Dgnetworking.h.in58 /* 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
Dgnetworking.h67 #define CMSG_SPACE(len) GLIB_ALIGN_TO_SIZEOF (CMSG_LEN (len), struct cmsghdr) macro
/third_party/musl/src/network/
Drecvmsg.c38 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/
Drecvmsg.c39 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/
Dsendmsg.c38 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in sctp_sendmsg()
79 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in sctp_send()
Drecvmsg.c62 char incmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in sctp_recvmsg()
/third_party/ltp/lib/
Dtst_af_alg.c212 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/
Diochannel.c306 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/
Dtest_1_to_1_threads.c72 char incmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in t_recv()
96 char outcmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in t_send()
Dtest_1_to_1_events.c60 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main()
61 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
Dtest_1_to_1_nonblock.c75 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
79 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main()
Dtest_assoc_abort.c73 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main()
74 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
Dtest_assoc_shutdown.c72 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main()
73 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
Dtest_inaddr_any.c72 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main()
73 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
Dtest_1_to_1_addrs.c90 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
94 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main()
Dtest_fragments.c84 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main()
85 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
Dtest_peeloff.c71 char incmsg[CMSG_SPACE(sizeof(sctp_cmsg_data_t))]; in main()
72 char outcmsg[CMSG_SPACE(sizeof(struct sctp_sndrcvinfo))]; in main()
Dtest_1_to_1_sendmsg.c82 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/
Duser_recv_thread.c451 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/
Dasapi_03.c231 pd += CMSG_SPACE(cmtab[i].cm_len); in sendall()
232 ctotal += CMSG_SPACE(cmtab[i].cm_len); in sendall()
/third_party/ffmpeg/libavformat/
Dsctp.c80 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/
Dbss_dgram.c1247 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/
Dcoap_io.c675 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))];

123