Home
last modified time | relevance | path

Searched refs:address_family (Results 1 – 15 of 15) sorted by relevance

/external/netperf/src/
Dnetsh.c111 address_family = AF_UNSPEC, /* which address family remote */ variable
956 address_family = parse_address_family(arg2); in scan_cmd_line()
1031 address_family = AF_INET; in scan_cmd_line()
1036 address_family = AF_INET6; in scan_cmd_line()
1054 switch (address_family) { in scan_cmd_line()
1079 address_family); in scan_cmd_line()
1090 address_family); in scan_cmd_line()
1098 ai = resolve_host(host_name, NULL, address_family); in scan_cmd_line()
1103 address_family = ai->ai_family; in scan_cmd_line()
1119 switch (address_family) { in scan_cmd_line()
[all …]
Dnetsh.h87 extern int address_family;
Dnetperf.c140 establish_control(host_name,test_port,address_family, in main()
/external/python/cpython2/Lib/
DSocketServer.py402 address_family = socket.AF_INET variable in TCPServer
413 self.socket = socket.socket(self.address_family,
619 address_family = socket.AF_UNIX variable in UnixStreamServer
622 address_family = socket.AF_UNIX variable in UnixDatagramServer
/external/python/cpython2/Lib/test/
Dtest_socketserver.py136 server = self.make_server(self.pickaddr(svrcls.address_family),
157 testfunc(svrcls.address_family, addr)
345 s = socket.socket(server.address_family, socket.SOCK_STREAM)
/external/webrtc/webrtc/p2p/base/
Dstun.cc537 StunAddressFamily address_family = family(); in Write() local
538 if (address_family == STUN_ADDRESS_UNDEF) { in Write()
543 buf->WriteUInt8(address_family); in Write()
617 StunAddressFamily address_family = family(); in Write() local
618 if (address_family == STUN_ADDRESS_UNDEF) { in Write()
/external/openssh/
Dssh.c249 hints.ai_family = options.address_family == -1 ? in resolve_host()
250 AF_UNSPEC : options.address_family; in resolve_host()
289 hints.ai_family = options.address_family == -1 ? in resolve_addr()
290 AF_UNSPEC : options.address_family; in resolve_addr()
618 options.address_family = AF_INET; in main()
621 options.address_family = AF_INET6; in main()
1130 channel_set_af(options.address_family); in main()
1268 options.address_family, options.connection_attempts, in main()
Dreadconf.h65 int address_family; member
Dservconf.h65 int address_family; /* Address family used by the server. */ member
Dservconf.c88 options->address_family = -1; in initialize_server_options()
220 if (options->address_family == -1) in fill_default_server_options()
221 options->address_family = AF_UNSPEC; in fill_default_server_options()
640 hints.ai_family = options->address_family; in add_one_listen_addr()
683 if (options->address_family == -1) in process_queued_listen_addrs()
684 options->address_family = AF_UNSPEC; in process_queued_listen_addrs()
1077 intptr = &options->address_family; in process_server_config_line()
2209 dump_cfg_fmtint(sAddressFamily, o->address_family); in dump_config()
Dreadconf.c1374 intptr = &options->address_family; in process_config_line_depth()
1814 options->address_family = -1; in initialize_options()
1969 if (options->address_family == -1) in fill_default_options()
1970 options->address_family = AF_UNSPEC; in fill_default_options()
2516 dump_cfg_fmtint(oAddressFamily, o->address_family); in dump_client_config()
Dsshd.c1411 options.address_family = AF_INET;
1414 options.address_family = AF_INET6;
1626 channel_set_af(options.address_family);
/external/autotest/client/cros/
Dhttpd.py217 _socket = socket.socket(self.address_family, self.socket_type)
/external/python/cpython2/Doc/library/
Dsocket.rst462 .. function:: inet_pton(address_family, ip_string)
469 Supported values for *address_family* are currently :const:`AF_INET` and
472 both the value of *address_family* and the underlying implementation of
480 .. function:: inet_ntop(address_family, packed_ip)
488 Supported values for *address_family* are currently :const:`AF_INET` and
Dsocketserver.rst222 .. attribute:: address_family