| /netbsd-src/tests/lib/libc/net/getaddrinfo/ |
| H A D | no_host_v4v6.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http 4 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 5 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 7 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo 8 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv echo 9 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv echo 10 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo 11 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo [all …]
|
| H A D | basics_v4v6.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http 10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 12 ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http [all …]
|
| H A D | no_host_v4.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http 2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv tftp 10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv tftp 11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv tftp 13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv 80 [all …]
|
| H A D | basics_v4.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http 10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv tftp [all …]
|
| H A D | no_serv_v4v6.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv (empty) 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv (empty) 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv (empty) 10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0 11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0 12 ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0 [all …]
|
| H A D | sock_raw_v4v6.exp | 1 arg: flags 0x2 family 0 socktype 3 protocol 0 addrlen 0 host localhost serv (empty) 2 ai1: flags 0x2 family 24 socktype 3 protocol 0 addrlen 28 host ::1 serv 0 3 ai2: flags 0x2 family 2 socktype 3 protocol 0 addrlen 16 host 127.0.0.1 serv 0 5 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv (empty) 6 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0 7 ai2: flags 0x2 family 2 socktype 3 protocol 59 addrlen 16 host 127.0.0.1 serv 0 9 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv 80 11 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv www 13 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host ::1 serv (empty) 14 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0
|
| H A D | no_serv_v4.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv (empty) 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv (empty) 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv (empty) 10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0 11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0 13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv (empty)
|
| H A D | sock_raw_v4.exp | 1 arg: flags 0x2 family 0 socktype 3 protocol 0 addrlen 0 host localhost serv (empty) 2 ai1: flags 0x2 family 2 socktype 3 protocol 0 addrlen 16 host 127.0.0.1 serv 0 4 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv (empty) 5 ai1: flags 0x2 family 2 socktype 3 protocol 59 addrlen 16 host 127.0.0.1 serv 0 7 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv 80 9 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv www 11 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host ::1 serv (empty) 12 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0
|
| H A D | spec_fam_v4v6.exp | 1 arg: flags 0x2 family 2 socktype 0 protocol 0 addrlen 0 host localhost serv http 2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 5 arg: flags 0x2 family 24 socktype 0 protocol 0 addrlen 0 host localhost serv http 6 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 7 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
|
| H A D | spec_fam_v4.exp | 1 arg: flags 0x2 family 2 socktype 0 protocol 0 addrlen 0 host localhost serv http 2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 5 arg: flags 0x2 family 24 socktype 0 protocol 0 addrlen 0 host localhost serv http
|
| H A D | scoped.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host fe80::1%lo0 serv http 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host fe80::1%lo0 serv http 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host fe80::1%lo0 serv http
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| H A D | getaddrinfo.c | 49 int *socktype) in get_port_protocol_socktype() argument 54 *socktype = 0; in get_port_protocol_socktype() 67 *socktype = hints->ai_socktype; in get_port_protocol_socktype() 69 if (*socktype == SOCK_STREAM) { in get_port_protocol_socktype() 73 } else if (*socktype == SOCK_DGRAM) { in get_port_protocol_socktype() 77 } else if (*socktype == 0) { in get_port_protocol_socktype() 83 *socktype = SOCK_STREAM; in get_port_protocol_socktype() 87 *socktype = SOCK_DGRAM; in get_port_protocol_socktype() 106 add_one (int port, int protocol, int socktype, in add_one() argument 122 a->ai_socktype = socktype; in add_one() [all …]
|
| H A D | getaddrinfo_hostspec.c | 44 int socktype, in roken_getaddrinfo_hostspec2() argument 56 int socktype; in roken_getaddrinfo_hostspec2() member 69 hints.ai_socktype = socktype; in roken_getaddrinfo_hostspec2() 73 hints.ai_socktype = hstp->socktype; in roken_getaddrinfo_hostspec2()
|
| H A D | getaddrinfo-test.c | 43 static int socktype; variable 53 {"socktype",0, arg_integer, &socktype, "socktype", NULL}, 81 hints.ai_socktype = socktype; in doit()
|
| /netbsd-src/external/ibm-public/postfix/dist/src/util/ |
| H A D | myaddrinfo.c | 252 static void init_ipv4addrinfo(struct ipv4addrinfo * ip, int socktype) in init_ipv4addrinfo() argument 261 ip->info.ai_socktype = socktype; in init_ipv4addrinfo() 275 static int find_service(const char *service, int socktype) in find_service() argument 286 if (socktype == SOCK_STREAM) { in find_service() 288 } else if (socktype == SOCK_DGRAM) { in find_service() 305 const char *service, int socktype, in hostname_to_sockaddr_pf() argument 325 if ((port = find_service(service, socktype)) < 0) in hostname_to_sockaddr_pf() 329 socktype = MAI_SOCKTYPE; in hostname_to_sockaddr_pf() 337 init_ipv4addrinfo(ip, socktype); in hostname_to_sockaddr_pf() 349 init_ipv4addrinfo(ip, socktype); in hostname_to_sockaddr_pf() [all …]
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/irs/ |
| H A D | getaddrinfo.c | 174 get_local(const char *name, int socktype, struct addrinfo **res); 179 int socktype, int port); 182 add_ipv4(const char *hostname, int flags, struct addrinfo **aip, int socktype, 185 add_ipv6(const char *hostname, int flags, struct addrinfo **aip, int socktype, 247 int family, socktype, flags, protocol; in getaddrinfo() local 270 socktype = hints->ai_socktype; in getaddrinfo() 321 socktype = 0; in getaddrinfo() 335 return (get_local(hostname, socktype, res)); in getaddrinfo() 341 return (get_local(servname, socktype, res)); in getaddrinfo() 360 if (socktype == 0) { in getaddrinfo() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bio/ |
| H A D | b_sock2.c | 40 int BIO_socket(int domain, int socktype, int protocol, int options) in BIO_socket() argument 47 sock = socket(domain, socktype, protocol); in BIO_socket() 209 int socktype; in BIO_listen() local 210 socklen_t socktype_len = sizeof(socktype); in BIO_listen() 218 (void *)&socktype, &socktype_len) != 0 in BIO_listen() 219 || socktype_len != sizeof(socktype)) { in BIO_listen() 266 if (socktype != SOCK_DGRAM && listen(sock, MAX_LISTEN) == -1) { in BIO_listen()
|
| H A D | b_addr.c | 567 static int addrinfo_wrap(int family, int socktype, in addrinfo_wrap() argument 578 (*bai)->bai_socktype = socktype; in addrinfo_wrap() 579 if (socktype == SOCK_STREAM) in addrinfo_wrap() 581 if (socktype == SOCK_DGRAM) in addrinfo_wrap() 618 int family, int socktype, BIO_ADDRINFO **res) in BIO_lookup() argument 620 return BIO_lookup_ex(host, service, lookup_type, family, socktype, 0, res); in BIO_lookup() 646 int family, int socktype, int protocol, BIO_ADDRINFO **res) in BIO_lookup_ex() argument 669 if (addrinfo_wrap(family, socktype, host, strlen(host), 0, res)) in BIO_lookup_ex() 688 hints.ai_socktype = socktype; in BIO_lookup_ex() 846 switch (socktype) { in BIO_lookup_ex() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/bio/ |
| H A D | bio_sock2.c | 41 int BIO_socket(int domain, int socktype, int protocol, int options) in BIO_socket() argument 48 sock = socket(domain, socktype, protocol); in BIO_socket() 225 int socktype; in BIO_listen() local 226 socklen_t socktype_len = sizeof(socktype); in BIO_listen() 234 (void *)&socktype, &socktype_len) != 0 in BIO_listen() 235 || socktype_len != sizeof(socktype)) { in BIO_listen() 286 if (socktype != SOCK_DGRAM && listen(sock, MAX_LISTEN) == -1) { in BIO_listen()
|
| /netbsd-src/external/bsd/ntp/dist/libntp/ |
| H A D | ntp_rfc2553.c | 291 int family, socktype, flags, protocol; in getaddrinfo() local 314 socktype = hints->ai_socktype; in getaddrinfo() 366 socktype = 0; in getaddrinfo() 386 if (socktype == 0) in getaddrinfo() 396 if (socktype == 0) { in getaddrinfo() 398 socktype = SOCK_STREAM; in getaddrinfo() 400 socktype = SOCK_DGRAM; in getaddrinfo()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/ |
| H A D | BIO_ADDRINFO.pod | 25 int family, int socktype, int protocol, BIO_ADDRINFO **res); 28 int family, int socktype, BIO_ADDRINFO **res); 47 be if B<host> is B<NULL>. B<family>, B<socktype> and B<protocol> are used to 50 AF_UNSPEC. B<socktype> can be SOCK_STREAM, SOCK_DGRAM or 0. Specifying 0
|
| /netbsd-src/external/ibm-public/postfix/dist/src/postscreen/ |
| H A D | postscreen_endpt.c | 121 int socktype) in psc_sockaddr_to_hostaddr() argument 126 addr_buf, port_buf, socktype)) == 0 in psc_sockaddr_to_hostaddr()
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/ |
| H A D | dispatch.c | 115 isc_socktype_t socktype; 208 if (disp->socktype == isc_socktype_tcp) { 1120 .socktype = type, in qid_destroy() 1261 INSIST(disp->socktype == isc_socktype_tcp); in dns_dispatch_gettcp() 1396 if (disp->socktype == isc_socktype_tcp && in dispatch_destroy() 1439 REQUIRE(disp->socktype == isc_socktype_tcp || in dns_dispatch_add() 1440 disp->socktype == isc_socktype_udp); in dns_dispatch_add() 1475 if (disp->socktype == isc_socktype_udp) { in dns_dispatch_add() 1536 inc_stats(disp->mgr, (disp->socktype == isc_socktype_udp) in dns_dispatch_add() 1568 switch (disp->socktype) { in dns_dispatch_getnext() 123 isc_socktype_t socktype; global() member [all...] |
| /netbsd-src/tests/usr.bin/sdiff/ |
| H A D | d_tabs.out | 95 …native-socket: sockdom eq "AF_INET" and socktype eq "SO native-socket: sockdom eq "AF_INET" and… 100 …native-socket: sockdom eq "AF_INET" and socktype eq "SO native-socket: sockdom eq "AF_INET" and…
|
| /netbsd-src/tests/usr.sbin/inetd/ |
| H A D | t_inetd.c | 238 int socktype, int proto, time_t timeout_sec, struct sockaddr_storage *dst) in create_socket() argument 242 .ai_socktype = socktype, in create_socket()
|