/third_party/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_sockopt.c | 116 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 119 error = setsockopt(-1, IPPROTO_SCTP, 0, 0, 0); in main() 132 error = setsockopt(fd, IPPROTO_SCTP, 0, 0, 0); in main() 152 error = setsockopt(sk, IPPROTO_SCTP, SCTP_RTOINFO, in main() 161 error = setsockopt(sk, IPPROTO_SCTP, SCTP_AUTOCLOSE, 0, 0); in main() 169 error = getsockopt(-1, IPPROTO_SCTP, 0, 0, 0); in main() 182 error = getsockopt(fd, IPPROTO_SCTP, 0, 0, 0); in main() 208 error = getsockopt(sk, IPPROTO_SCTP, SCTP_RTOINFO, in main() 217 error = getsockopt(sk, IPPROTO_SCTP, SCTP_AUTOCLOSE, &grtinfo, &len); in main() 226 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() [all …]
|
D | test_1_to_1_rtoinfo.c | 73 sd = test_socket (PF_INET, SOCK_STREAM, IPPROTO_SCTP); in main() 78 ret = getsockopt(sd, IPPROTO_SCTP, SCTP_RTOINFO, &grtoinfo, &len); in main() 91 ret = setsockopt(sd, IPPROTO_SCTP, SCTP_RTOINFO, &srtoinfo, in main() 100 ret = getsockopt(sd, IPPROTO_SCTP, SCTP_RTOINFO, &grtoinfo, &len); in main()
|
D | test_1_to_1_socket_bind_listen.c | 106 sk = socket(-1, SOCK_STREAM, IPPROTO_SCTP); in main() 114 sk = socket(pf_class, -1, IPPROTO_SCTP); in main() 122 sk = socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 193 sk = socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 225 sk = socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 242 sk = socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_sendmsg.c | 104 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 106 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 108 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 140 cmsg->cmsg_level = IPPROTO_SCTP; in main() 263 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 265 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 298 cmsg->cmsg_level = IPPROTO_SCTP; in main() 348 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_connectx.c | 91 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 92 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 95 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 99 clnt_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 101 clnt2_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_accept_close.c | 98 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 101 new_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 105 clnt_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 108 clnt2_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 111 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_connect.c | 92 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 93 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 96 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 100 clnt_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 102 clnt2_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_send.c | 89 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 91 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 93 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 182 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 184 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_sockopt.c | 153 udp_svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 154 udp_clt_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 191 cmsg->cmsg_level = IPPROTO_SCTP; in main() 287 udp_svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 288 udp_clt_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 365 udp_svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 366 udp_clt_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 388 cmsg->cmsg_level = IPPROTO_SCTP; in main() 430 error = getsockopt(udp_clt_sk, IPPROTO_SCTP, SCTP_STATUS, in main() 449 udp_svr_sk = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() [all …]
|
D | test_1_to_1_sendto.c | 84 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 86 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 139 sk1 = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_assoc_shutdown.c | 96 svr_sk = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 111 clt_sk[i] = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 130 cmsg->cmsg_level = IPPROTO_SCTP; in main() 194 cmsg->cmsg_level = IPPROTO_SCTP; in main()
|
D | test_assoc_abort.c | 97 svr_sk = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 111 clt_sk[i] = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 130 cmsg->cmsg_level = IPPROTO_SCTP; in main() 193 cmsg->cmsg_level = IPPROTO_SCTP; in main()
|
D | test_inaddr_any.c | 120 sk1 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 121 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 162 cmsg->cmsg_level = IPPROTO_SCTP; in main() 210 cmsg->cmsg_level = IPPROTO_SCTP; in main()
|
D | test_1_to_1_threads.c | 108 cmsg->cmsg_level = IPPROTO_SCTP; in t_send() 156 server_sk = test_socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP); in main() 157 client_sk = test_socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_1_to_1_events.c | 90 svr_sk = test_socket(AF_INET, SOCK_STREAM, IPPROTO_SCTP); in main() 97 clt_sk = test_socket(AF_INET, SOCK_STREAM, IPPROTO_SCTP); in main() 122 cmsg->cmsg_level = IPPROTO_SCTP; in main()
|
D | test_1_to_1_nonblock.c | 94 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 96 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 171 cmsg->cmsg_level = IPPROTO_SCTP; in main()
|
D | test_1_to_1_shutdown.c | 93 sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 94 lstn_sk = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main() 101 clnt_sk[i] = test_socket(pf_class, SOCK_STREAM, IPPROTO_SCTP); in main()
|
D | test_timetolive.c | 150 sk1 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 151 sk2 = test_socket(pf_class, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 204 cmsg->cmsg_level = IPPROTO_SCTP; in main() 265 error = getsockopt(sk1, IPPROTO_SCTP, SCTP_STATUS, &gstatus, &len); in main() 278 cmsg->cmsg_level = IPPROTO_SCTP; in main()
|
D | test_connect.c | 94 svr_sk = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 101 clt_sk1 = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main() 103 clt_sk2 = test_socket(AF_INET, SOCK_SEQPACKET, IPPROTO_SCTP); in main()
|
/third_party/openssl/crypto/bio/ |
D | bss_dgram.c | 824 setsockopt(fd, IPPROTO_SCTP, SCTP_AUTH_CHUNK, &auth, in BIO_new_dgram_sctp() 834 setsockopt(fd, IPPROTO_SCTP, SCTP_AUTH_CHUNK, &auth, in BIO_new_dgram_sctp() 855 ret = getsockopt(fd, IPPROTO_SCTP, SCTP_LOCAL_AUTH_CHUNKS, authchunks, in BIO_new_dgram_sctp() 889 setsockopt(fd, IPPROTO_SCTP, SCTP_EVENT, &event, in BIO_new_dgram_sctp() 897 ret = getsockopt(fd, IPPROTO_SCTP, SCTP_EVENTS, &event, &sockopt_len); in BIO_new_dgram_sctp() 906 setsockopt(fd, IPPROTO_SCTP, SCTP_EVENTS, &event, in BIO_new_dgram_sctp() 920 setsockopt(fd, IPPROTO_SCTP, SCTP_PARTIAL_DELIVERY_POINT, &optval, in BIO_new_dgram_sctp() 982 ret = setsockopt(b->num, IPPROTO_SCTP, SCTP_AUTH_DELETE_KEY, in dgram_sctp_handle_auth_free_key_event() 1023 if (cmsg->cmsg_level != IPPROTO_SCTP) in dgram_sctp_read() 1075 i = setsockopt(b->num, IPPROTO_SCTP, SCTP_EVENT, &event, in dgram_sctp_read() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/bio/ |
D | bss_dgram.c | 824 setsockopt(fd, IPPROTO_SCTP, SCTP_AUTH_CHUNK, &auth, in BIO_new_dgram_sctp() 834 setsockopt(fd, IPPROTO_SCTP, SCTP_AUTH_CHUNK, &auth, in BIO_new_dgram_sctp() 855 ret = getsockopt(fd, IPPROTO_SCTP, SCTP_LOCAL_AUTH_CHUNKS, authchunks, in BIO_new_dgram_sctp() 889 setsockopt(fd, IPPROTO_SCTP, SCTP_EVENT, &event, in BIO_new_dgram_sctp() 897 ret = getsockopt(fd, IPPROTO_SCTP, SCTP_EVENTS, &event, &sockopt_len); in BIO_new_dgram_sctp() 906 setsockopt(fd, IPPROTO_SCTP, SCTP_EVENTS, &event, in BIO_new_dgram_sctp() 920 setsockopt(fd, IPPROTO_SCTP, SCTP_PARTIAL_DELIVERY_POINT, &optval, in BIO_new_dgram_sctp() 982 ret = setsockopt(b->num, IPPROTO_SCTP, SCTP_AUTH_DELETE_KEY, in dgram_sctp_handle_auth_free_key_event() 1023 if (cmsg->cmsg_level != IPPROTO_SCTP) in dgram_sctp_read() 1075 i = setsockopt(b->num, IPPROTO_SCTP, SCTP_EVENT, &event, in dgram_sctp_read() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/sendto/ |
D | sendto02.c | 29 #ifndef IPPROTO_SCTP 30 # define IPPROTO_SCTP 132 macro 38 sockfd = socket(AF_INET, SOCK_STREAM, IPPROTO_SCTP); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/bind/ |
D | bind04.c | 50 {SOCK_STREAM, IPPROTO_SCTP, (struct sockaddr *)&ipv4_addr, 56 {SOCK_STREAM, IPPROTO_SCTP, (struct sockaddr *)&ipv4_any_addr, 64 {SOCK_STREAM, IPPROTO_SCTP, (struct sockaddr *)&ipv6_addr, 70 {SOCK_STREAM, IPPROTO_SCTP, (struct sockaddr *)&ipv6_any_addr,
|
/third_party/ffmpeg/libavformat/ |
D | sctp.c | 104 if ((IPPROTO_SCTP == cmsg->cmsg_level) && in ff_sctp_recvmsg() 139 cmsg->cmsg_level = IPPROTO_SCTP; in ff_sctp_send() 223 fd = ff_socket(cur_ai->ai_family, SOCK_STREAM, IPPROTO_SCTP); in sctp_open() 249 if (setsockopt(fd, IPPROTO_SCTP, SCTP_EVENTS, &event, in sctp_open() 259 if (setsockopt(fd, IPPROTO_SCTP, SCTP_INITMSG, &initparams, in sctp_open()
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/ |
D | sctpassociation.c | 554 usrsctp_setsockopt (self->sctp_ass_sock, IPPROTO_SCTP, SCTP_RESET_STREAMS, in gst_sctp_association_reset_stream() 602 usrsctp_socket (AF_CONN, sock_type, IPPROTO_SCTP, receive_cb, NULL, 0, in create_sctp_socket() 640 if (usrsctp_setsockopt (sock, IPPROTO_SCTP, SCTP_REUSE_PORT, &value, in create_sctp_socket() 646 if (usrsctp_setsockopt (sock, IPPROTO_SCTP, SCTP_NODELAY, &value, in create_sctp_socket() 653 if (usrsctp_setsockopt (sock, IPPROTO_SCTP, SCTP_EXPLICIT_EOR, &value, in create_sctp_socket() 664 if (usrsctp_setsockopt (sock, IPPROTO_SCTP, SCTP_ENABLE_STREAM_RESET, in create_sctp_socket() 677 if (usrsctp_setsockopt (sock, IPPROTO_SCTP, SCTP_EVENT, in create_sctp_socket() 744 usrsctp_getsockopt (self->sctp_ass_sock, IPPROTO_SCTP, in client_role_connect() 756 ret = usrsctp_setsockopt (self->sctp_ass_sock, IPPROTO_SCTP, in client_role_connect()
|