| /freebsd-14.2/contrib/netbsd-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 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 14 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv tftp 15 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv tftp 19 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv 80 [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 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 12 ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http 15 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv tftp 16 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv tftp 17 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv tftp [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 13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv 80 17 arg: flags 0x3 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http 29 arg: flags 0x3 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 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 13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv tftp 14 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv tftp 15 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv tftp 25 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv echo [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 | 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_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 | 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
|
| /freebsd-14.2/tools/regression/sockets/kqueue/ |
| H A D | kqueue.c | 65 if (socktype == NULL) in fail() 68 printf("# %s(%s): %s\n", func, socktype, in fail() 83 if (socktype == NULL) in fail_assertion() 88 socktype, assertion); in fail_assertion() 91 socktype, rest, assertion); in fail_assertion() 122 fail(errno, "kevent", socktype, "EVFILT_READ"); in test_evfilt_read() 135 fail(errno, "write", socktype, NULL); in test_evfilt_read() 148 fail(errno, "kevent", socktype, "EVFILT_READ"); in test_evfilt_read() 160 fail(errno, "read", socktype, NULL); in test_evfilt_read() 173 fail(errno, "kevent", socktype, "EVFILT_READ"); in test_evfilt_read() [all …]
|
| /freebsd-14.2/tools/regression/netinet/msocket/ |
| H A D | msocket.c | 97 socktype, optstring); in test_u_char() 100 socktype, optstring); in test_u_char() 112 socktype, optstring); in test_u_char() 115 socktype, optstring); in test_u_char() 122 socktype, optstring); in test_u_char() 125 socktype, optstring); in test_u_char() 153 socktype, optstring); in test_in_addr() 156 socktype, optstring); in test_in_addr() 169 socktype, optstring); in test_in_addr() 172 socktype, optstring); in test_in_addr() [all …]
|
| /freebsd-14.2/crypto/heimdal/lib/roken/ |
| H A D | getaddrinfo.c | 47 int *socktype) in get_port_protocol_socktype() argument 52 *socktype = 0; in get_port_protocol_socktype() 65 *socktype = hints->ai_socktype; in get_port_protocol_socktype() 67 if (*socktype == SOCK_STREAM) { in get_port_protocol_socktype() 71 } else if (*socktype == SOCK_DGRAM) { in get_port_protocol_socktype() 75 } else if (*socktype == 0) { in get_port_protocol_socktype() 81 *socktype = SOCK_STREAM; in get_port_protocol_socktype() 85 *socktype = SOCK_DGRAM; in get_port_protocol_socktype() 120 a->ai_socktype = socktype; in add_one() 379 int socktype = 0; in getaddrinfo() local [all …]
|
| H A D | getaddrinfo_hostspec.c | 42 int socktype, in roken_getaddrinfo_hostspec2() argument 54 int socktype; in roken_getaddrinfo_hostspec2() member 67 hints.ai_socktype = socktype; in roken_getaddrinfo_hostspec2() 71 hints.ai_socktype = hstp->socktype; in roken_getaddrinfo_hostspec2()
|
| H A D | getaddrinfo-test.c | 41 static int socktype; variable 51 {"socktype",0, arg_integer, &socktype, "socktype", NULL}, 79 hints.ai_socktype = socktype; in doit()
|
| /freebsd-14.2/tools/regression/netinet/ipsockopt/ |
| H A D | ipsockopt.c | 741 int i, sock, socktype; in testsuite() local 746 socktype = socktypeset[i]; in testsuite() 761 sock = get_socket(socktype, priv); in testsuite() 768 sock = get_socket(socktype, priv); in testsuite() 775 sock = get_socket(socktype, priv); in testsuite() 783 sock = get_socket(socktype, priv); in testsuite() 791 sock = get_socket(socktype, priv); in testsuite() 799 sock = get_socket(socktype, priv); in testsuite() 807 sock = get_socket(socktype, priv); in testsuite() 815 sock = get_socket(socktype, priv); in testsuite() [all …]
|
| /freebsd-14.2/crypto/openssl/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() 236 int socktype; in BIO_listen() local 237 socklen_t socktype_len = sizeof(socktype); in BIO_listen() 245 (void *)&socktype, &socktype_len) != 0 in BIO_listen() 246 || socktype_len != sizeof(socktype)) { in BIO_listen() 297 if (socktype != SOCK_DGRAM && listen(sock, MAX_LISTEN) == -1) { in BIO_listen()
|
| H A D | bio_addr.c | 581 static int addrinfo_wrap(int family, int socktype, in addrinfo_wrap() argument 592 (*bai)->bai_socktype = socktype; in addrinfo_wrap() 593 if (socktype == SOCK_STREAM) in addrinfo_wrap() 595 if (socktype == SOCK_DGRAM) in addrinfo_wrap() 630 int family, int socktype, BIO_ADDRINFO **res) in BIO_lookup() argument 632 return BIO_lookup_ex(host, service, lookup_type, family, socktype, 0, res); in BIO_lookup() 658 int family, int socktype, int protocol, BIO_ADDRINFO **res) in BIO_lookup_ex() argument 681 if (addrinfo_wrap(family, socktype, host, strlen(host), 0, res)) in BIO_lookup_ex() 700 hints.ai_socktype = socktype; in BIO_lookup_ex() 863 switch (socktype) { in BIO_lookup_ex() [all …]
|
| /freebsd-14.2/sys/dev/iscsi/ |
| H A D | icl_soft_proxy.c | 107 icl_soft_proxy_connect(struct icl_conn *ic, int domain, int socktype, in icl_soft_proxy_connect() argument 113 error = socreate(domain, &so, socktype, protocol, in icl_soft_proxy_connect() 252 icl_listen_add_tcp(struct icl_listen *il, int domain, int socktype, in icl_listen_add_tcp() argument 260 error = socreate(domain, &so, socktype, protocol, in icl_listen_add_tcp() 316 icl_listen_add(struct icl_listen *il, bool rdma, int domain, int socktype, in icl_listen_add() argument 325 return (icl_listen_add_tcp(il, domain, socktype, protocol, sa, in icl_listen_add()
|
| H A D | icl.h | 157 int domain, int socktype, int protocol, 167 int socktype, int protocol, struct sockaddr *from_sa,
|
| /freebsd-14.2/usr.bin/netstat/ |
| H A D | unix.c | 70 static const char *const socktype[] = variable 80 snprintf(mibvar, sizeof(mibvar), "net.local.%s.pcblist", socktype[type]); in pcblist_sysctl() 255 socktype[type]); in unixpr() 259 socktype[type]); in unixpr() 263 socktype[type]); in unixpr() 317 (long)so->so_pcb, socktype[so->so_type], so->so_rcv.sb_cc, in unixdomainpr()
|
| /freebsd-14.2/contrib/ntp/libntp/ |
| H A D | ntp_rfc2553.c | 289 int family, socktype, flags, protocol; in getaddrinfo() local 312 socktype = hints->ai_socktype; in getaddrinfo() 364 socktype = 0; in getaddrinfo() 384 if (socktype == 0) in getaddrinfo() 394 if (socktype == 0) { in getaddrinfo() 396 socktype = SOCK_STREAM; in getaddrinfo() 398 socktype = SOCK_DGRAM; in getaddrinfo()
|
| /freebsd-14.2/crypto/openssl/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
|
| /freebsd-14.2/sbin/devd/tests/ |
| H A D | client_test.c | 70 common_setup(int socktype, const char* sockpath) { in common_setup() argument 77 s = socket(PF_LOCAL, socktype, 0); in common_setup()
|