/external/linux-kselftest/tools/testing/selftests/net/ |
D | reuseaddr_ports_exhausted.c | 54 int bind_port(struct __test_metadata *_metadata, int reuseaddr, int reuseport) in bind_port() function 90 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST() 110 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST() 139 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
|
/external/mtools/ |
D | floppyd.c | 679 static int bind_to_port(in_addr_t bind_ip, uint16_t bind_port) in bind_to_port() argument 709 addr.sin_port = htons(bind_port); in bind_to_port() 837 uint16_t bind_port = 0; in main() local 862 bind_port = getportnum(optarg); in main() 896 if(dispName==NULL && bind_port != 0) in main() 897 dispName=makeDisplayName((unsigned short)(bind_port - 5703)); in main() 901 if(bind_port == 0) { in main() 903 bind_port = FLOPPYD_DEFAULT_PORT; in main() 905 bind_port += atoi(p+1); in main() 915 bind_port = ntohs(addr.sin_port); in main() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_timeout.py | 244 socket_helper.bind_port(self.sock, self.localhost) 251 socket_helper.bind_port(serv, self.localhost) 260 socket_helper.bind_port(serv, self.localhost) 270 socket_helper.bind_port(serv, self.localhost) 289 socket_helper.bind_port(self.sock, self.localhost)
|
D | test_asynchat.py | 34 self.port = socket_helper.bind_port(self.sock)
|
D | test_telnetlib.py | 30 self.port = socket_helper.bind_port(self.sock)
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6a3.rst | 273 issue. test_support.bind_port() has been fixed such that it will always 277 bind_port() will actually raise an exception if it is passed an 279 socket option set. Furthermore, if available, bind_port() will set the 286 bind_port() has been removed. Under no circumstances should tests be hard 290 temporary socket object to bind_port() in order to obtain an unused port.
|
D | 2.7a3.rst | 421 test_timeout was changed to use ``test_support.bind_port()`` instead of a
|
/external/python/cpython3/Lib/test/support/ |
D | socket_helper.py | 72 port = bind_port(tempsock) 76 def bind_port(sock, host=HOST): function
|
/external/iperf3/src/ |
D | iperf_tcp.c | 411 lcladdr->sin_port = htons(test->bind_port); in iperf_tcp_connect() 425 else if (test->bind_port) { in iperf_tcp_connect() 433 lcladdr->sin_port = htons(test->bind_port); in iperf_tcp_connect() 441 lcladdr->sin6_port = htons(test->bind_port); in iperf_tcp_connect()
|
D | iperf_sctp.c | 346 lcladdr->sin_port = htons(test->bind_port); in iperf_sctp_connect() 360 else if (test->bind_port) { in iperf_sctp_connect() 368 lcladdr->sin_port = htons(test->bind_port); in iperf_sctp_connect() 376 lcladdr->sin6_port = htons(test->bind_port); in iperf_sctp_connect()
|
D | iperf_client_api.c | 63 int orig_bind_port = test->bind_port; in iperf_create_streams() 66 test->bind_port = orig_bind_port; in iperf_create_streams() 68 test->bind_port += i; in iperf_create_streams()
|
D | iperf_locale.c | 234 const char bind_port[] = variable
|
D | iperf.h | 261 int bind_port; /* --cport option */ member
|
D | iperf_udp.c | 502 …if ((s = netdial(test->settings->domain, Pudp, test->bind_address, test->bind_port, test->server_h… in iperf_udp_connect()
|
/external/python/cpython2/Lib/test/ |
D | test_timeout.py | 152 test_support.bind_port(self.sock, self.localhost) 170 test_support.bind_port(self.sock, self.localhost)
|
D | test_nntplib.py | 40 self.port = test_support.bind_port(self.sock)
|
D | test_telnetlib.py | 49 self.port = test_support.bind_port(self.sock) 108 self.port = test_support.bind_port(self.sock) 397 self.port = test_support.bind_port(self.sock)
|
D | test_smtplib.py | 51 self.port = test_support.bind_port(self.sock) 277 self.port = test_support.bind_port(self.sock) 307 self.port = test_support.bind_port(self.sock)
|
D | test_asynchat.py | 29 self.port = test_support.bind_port(self.sock)
|
D | test_poplib.py | 302 self.port = test_support.bind_port(self.sock)
|
D | test_httplib.py | 717 self.port = test_support.bind_port(self.serv) 769 TimeoutTest.PORT = test_support.bind_port(self.serv)
|
D | test_test_support.py | 118 support.bind_port(s)
|
/external/cronet/third_party/libevent/ |
D | http-internal.h | 63 u_short bind_port; /* local port for binding the src */ member
|
/external/libevent/ |
D | http-internal.h | 62 ev_uint16_t bind_port; /* local port for binding the src */ member
|
/external/rust/crates/grpcio/src/ |
D | server.rs | 367 let bind_port = binder.bind(server); in build() localVariable 368 if bind_port == 0 { in build() 372 binder.port = bind_port; in build()
|