Home
last modified time | relevance | path

Searched refs:socktype (Results 1 – 25 of 80) sorted by relevance

1234

/freebsd-12-stable/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
Dno_host_v4v6.exp1 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 …]
Dbasics_v4v6.exp1 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 …]
Dno_host_v4.exp1 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 …]
Dbasics_v4.exp1 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 …]
Dno_serv_v4v6.exp1 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 …]
Dno_serv_v4.exp1 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)
Dsock_raw_v4v6.exp1 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
Dsock_raw_v4.exp1 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
Dspec_fam_v4v6.exp1 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
Dspec_fam_v4.exp1 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
Dscoped.exp1 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-12-stable/tools/regression/sockets/kqueue/
Dkqueue.c62 fail(int error, const char *func, const char *socktype, const char *rest) in fail() argument
67 if (socktype == NULL) in fail()
70 printf("# %s(%s): %s\n", func, socktype, in fail()
73 printf("# %s(%s, %s): %s\n", func, socktype, rest, in fail()
79 fail_assertion(const char *func, const char *socktype, const char *rest, in fail_assertion() argument
85 if (socktype == NULL) in fail_assertion()
90 socktype, assertion); in fail_assertion()
93 socktype, rest, assertion); in fail_assertion()
104 test_evfilt_read(int kq, int fd[2], const char *socktype) in test_evfilt_read() argument
114 fail(errno, "kevent", socktype, "EVFILT_READ, EV_ADD"); in test_evfilt_read()
[all …]
/freebsd-12-stable/tools/regression/netinet/msocket/
Dmsocket.c83 u_char modifiedv, u_char fakev, const char *socktype, int sock, in test_u_char() argument
99 socktype, optstring); in test_u_char()
102 socktype, optstring); in test_u_char()
105 "%d not %d", socktype, optstring, uc, defaultv); in test_u_char()
114 socktype, optstring); in test_u_char()
117 socktype, optstring); in test_u_char()
124 socktype, optstring); in test_u_char()
127 socktype, optstring); in test_u_char()
130 "%d not %d", socktype, optstring, uc, modifiedv); in test_u_char()
139 struct in_addr modifiedv, struct in_addr fakev, const char *socktype, in test_in_addr() argument
[all …]
/freebsd-12-stable/crypto/heimdal/lib/roken/
Dgetaddrinfo.c47 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()
104 add_one (int port, int protocol, int socktype, in add_one() argument
120 a->ai_socktype = socktype; in add_one()
[all …]
Dgetaddrinfo_hostspec.c42 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()
Dgetaddrinfo-test.c41 static int socktype; variable
51 {"socktype",0, arg_integer, &socktype, "socktype", NULL},
79 hints.ai_socktype = socktype; in doit()
/freebsd-12-stable/tools/regression/netinet/ipsockopt/
Dipsockopt.c743 int i, sock, socktype; in testsuite() local
748 socktype = socktypeset[i]; in testsuite()
755 if (getuid() != 0 && socktype == SOCK_RAW) in testsuite()
757 if (geteuid() != 0 && !priv && socktype == SOCK_RAW) in testsuite()
763 sock = get_socket(socktype, priv); in testsuite()
770 sock = get_socket(socktype, priv); in testsuite()
777 sock = get_socket(socktype, priv); in testsuite()
785 sock = get_socket(socktype, priv); in testsuite()
793 sock = get_socket(socktype, priv); in testsuite()
801 sock = get_socket(socktype, priv); in testsuite()
[all …]
/freebsd-12-stable/crypto/openssl/crypto/bio/
Db_sock2.c40 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()
Db_addr.c567 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 …]
/freebsd-12-stable/sys/dev/iscsi/
Dicl_soft_proxy.c108 icl_soft_proxy_connect(struct icl_conn *ic, int domain, int socktype, in icl_soft_proxy_connect() argument
115 error = socreate(domain, &so, socktype, protocol, in icl_soft_proxy_connect()
254 icl_listen_add_tcp(struct icl_listen *il, int domain, int socktype, in icl_listen_add_tcp() argument
262 error = socreate(domain, &so, socktype, protocol, in icl_listen_add_tcp()
318 icl_listen_add(struct icl_listen *il, bool rdma, int domain, int socktype, in icl_listen_add() argument
328 return (icl_listen_add_tcp(il, domain, socktype, protocol, sa, in icl_listen_add()
Dicl_wrappers.h144 icl_conn_connect(struct icl_conn *ic, int domain, int socktype, in icl_conn_connect() argument
148 return (ICL_CONN_CONNECT(ic, domain, socktype, protocol, in icl_conn_connect()
Dicl.h158 int domain, int socktype, int protocol,
168 int socktype, int protocol, struct sockaddr *from_sa,
/freebsd-12-stable/usr.bin/netstat/
Dunix.c72 static const char *const socktype[] = variable
82 snprintf(mibvar, sizeof(mibvar), "net.local.%s.pcblist", socktype[type]); in pcblist_sysctl()
257 socktype[type]); in unixpr()
261 socktype[type]); in unixpr()
265 socktype[type]); in unixpr()
319 (long)so->so_pcb, socktype[so->so_type], so->so_rcv.sb_cc, in unixdomainpr()
/freebsd-12-stable/contrib/ntp/libntp/
Dntp_rfc2553.c289 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-12-stable/crypto/openssl/doc/man3/
DBIO_ADDRINFO.pod25 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

1234