Searched refs:socktype (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-10-stable/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A 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
[all...]
H A 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
H A 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
[all...]
H A 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
H A 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
H A Dunsup_fam.exp1 arg: flags 0x2 family 99 socktype 0 protocol 0 addrlen 0 host localhost serv (empty)
H A 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
[all...]
H A 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
H A 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
[all...]
H A 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
[all...]
H A 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
[all...]
H A 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
[all...]
/freebsd-10-stable/tools/regression/sockets/kqueue/
H A Dkqueue.c62 fail(int error, const char *func, const char *socktype, const char *rest) argument
67 if (socktype == NULL)
70 printf("# %s(%s): %s\n", func, socktype,
73 printf("# %s(%s, %s): %s\n", func, socktype, rest,
79 fail_assertion(const char *func, const char *socktype, const char *rest, argument
85 if (socktype == NULL)
90 socktype, assertion);
93 socktype, rest, assertion);
104 test_evfilt_read(int kq, int fd[2], const char *socktype) argument
114 fail(errno, "kevent", socktype, "EVFILT_REA
189 test_evfilt_write(int kq, int fd[2], const char *socktype) argument
[all...]
/freebsd-10-stable/tools/regression/netinet/msocket/
H A Dmsocket.c83 u_char modifiedv, u_char fakev, const char *socktype, int sock,
99 socktype, optstring);
102 socktype, optstring);
105 "%d not %d", socktype, optstring, uc, defaultv);
114 socktype, optstring);
117 socktype, optstring);
124 socktype, optstring);
127 socktype, optstring);
130 "%d not %d", socktype, optstring, uc, modifiedv);
139 struct in_addr modifiedv, struct in_addr fakev, const char *socktype,
82 test_u_char(int optname, const char *optstring, u_char defaultv, u_char modifiedv, u_char fakev, const char *socktype, int sock, int flags) argument
138 test_in_addr(int optname, const char *optstring, struct in_addr defaultv, struct in_addr modifiedv, struct in_addr fakev, const char *socktype, int sock, int flags) argument
242 test_add_multi(int sock, const char *socktype, struct ip_mreq imr, int flags) argument
284 test_drop_multi(int sock, const char *socktype, struct ip_mreq imr, int flags) argument
[all...]
/freebsd-10-stable/crypto/heimdal/lib/roken/
H A Dgetaddrinfo.c47 int *socktype)
52 *socktype = 0;
65 *socktype = hints->ai_socktype;
67 if (*socktype == SOCK_STREAM) {
71 } else if (*socktype == SOCK_DGRAM) {
75 } else if (*socktype == 0) {
81 *socktype = SOCK_STREAM;
85 *socktype = SOCK_DGRAM;
104 add_one (int port, int protocol, int socktype, argument
120 a->ai_socktype = socktype;
43 get_port_protocol_socktype(const char *servname, const struct addrinfo *hints, int *port, int *protocol, int *socktype) argument
180 get_null(const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument
223 add_hostent(int port, int protocol, int socktype, struct addrinfo ***current, int (*func)(struct addrinfo *, void *data, int port), struct hostent *he, int *flags) argument
271 get_number(const char *nodename, const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument
311 get_nodes(const char *nodename, const struct addrinfo *hints, int port, int protocol, int socktype, struct addrinfo **res) argument
377 int socktype = 0; local
[all...]
H A Dgetaddrinfo_hostspec.c42 int socktype,
54 int socktype; member in struct:hst
67 hints.ai_socktype = socktype;
71 hints.ai_socktype = hstp->socktype;
41 roken_getaddrinfo_hostspec2(const char *hostspec, int socktype, int port, struct addrinfo **ai) argument
H A Dgetaddrinfo-test.c41 static int socktype; variable
51 {"socktype",0, arg_integer, &socktype, "socktype", NULL},
79 hints.ai_socktype = socktype;
99 printf ("\tfamily = %d, socktype = %d, protocol = %d, "
/freebsd-10-stable/sys/dev/iscsi/
H A Dicl_proxy.c108 static int icl_conn_connect_rdma(struct icl_conn *ic, int domain, int socktype,
110 static int icl_listen_add_rdma(struct icl_listen *il, int domain, int socktype, int protocol,
115 icl_conn_connect_tcp(struct icl_conn *ic, int domain, int socktype, argument
122 error = socreate(domain, &so, socktype, protocol,
170 icl_conn_connect(struct icl_conn *ic, bool rdma, int domain, int socktype, argument
176 return (icl_conn_connect_rdma(ic, domain, socktype, protocol, from_sa, to_sa));
183 return (icl_conn_connect_tcp(ic, domain, socktype, protocol, from_sa, to_sa));
309 icl_listen_add_tcp(struct icl_listen *il, int domain, int socktype, argument
317 error = socreate(domain, &so, socktype, protocol,
373 icl_listen_add(struct icl_listen *il, bool rdma, int domain, int socktype, argument
[all...]
H A Dicl.h138 int domain, int socktype, int protocol,
147 int domain, int socktype, int protocol,
/freebsd-10-stable/tools/regression/netinet/ipsockopt/
H A Dipsockopt.c743 int i, sock, socktype; local
748 socktype = socktypeset[i];
755 if (getuid() != 0 && socktype == SOCK_RAW)
757 if (geteuid() != 0 && !priv && socktype == SOCK_RAW)
763 sock = get_socket(socktype, priv);
770 sock = get_socket(socktype, priv);
777 sock = get_socket(socktype, priv);
785 sock = get_socket(socktype, priv);
793 sock = get_socket(socktype, priv);
801 sock = get_socket(socktype, pri
[all...]
/freebsd-10-stable/usr.bin/netstat/
H A Dunix.c66 static const char *const socktype[] = variable
76 sprintf(mibvar, "net.local.%s.pcblist", socktype[type]);
244 socktype[type]);
247 socktype[type]);
250 socktype[type]);
289 (long)so->so_pcb, socktype[so->so_type], so->so_rcv.sb_cc,
/freebsd-10-stable/contrib/ntp/libntp/
H A Dntp_rfc2553.c289 int family, socktype, flags, protocol; local
312 socktype = hints->ai_socktype;
364 socktype = 0;
384 if (socktype == 0)
394 if (socktype == 0) {
396 socktype = SOCK_STREAM;
398 socktype = SOCK_DGRAM;
/freebsd-10-stable/sbin/devd/tests/
H A Dclient_test.c72 common_setup(int socktype, const char* sockpath) { argument
79 s = socket(PF_LOCAL, socktype, 0);
/freebsd-10-stable/contrib/unbound/services/
H A Dlisten_dnsport.h178 * @param socktype: for socket call.
195 int create_udp_sock(int family, int socktype, struct sockaddr* addr,
/freebsd-10-stable/contrib/ntp/sntp/libevent/test/
H A Dregress.h113 int socktype, int protocol, int line);

Completed in 218 milliseconds

12