/external/usrsctp/programs/ |
D | ekr_loop.c | 192 struct sockaddr_conn *sconn; 194 sconn = (struct sockaddr_conn *)addr; 239 struct sockaddr_conn *sconn; 241 sconn = (struct sockaddr_conn *)addr; 265 struct sockaddr_conn sconn; 426 paddrparams.spp_address.ss_len = sizeof(struct sockaddr_conn); 458 memset(&sconn, 0, sizeof(struct sockaddr_conn)); 461 sconn.sconn_len = sizeof(struct sockaddr_conn); 465 if (usrsctp_bind(s_c, (struct sockaddr *)&sconn, sizeof(struct sockaddr_conn)) < 0) { 470 memset(&sconn, 0, sizeof(struct sockaddr_conn)); [all …]
|
D | ekr_loop_offload.c | 211 struct sockaddr_conn *sconn; 213 sconn = (struct sockaddr_conn *)addr; 258 struct sockaddr_conn *sconn; 260 sconn = (struct sockaddr_conn *)addr; 284 struct sockaddr_conn sconn; 464 memset(&sconn, 0, sizeof(struct sockaddr_conn)); 467 sconn.sconn_len = sizeof(struct sockaddr_conn); 471 if (usrsctp_bind(s_c, (struct sockaddr *)&sconn, sizeof(struct sockaddr_conn)) < 0) { 476 memset(&sconn, 0, sizeof(struct sockaddr_conn)); 479 sconn.sconn_len = sizeof(struct sockaddr_conn); [all …]
|
D | ekr_loop_upcall.c | 226 struct sockaddr_conn *sconn; 228 sconn = (struct sockaddr_conn *)addr; 273 struct sockaddr_conn *sconn; 275 sconn = (struct sockaddr_conn *)addr; 299 struct sockaddr_conn sconn; 488 memset(&sconn, 0, sizeof(struct sockaddr_conn)); 491 sconn.sconn_len = sizeof(struct sockaddr_conn); 495 if (usrsctp_bind(s_c, (struct sockaddr *)&sconn, sizeof(struct sockaddr_conn)) < 0) { 500 memset(&sconn, 0, sizeof(struct sockaddr_conn)); 503 sconn.sconn_len = sizeof(struct sockaddr_conn); [all …]
|
D | ekr_client.c | 160 struct sockaddr_conn sconn; 264 memset(&sconn, 0, sizeof(struct sockaddr_conn)); 267 sconn.sconn_len = sizeof(struct sockaddr_conn); 271 if (usrsctp_bind(s, (struct sockaddr *)&sconn, sizeof(struct sockaddr_conn)) < 0) { 275 memset(&sconn, 0, sizeof(struct sockaddr_conn)); 278 sconn.sconn_len = sizeof(struct sockaddr_conn); 282 if (usrsctp_connect(s, (struct sockaddr *)&sconn, sizeof(struct sockaddr_conn)) < 0) {
|
D | ekr_peer.c | 150 struct sockaddr_conn sconn; 271 memset(&sconn, 0, sizeof(struct sockaddr_conn)); 274 sconn.sconn_len = sizeof(struct sockaddr_conn); 278 if (usrsctp_bind(s, (struct sockaddr *)&sconn, sizeof(struct sockaddr_conn)) < 0) { 281 memset(&sconn, 0, sizeof(struct sockaddr_conn)); 284 sconn.sconn_len = sizeof(struct sockaddr_conn); 288 if (usrsctp_connect(s, (struct sockaddr *)&sconn, sizeof(struct sockaddr_conn)) < 0) {
|
D | st_client.c | 257 struct sockaddr_conn sconn; 351 memset(&sconn, 0, sizeof(struct sockaddr_conn)); 354 sconn.sconn_len = sizeof(struct sockaddr_conn); 358 if (usrsctp_bind(s, (struct sockaddr *)&sconn, sizeof(struct sockaddr_conn)) < 0) { 363 memset(&sconn, 0, sizeof(struct sockaddr_conn)); 366 sconn.sconn_len = sizeof(struct sockaddr_conn); 371 retval = usrsctp_connect(s, (struct sockaddr *)&sconn, sizeof(struct sockaddr_conn));
|
D | ekr_server.c | 160 struct sockaddr_conn sconn; 261 memset(&sconn, 0, sizeof(struct sockaddr_conn)); 264 sconn.sconn_len = sizeof(struct sockaddr_conn); 268 if (usrsctp_bind(s, (struct sockaddr *)&sconn, sizeof(struct sockaddr_conn)) < 0) {
|
D | programs_helper.c | 151 struct sockaddr_conn *sconn; 163 sconn = (struct sockaddr_conn *)&spc->spc_aaddr;
|
/external/usrsctp/fuzzer/ |
D | fuzzer_listen.c | 51 struct sockaddr_conn sconn; 122 memset(&sconn, 0, sizeof(struct sockaddr_conn)); in init_fuzzer() 125 sconn.sconn_len = sizeof(struct sockaddr_conn); in init_fuzzer() 129 if (usrsctp_bind(s_l, (struct sockaddr *)&sconn, sizeof(struct sockaddr_conn)) < 0) { in init_fuzzer()
|
D | fuzzer_connect.c | 174 struct sockaddr_conn sconn; in LLVMFuzzerTestOneInput() 357 memset(&sconn, 0, sizeof(struct sockaddr_conn)); in LLVMFuzzerTestOneInput() 360 sconn.sconn_len = sizeof(struct sockaddr_conn); in LLVMFuzzerTestOneInput() 366 result = usrsctp_connect(socket_client, (struct sockaddr *)&sconn, sizeof(struct sockaddr_conn)); in LLVMFuzzerTestOneInput()
|
/external/webrtc/media/sctp/ |
D | sctp_transport.h | 35 struct sockaddr_conn; 177 sockaddr_conn GetSctpSockAddr(int port);
|
D | sctp_transport.cc | 414 struct sockaddr_conn* sconn = in GetTransportFromSocket() 415 reinterpret_cast<struct sockaddr_conn*>(&addrs[0]); in GetTransportFromSocket() 729 sockaddr_conn local_sconn = GetSctpSockAddr(local_port_); in Connect() 739 sockaddr_conn remote_sconn = GetSctpSockAddr(remote_port_); in Connect() 1051 sockaddr_conn SctpTransport::GetSctpSockAddr(int port) { in GetSctpSockAddr() 1052 sockaddr_conn sconn = {0}; in GetSctpSockAddr() 1055 sconn.sconn_len = sizeof(sockaddr_conn); in GetSctpSockAddr()
|
/external/usrsctp/usrsctplib/ |
D | user_socket.c | 751 sa_len = sizeof(struct sockaddr_conn); in usrsctp_getassocid() 1091 *fromlenp = sizeof(struct sockaddr_conn); in userspace_sctp_recvmsg() 1241 *fromlenp = sizeof(struct sockaddr_conn); in usrsctp_recvv() 1871 sa_len = sizeof(struct sockaddr_conn); in user_accept() 2930 sa = (struct sockaddr *)((caddr_t)sa + sizeof(struct sockaddr_conn)); 3013 sa = (struct sockaddr *)((caddr_t)sa + sizeof(struct sockaddr_conn)); 3348 struct sockaddr_conn sconn; 3350 memset(&sconn, 0, sizeof(struct sockaddr_conn)); 3353 sconn.sconn_len = sizeof(struct sockaddr_conn); 3371 struct sockaddr_conn sconn; [all …]
|
D | usrsctp.h | 124 struct sockaddr_conn { struct 131 struct sockaddr_conn { argument 141 struct sockaddr_conn sconn; argument
|
/external/usrsctp/usrsctplib/netinet/ |
D | sctp_pcb.c | 697 memcpy(&sctp_ifap->address, addr, sizeof(struct sockaddr_conn)); 1054 struct sockaddr_conn *sconn, *rsconn; 1057 rsconn = (struct sockaddr_conn *)to; 1123 struct sockaddr_conn *sconn, *rsconn; 1126 rsconn = (struct sockaddr_conn *)to; 1193 lport = ((struct sockaddr_conn *)to)->sconn_port; 1194 rport = ((struct sockaddr_conn *)from)->sconn_port; 1322 struct sockaddr_conn *intf_addr, *sconn; 1325 sconn = (struct sockaddr_conn *)to; 1426 struct sockaddr_conn *sconn, *rsconn; [all …]
|
D | sctp_usrreq.c | 849 (addr->sa_len != sizeof(struct sockaddr_conn))) { 1498 memcpy(ss, sa, sizeof(struct sockaddr_conn)); 1748 if (actual + sizeof(struct sockaddr_conn) > limit) { 1751 memcpy(sas, &sctp_ifa->address.sconn, sizeof(struct sockaddr_conn)); 1752 ((struct sockaddr_conn *)sas)->sconn_port = inp->sctp_lport; 1753 sas = (struct sockaddr_storage *)((caddr_t)sas + sizeof(struct sockaddr_conn)); 1754 actual += sizeof(struct sockaddr_conn); 1791 sa_len = sizeof(struct sockaddr_conn); 1818 ((struct sockaddr_conn *)sas)->sconn_port = inp->sctp_lport; 1911 cnt += sizeof(struct sockaddr_conn); [all …]
|
D | sctputil.c | 3472 memcpy(&spc->spc_aaddr, sa, sizeof(struct sockaddr_conn)); in sctp_notify_peer_addr_change() 5040 struct sockaddr_conn *sconn_1, *sconn_2; 5042 sconn_1 = (struct sockaddr_conn *)sa1; 5043 sconn_2 = (struct sockaddr_conn *)sa2; 5113 struct sockaddr_conn *sconn; 5115 sconn = (struct sockaddr_conn *)sa; 5858 if (((struct sockaddr_conn *)addr)->sconn_addr == laddr->ifa->address.sconn.sconn_addr) { 5913 struct sockaddr_conn *sconn; 5916 sconn = (struct sockaddr_conn *)addr; 5988 if (((struct sockaddr_conn *)addr)->sconn_addr == sctp_ifap->address.sconn.sconn_addr) { [all …]
|
D | sctp_output.c | 5059 struct sockaddr_conn *sconn; 5062 sconn = (struct sockaddr_conn *)to; 5773 struct sockaddr_conn *sac; 5849 struct sockaddr_conn *srcc; 5851 sac = (struct sockaddr_conn *)sa; 5852 srcc = (struct sockaddr_conn *)src; 5998 struct sockaddr_conn *dstconn = (struct sockaddr_conn *)dst; 5999 struct sockaddr_conn *srcconn = (struct sockaddr_conn *)src; 6000 struct sockaddr_conn *sconn; 6358 sconn = (struct sockaddr_conn *)to; [all …]
|
D | sctp_os_userspace.h | 1036 struct sockaddr_conn { struct
|
D | sctp_input.c | 673 if (cp->heartbeat.hb_info.addr_len == sizeof(struct sockaddr_conn)) { in sctp_handle_heartbeat_ack() 2446 memset(&store.sconn, 0, sizeof(struct sockaddr_conn)); 2449 store.sconn.sconn_len = sizeof(struct sockaddr_conn); 2606 struct sockaddr_conn sconn; 2819 memset(&sconn, 0, sizeof(struct sockaddr_conn)); 2822 sconn.sconn_len = sizeof(struct sockaddr_conn);
|
D | sctp_uio.h | 1143 struct sockaddr_conn sconn;
|
/external/usrsctp/ |
D | meson.build | 148 # Feature: sockaddr_in.sin_len / sockaddr_in6.sin6_len / sockaddr_conn.sconn_len 161 have_sconn_len = compiler.has_member('struct sockaddr_conn', 'sconn_len', prefix: '#include "usrsct…
|
D | configure.ac | 174 AC_CHECK_MEMBER(struct sockaddr_conn.sconn_len, 175 …E(HAVE_SCONN_LEN, 1, [Define this if your userland stack has sconn_len in sockaddr_conn struct.]),,
|
D | CMakeLists.txt | 152 check_struct_has_member("struct sockaddr_conn" "sconn_len" "usrsctp.h" have_sconn_len)
|