Home
last modified time | relevance | path

Searched refs:bind_address (Results 1 – 25 of 26) sorted by relevance

12

/external/webrtc/webrtc/base/
Dasyncudpsocket.cc20 const SocketAddress& bind_address) { in Create() argument
22 if (socket->Bind(bind_address) < 0) { in Create()
30 const SocketAddress& bind_address) { in Create() argument
32 factory->CreateAsyncSocket(bind_address.family(), SOCK_DGRAM); in Create()
35 return Create(socket, bind_address); in Create()
Dasynctcpsocket.cc37 const rtc::SocketAddress& bind_address, in ConnectSocket() argument
40 if (socket->Bind(bind_address) < 0) { in ConnectSocket()
239 const SocketAddress& bind_address, in Create() argument
242 socket, bind_address, remote_address), false); in Create()
Dasyncudpsocket.h28 const SocketAddress& bind_address);
32 const SocketAddress& bind_address);
Dasynctcpsocket.h54 const SocketAddress& bind_address,
86 const SocketAddress& bind_address,
/external/iperf3/src/
Diperf_sctp.c174 if (test->settings->domain == AF_UNSPEC && !test->bind_address) { in iperf_sctp_listen()
181 if (getaddrinfo(test->bind_address, portstr, &hints, &res) != 0) { in iperf_sctp_listen()
265 if (test->bind_address) { in iperf_sctp_connect()
269 if (getaddrinfo(test->bind_address, NULL, &hints, &local_res) != 0) { in iperf_sctp_connect()
280 if (test->bind_address) in iperf_sctp_connect()
288 if (test->bind_address) in iperf_sctp_connect()
299 if (test->bind_address) { in iperf_sctp_connect()
Diperf_tcp.c179 if (test->settings->domain == AF_UNSPEC && !test->bind_address) { in iperf_tcp_listen()
187 if (getaddrinfo(test->bind_address, portstr, &hints, &res) != 0) { in iperf_tcp_listen()
374 if (test->bind_address) { in iperf_tcp_connect()
378 if (getaddrinfo(test->bind_address, NULL, &hints, &local_res) != 0) { in iperf_tcp_connect()
389 if (test->bind_address) in iperf_tcp_connect()
396 if (test->bind_address) in iperf_tcp_connect()
407 if (test->bind_address) { in iperf_tcp_connect()
Diperf_udp.c420 …test->prot_listener = netannounce(test->settings->domain, Pudp, test->bind_address, test->server_p… in iperf_udp_accept()
452 … if ((s = netannounce(test->settings->domain, Pudp, test->bind_address, test->server_port)) < 0) { in iperf_udp_listen()
479 …if ((s = netdial(test->settings->domain, Pudp, test->bind_address, test->bind_port, test->server_h… in iperf_udp_connect()
Diperf_locale.h38 extern const char bind_address[] ;
Diperf_locale.c225 const char bind_address[] = variable
Diperf.h254 char *bind_address; /* first -B option */ member
Diperf_server_api.c73 …if((test->listener = netannounce(test->settings->domain, Ptcp, test->bind_address, test->server_po… in iperf_server_listen()
581 … if ((s = netannounce(test->settings->domain, Ptcp, test->bind_address, test->server_port)) < 0) { in iperf_run_server()
Diperf_api.h154 void iperf_set_test_bind_address( struct iperf_test* ipt, char *bind_address );
Diperf_client_api.c339 …test->ctrl_sck = netdial(test->settings->domain, Ptcp, test->bind_address, 0, test->server_hostnam… in iperf_connect()
Diperf_api.c297 return ipt->bind_address; in iperf_get_test_bind_address()
545 ipt->bind_address = strdup(bnd_address); in iperf_set_test_bind_address()
995 test->bind_address = strdup(optarg); in iperf_parse_arguments()
2350 if (test->bind_address) in iperf_free_test()
2351 free(test->bind_address); in iperf_free_test()
/external/webrtc/webrtc/p2p/base/
Dasyncstuntcpsocket.cc40 const rtc::SocketAddress& bind_address, in Create() argument
43 socket, bind_address, remote_address), false); in Create()
Dasyncstuntcpsocket.h27 const rtc::SocketAddress& bind_address,
/external/openssh/
Dssh.07 ssh [-1246AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
8 [-D [bind_address:]port] [-E log_file] [-e escape_char]
53 -b bind_address
54 Use bind_address on the local machine as the source address of
77 -D [bind_address:]port
80 side, optionally bound to the specified bind_address. Whenever a
92 the GatewayPorts setting. However, an explicit bind_address may
94 bind_address of M-bM-^@M-^\localhostM-bM-^@M-^] indicates that the listening port be
164 -L [bind_address:]port:host:hostport
165 -L [bind_address:]port:remote_socket
[all …]
Dssh-agent.07 ssh-agent [-c | -s] [-Dd] [-a bind_address] [-E fingerprint_hash]
28 -a bind_address
29 Bind the agent to the UNIX-domain socket bind_address. The
Dsshconnect.c286 if (options.bind_address == NULL && !privileged) in ssh_create_socket()
289 if (options.bind_address) { in ssh_create_socket()
295 gaierr = getaddrinfo(options.bind_address, NULL, &hints, &res); in ssh_create_socket()
297 error("getaddrinfo: %s: %s", options.bind_address, in ssh_create_socket()
318 error("bind: %s: %s", options.bind_address, in ssh_create_socket()
Dreadconf.h89 char *bind_address; /* local socket address for connection to sshd */ member
Dssh_config.0324 The argument must be [bind_address:]port. IPv6 addresses can be
327 setting. However, an explicit bind_address may be used to bind
328 the connection to a specific address. The bind_address of
631 machine. The first argument must be [bind_address:]port and the
638 bind_address may be used to bind the connection to a specific
639 address. The bind_address of localhost indicates that the
805 machine. The first argument must be [bind_address:]port and the
815 If the bind_address is not specified, the default is to only bind
816 to loopback addresses. If the bind_address is M-bM-^@M-^X*M-bM-^@M-^Y or an empty
818 interfaces. Specifying a remote bind_address will only succeed
Dreadconf.c1127 charptr = &options->bind_address; in process_config_line_depth()
1843 options->bind_address = NULL; in initialize_options()
2572 dump_cfg_string(oBindAddress, o->bind_address); in dump_client_config()
/external/libevent/
Dhttp-internal.h64 char *bind_address; /* address to use for binding the src */ member
Dhttp.c1248 if (evcon->bind_address != NULL) in evhttp_connection_free()
1249 mm_free(evcon->bind_address); in evhttp_connection_free()
1267 if (evcon->bind_address) in evhttp_connection_set_local_address()
1268 mm_free(evcon->bind_address); in evhttp_connection_set_local_address()
1269 if ((evcon->bind_address = mm_strdup(address)) == NULL) in evhttp_connection_set_local_address()
2538 if (evcon->bind_address || evcon->bind_port) { in evhttp_connection_connect_()
2540 evcon->bind_address, evcon->bind_port, 0 /*reuse*/); in evhttp_connection_connect_()
2543 __func__, evcon->bind_address)); in evhttp_connection_connect_()
/external/python/cpython2/Lib/test/
Dtest_socket.py566 def _get_unused_port(self, bind_address='0.0.0.0'): argument
575 tempsock.bind((bind_address, 0))

12