Home
last modified time | relevance | path

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

1234

/third_party/alsa-lib/src/
Dsocket.c57 cmsg->cmsg_type = SCM_RIGHTS; in snd_send_fd()
90 cmsg->cmsg_type = SCM_RIGHTS; in snd_receive_fd()
/third_party/musl/src/network/
Drecvmsg.c21 if (cmsg->cmsg_level==SOL_SOCKET) switch (cmsg->cmsg_type) { in __convert_scm_timestamps()
45 cmsg->cmsg_type = type; in __convert_scm_timestamps()
/third_party/musl/porting/liteos_a/user/src/network/
Drecvmsg.c22 if (cmsg->cmsg_level==SOL_SOCKET) switch (cmsg->cmsg_type) { in __convert_scm_timestamps()
46 cmsg->cmsg_type = type; in __convert_scm_timestamps()
/third_party/ltp/utils/sctp/lib/
Dsendmsg.c55 cmsg->cmsg_type = SCTP_SNDRCV; in sctp_sendmsg()
98 cmsg->cmsg_type = SCTP_SNDRCV; in sctp_send()
Drecvmsg.c92 (SCTP_SNDRCV == cmsg->cmsg_type)) in sctp_recvmsg()
/third_party/ltp/lib/
Dtst_af_alg.c227 cmsg->cmsg_type = ALG_SET_OP; in tst_alg_sendmsg()
235 cmsg->cmsg_type = ALG_SET_IV; in tst_alg_sendmsg()
245 cmsg->cmsg_type = ALG_SET_AEAD_ASSOCLEN; in tst_alg_sendmsg()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dcrypto_linux.c468 hdr->cmsg_type = ALG_SET_OP; in linux_af_alg_skcipher_oper()
570 hdr->cmsg_type = ALG_SET_OP; in rc4_skip()
643 hdr->cmsg_type = ALG_SET_OP; in des_encrypt()
704 hdr->cmsg_type = ALG_SET_OP; in aes_128_cbc_oper()
711 hdr->cmsg_type = ALG_SET_IV; in aes_128_cbc_oper()
813 hdr->cmsg_type = ALG_SET_OP; in aes_unwrap()
820 hdr->cmsg_type = ALG_SET_IV; in aes_unwrap()
909 hdr->cmsg_type = ALG_SET_IV; in crypto_cipher_init()
949 hdr->cmsg_type = ALG_SET_OP; in crypto_cipher_oper()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_linux.c468 hdr->cmsg_type = ALG_SET_OP; in linux_af_alg_skcipher_oper()
570 hdr->cmsg_type = ALG_SET_OP; in rc4_skip()
643 hdr->cmsg_type = ALG_SET_OP; in des_encrypt()
704 hdr->cmsg_type = ALG_SET_OP; in aes_128_cbc_oper()
711 hdr->cmsg_type = ALG_SET_IV; in aes_128_cbc_oper()
813 hdr->cmsg_type = ALG_SET_OP; in aes_unwrap()
820 hdr->cmsg_type = ALG_SET_IV; in aes_unwrap()
909 hdr->cmsg_type = ALG_SET_IV; in crypto_cipher_init()
949 hdr->cmsg_type = ALG_SET_OP; in crypto_cipher_oper()
/third_party/ltp/testcases/network/lib6/
Dasapi_03.c229 pcmsg->cmsg_type = cmtab[i].cm_type; in sendall()
353 pcmsg->cmsg_type == psoe->so_cmtype; in so_test()
360 pcmsg->cmsg_type, pcmsg->cmsg_len); in so_test()
/third_party/libcoap/src/
Dcoap_io.c709 cmsg->cmsg_type = IP_PKTINFO;
724 cmsg->cmsg_type = IP_SENDSRCADDR;
738 cmsg->cmsg_type = IPV6_PKTINFO;
761 cmsg->cmsg_type = IP_PKTINFO;
777 cmsg->cmsg_type = IP_SENDSRCADDR;
903 cmsg->cmsg_type = -1;
950 if (cmsg->cmsg_level == IPPROTO_IPV6 && cmsg->cmsg_type == IPV6_PKTINFO) {
965 if (cmsg->cmsg_level == SOL_IP && cmsg->cmsg_type == IP_PKTINFO) {
986 if (cmsg->cmsg_level == IPPROTO_IP && cmsg->cmsg_type == IP_RECVDSTADDR) {
997 if (cmsg->cmsg_level != -1 && cmsg->cmsg_type != -1) {
[all …]
/third_party/pulseaudio/src/pulsecore/
Diochannel.c322 cmsg.hdr.cmsg_type = SCM_CREDENTIALS; in pa_iochannel_write_with_creds()
375 cmsg.hdr.cmsg_type = SCM_RIGHTS; in pa_iochannel_write_with_fds()
441 if (cmh->cmsg_type == SCM_CREDENTIALS) { in pa_iochannel_read_with_ancil_data()
450 else if (cmh->cmsg_type == SCM_RIGHTS) { in pa_iochannel_read_with_ancil_data()
/third_party/ltp/utils/sctp/func_tests/
Dtest_assoc_abort.c131 cmsg->cmsg_type = SCTP_SNDRCV; in main()
194 cmsg->cmsg_type = SCTP_SNDRCV; in main()
Dtest_assoc_shutdown.c131 cmsg->cmsg_type = SCTP_SNDRCV; in main()
195 cmsg->cmsg_type = SCTP_SNDRCV; in main()
Dtest_inaddr_any.c163 cmsg->cmsg_type = SCTP_SNDRCV; in main()
211 cmsg->cmsg_type = SCTP_SNDRCV; in main()
Dtest_1_to_1_sendmsg.c141 cmsg->cmsg_type = SCTP_SNDRCV; in main()
299 cmsg->cmsg_type = SCTP_SNDRCV; in main()
Dtest_timetolive.c205 cmsg->cmsg_type = SCTP_SNDRCV; in main()
279 cmsg->cmsg_type = SCTP_SNDRCV; in main()
Dtest_basic.c180 cmsg->cmsg_type = SCTP_SNDRCV; in main()
295 cmsg->cmsg_type = SCTP_SNDRCV; in main()
Dtest_1_to_1_threads.c109 cmsg->cmsg_type = SCTP_SNDRCV; in t_send()
/third_party/grpc/src/core/lib/iomgr/
Dtcp_posix.cc802 if (cmsg->cmsg_level == SOL_TCP && cmsg->cmsg_type == TCP_CM_INQ && in tcp_do_read()
1022 cmsg->cmsg_type = SO_TIMESTAMPING; in tcp_write_with_timestamps()
1069 return (cmsg.cmsg_level == SOL_IPV6 && cmsg.cmsg_type == IPV6_RECVERR) || in CmsgIsIpLevel()
1070 (cmsg.cmsg_level == SOL_IP && cmsg.cmsg_type == IP_RECVERR); in CmsgIsIpLevel()
1101 next_cmsg->cmsg_type == SCM_TIMESTAMPING_OPT_STATS) { in process_timestamp()
1113 !(next_cmsg->cmsg_type == IP_RECVERR || in process_timestamp()
1114 next_cmsg->cmsg_type == IPV6_RECVERR)) { in process_timestamp()
1195 cmsg->cmsg_type == SCM_TIMESTAMPING) { in process_errors()
1205 cmsg->cmsg_level, cmsg->cmsg_type); in process_errors()
/third_party/python/Lib/multiprocessing/
Dreduction.py166 cmsg_level, cmsg_type, cmsg_data = ancdata[0]
168 cmsg_type == socket.SCM_RIGHTS):
/third_party/ltp/utils/sctp/testlib/
Dsctputil.c109 test_print_cmsg(cmsg->cmsg_type, data); in test_print_message()
289 SCTP_SNDRCV == cmsg->cmsg_type) in test_check_msg_data()
/third_party/ffmpeg/libavformat/
Dsctp.c105 (SCTP_SNDRCV == cmsg->cmsg_type)) in ff_sctp_recvmsg()
140 cmsg->cmsg_type = SCTP_SNDRCV; in ff_sctp_send()
/third_party/wayland_standard/src/
Dwayland-os.c109 cmsg->cmsg_type != SCM_RIGHTS) in recvmsg_cloexec_fallback()
/third_party/musl/libc-test/src/api/
Dsys_socket.c39 F(int,cmsg_type) in f()
/third_party/libuv/test/
Dtest-pipe-sendmsg.c137 cmsg->cmsg_type = SCM_RIGHTS; in TEST_IMPL()

1234