/third_party/ffmpeg/libavformat/ |
D | sapenc.c | 76 struct sockaddr_storage localaddr; in sap_write_header() local 77 socklen_t addrlen = sizeof(localaddr); in sap_write_header() 186 if (getsockname(udp_fd, (struct sockaddr*) &localaddr, &addrlen)) { in sap_write_header() 190 if (localaddr.ss_family != AF_INET in sap_write_header() 192 && localaddr.ss_family != AF_INET6 in sap_write_header() 207 if (localaddr.ss_family == AF_INET6) in sap_write_header() 214 if (localaddr.ss_family == AF_INET) { in sap_write_header() 215 memcpy(&sap->ann[pos], &((struct sockaddr_in*)&localaddr)->sin_addr, in sap_write_header() 220 memcpy(&sap->ann[pos], &((struct sockaddr_in6*)&localaddr)->sin6_addr, in sap_write_header()
|
D | udp.c | 114 char *localaddr; member 131 …{ "localaddr", "Local address", OFFSET(localaddr), AV_… 335 socklen_t *addr_len, const char *localaddr) in udp_socket_create() argument 344 res0 = ff_ip_resolve_host(h, (localaddr && localaddr[0]) ? localaddr : NULL, in udp_socket_create() 628 char hostname[1024], localaddr[1024] = ""; in udp_open() local 713 av_strlcpy(localaddr, buf, sizeof(localaddr)); in udp_open() 753 if (localaddr[0]) in udp_open() 754 udp_fd = udp_socket_create(h, &my_addr, &len, localaddr); in udp_open() 756 udp_fd = udp_socket_create(h, &my_addr, &len, s->localaddr); in udp_open()
|
/third_party/grpc/test/core/end2end/fixtures/ |
D | h2_uds.cc | 44 std::string localaddr; member 52 ffd->localaddr = absl::StrFormat("unix:/tmp/grpc_fullstack_test.%d.%d", in chttp2_create_fixture_fullstack() 68 f->client = grpc_insecure_channel_create(ffd->localaddr.c_str(), client_args, in chttp2_init_client_fullstack() 82 grpc_server_add_insecure_http2_port(f->server, ffd->localaddr.c_str())); in chttp2_init_server_fullstack()
|
D | h2_full.cc | 38 std::string localaddr; member 48 ffd->localaddr = grpc_core::JoinHostPort("localhost", port); in chttp2_create_fixture_fullstack() 61 f->client = grpc_insecure_channel_create(ffd->localaddr.c_str(), client_args, in chttp2_init_client_fullstack() 76 grpc_server_add_insecure_http2_port(f->server, ffd->localaddr.c_str())); in chttp2_init_server_fullstack()
|
D | h2_full+pipe.cc | 44 std::string localaddr; member 54 ffd->localaddr = grpc_core::JoinHostPort("localhost", port); in chttp2_create_fixture_fullstack() 67 f->client = grpc_insecure_channel_create(ffd->localaddr.c_str(), client_args, in chttp2_init_client_fullstack() 82 grpc_server_add_insecure_http2_port(f->server, ffd->localaddr.c_str())); in chttp2_init_server_fullstack()
|
D | h2_full+trace.cc | 44 std::string localaddr; member 54 ffd->localaddr = grpc_core::JoinHostPort("localhost", port); in chttp2_create_fixture_fullstack() 67 f->client = grpc_insecure_channel_create(ffd->localaddr.c_str(), client_args, in chttp2_init_client_fullstack() 82 grpc_server_add_insecure_http2_port(f->server, ffd->localaddr.c_str())); in chttp2_init_server_fullstack()
|
D | h2_compress.cc | 44 std::string localaddr; member 55 ffd->localaddr = grpc_core::JoinHostPort("localhost", port); in chttp2_create_fixture_fullstack_compression() 77 ffd->localaddr.c_str(), ffd->client_args_compression, nullptr); in chttp2_init_client_fullstack_compression() 97 grpc_server_add_insecure_http2_port(f->server, ffd->localaddr.c_str())); in chttp2_init_server_fullstack_compression()
|
D | h2_census.cc | 39 std::string localaddr; member 48 ffd->localaddr = grpc_core::JoinHostPort("localhost", port); in chttp2_create_fixture_fullstack() 71 f->client = grpc_insecure_channel_create(ffd->localaddr.c_str(), client_args, in chttp2_init_client_fullstack() 96 grpc_server_add_insecure_http2_port(f->server, ffd->localaddr.c_str())); in chttp2_init_server_fullstack()
|
D | h2_full+workarounds.cc | 43 std::string localaddr; member 52 ffd->localaddr = grpc_core::JoinHostPort("localhost", port); in chttp2_create_fixture_fullstack() 63 f->client = grpc_insecure_channel_create(ffd->localaddr.c_str(), client_args, in chttp2_init_client_fullstack() 88 grpc_server_add_insecure_http2_port(f->server, ffd->localaddr.c_str())); in chttp2_init_server_fullstack()
|
D | h2_fakesec.cc | 34 std::string localaddr; member 43 ffd->localaddr = grpc_core::JoinHostPort("localhost", port); in chttp2_create_fixture_secure_fullstack() 66 f->client = grpc_secure_channel_create(creds, ffd->localaddr.c_str(), in chttp2_init_client_secure_fullstack() 83 f->server, ffd->localaddr.c_str(), server_creds)); in chttp2_init_server_secure_fullstack()
|
D | h2_ssl.cc | 41 std::string localaddr; member 53 ffd->localaddr = grpc_core::JoinHostPort("localhost", port); in chttp2_create_fixture_secure_fullstack() 89 f->client = grpc_secure_channel_create(creds, ffd->localaddr.c_str(), in chttp2_init_client_secure_fullstack() 106 f->server, ffd->localaddr.c_str(), server_creds)); in chttp2_init_server_secure_fullstack()
|
D | h2_ssl_cred_reload.cc | 41 std::string localaddr; member 88 ffd->localaddr = grpc_core::JoinHostPort("localhost", port); in chttp2_create_fixture_secure_fullstack() 124 f->client = grpc_secure_channel_create(creds, ffd->localaddr.c_str(), in chttp2_init_client_secure_fullstack() 142 f->server, ffd->localaddr.c_str(), server_creds)); in chttp2_init_server_secure_fullstack()
|
D | h2_oauth2.cc | 43 std::string localaddr; member 104 ffd->localaddr = grpc_core::JoinHostPort("localhost", port); in chttp2_create_fixture_secure_fullstack() 129 f->client = grpc_secure_channel_create(creds, ffd->localaddr.c_str(), in chttp2_init_client_secure_fullstack() 146 f->server, ffd->localaddr.c_str(), server_creds)); in chttp2_init_server_secure_fullstack()
|
D | h2_tls.cc | 54 std::string localaddr; member 66 ffd->localaddr = grpc_core::JoinHostPort("localhost", port); in chttp2_create_fixture_secure_fullstack() 100 f->client = grpc_secure_channel_create(creds, ffd->localaddr.c_str(), in chttp2_init_client_secure_fullstack() 117 f->server, ffd->localaddr.c_str(), server_creds)); in chttp2_init_server_secure_fullstack()
|
D | local_util.cc | 53 f->client = grpc_secure_channel_create(creds, ffd->localaddr.c_str(), in grpc_end2end_local_chttp2_init_client_fullstack() 102 ffd->localaddr.c_str(), creds)); in grpc_end2end_local_chttp2_init_server_fullstack()
|
D | local_util.h | 26 std::string localaddr; member
|
D | h2_local_ipv4.cc | 35 ->localaddr = grpc_core::JoinHostPort("127.0.0.1", port); in chttp2_create_fixture_fullstack_ipv4()
|
/third_party/curl/tests/server/ |
D | mqttd.c | 867 srvr_sockaddr_union_t localaddr; in sockdaemon() local 871 la_size = sizeof(localaddr.sa4); in sockdaemon() 874 la_size = sizeof(localaddr.sa6); in sockdaemon() 876 memset(&localaddr.sa, 0, (size_t)la_size); in sockdaemon() 877 if(getsockname(sock, &localaddr.sa, &la_size) < 0) { in sockdaemon() 884 switch(localaddr.sa.sa_family) { in sockdaemon() 886 *listenport = ntohs(localaddr.sa4.sin_port); in sockdaemon() 890 *listenport = ntohs(localaddr.sa6.sin6_port); in sockdaemon()
|
D | socksd.c | 826 srvr_sockaddr_union_t localaddr; in sockdaemon() local 830 la_size = sizeof(localaddr.sa4); in sockdaemon() 833 la_size = sizeof(localaddr.sa6); in sockdaemon() 835 memset(&localaddr.sa, 0, (size_t)la_size); in sockdaemon() 836 if(getsockname(sock, &localaddr.sa, &la_size) < 0) { in sockdaemon() 843 switch(localaddr.sa.sa_family) { in sockdaemon() 845 *listenport = ntohs(localaddr.sa4.sin_port); in sockdaemon() 849 *listenport = ntohs(localaddr.sa6.sin6_port); in sockdaemon()
|
D | rtspd.c | 1195 srvr_sockaddr_union_t localaddr; in main() local 1199 la_size = sizeof(localaddr.sa4); in main() 1202 la_size = sizeof(localaddr.sa6); in main() 1204 memset(&localaddr.sa, 0, (size_t)la_size); in main() 1205 if(getsockname(sock, &localaddr.sa, &la_size) < 0) { in main() 1212 switch(localaddr.sa.sa_family) { in main() 1214 port = ntohs(localaddr.sa4.sin_port); in main() 1218 port = ntohs(localaddr.sa6.sin6_port); in main()
|
D | tftpd.c | 699 srvr_sockaddr_union_t localaddr; in main() local 703 la_size = sizeof(localaddr.sa4); in main() 706 la_size = sizeof(localaddr.sa6); in main() 708 memset(&localaddr.sa, 0, (size_t)la_size); in main() 709 if(getsockname(sock, &localaddr.sa, &la_size) < 0) { in main() 716 switch(localaddr.sa.sa_family) { in main() 718 port = ntohs(localaddr.sa4.sin_port); in main() 722 port = ntohs(localaddr.sa6.sin6_port); in main()
|
D | sockfilt.c | 1257 srvr_sockaddr_union_t localaddr; in sockdaemon() local 1261 la_size = sizeof(localaddr.sa4); in sockdaemon() 1264 la_size = sizeof(localaddr.sa6); in sockdaemon() 1266 memset(&localaddr.sa, 0, (size_t)la_size); in sockdaemon() 1267 if(getsockname(sock, &localaddr.sa, &la_size) < 0) { in sockdaemon() 1274 switch(localaddr.sa.sa_family) { in sockdaemon() 1276 *listenport = ntohs(localaddr.sa4.sin_port); in sockdaemon() 1280 *listenport = ntohs(localaddr.sa6.sin6_port); in sockdaemon()
|
/third_party/python/Doc/library/ |
D | smtpd.rst | 36 .. class:: SMTPServer(localaddr, remoteaddr, data_size_limit=33554432,\ 40 *localaddr*. It will treat *remoteaddr* as an upstream SMTP relayer. Both 41 *localaddr* and *remoteaddr* should be a :ref:`(host, port) <host_port>` 112 *localaddr* and *remoteaddr* may now contain IPv6 addresses. 127 .. class:: DebuggingServer(localaddr, remoteaddr) 137 .. class:: PureProxy(localaddr, remoteaddr) 148 .. class:: MailmanProxy(localaddr, remoteaddr)
|
/third_party/grpc/test/core/end2end/ |
D | h2_ssl_cert_test.cc | 51 std::string localaddr; member 61 ffd->localaddr = grpc_core::JoinHostPort("localhost", port); in chttp2_create_fixture_secure_fullstack() 82 f->client = grpc_secure_channel_create(creds, ffd->localaddr.c_str(), in chttp2_init_client_secure_fullstack() 99 f->server, ffd->localaddr.c_str(), server_creds)); in chttp2_init_server_secure_fullstack()
|
/third_party/grpc/src/objective-c/tests/CronetTests/ |
D | CoreCronetEnd2EndTests.mm | 55 std::string localaddr; field 65 ffd->localaddr = grpc_core::JoinHostPort("127.0.0.1", port); 86 grpc_cronet_secure_channel_create(cronetEngine, ffd->localaddr.c_str(), client_args, NULL); 99 GPR_ASSERT(grpc_server_add_secure_http2_port(f->server, ffd->localaddr.c_str(), server_creds));
|