Searched refs:ai_socktype (Results 1 - 25 of 156) sorted by relevance

1234567

/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/
H A Dgetaddrinfo.c77 hints->ai_socktype != SOCK_STREAM && hints->ai_socktype != SOCK_DGRAM)
88 (hints && hints->ai_socktype == SOCK_DGRAM) ? "udp" : "tcp";
186 tmp->ai_socktype = (hints) ? hints->ai_socktype : 0;
H A Dgetaddrinfo.h35 int ai_socktype; /* Socket type. */ member in struct:addrinfo
59 # define EAI_SOCKTYPE -7 /* `ai_socktype' not supported. */
60 # define EAI_SERVICE -8 /* SERVICE not supported for `ai_socktype'. */
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dgetaddrinfo_hostspec.c69 hints.ai_socktype = socktype;
73 hints.ai_socktype = hstp->socktype;
H A Dgetaddrinfo-test.c81 hints.ai_socktype = socktype;
103 r->ai_family, r->ai_socktype, r->ai_protocol,
H A Dgetnameinfo_verified.c75 hints.ai_socktype = SOCK_STREAM;
/netbsd-6-1-5-RELEASE/tests/lib/libc/net/getaddrinfo/
H A Dh_gai.c87 printf("%ssocktype %d%s", start, res->ai_socktype, end);
122 ai.ai_socktype = SOCK_DGRAM;
134 ai.ai_socktype = SOCK_RAW;
137 ai.ai_socktype = atoi(optarg);
140 ai.ai_socktype = SOCK_STREAM;
H A Dsock_raw_v4.exp8 servname not supported for ai_socktype
10 servname not supported for ai_socktype
H A Dsock_raw_v4v6.exp10 servname not supported for ai_socktype
12 servname not supported for ai_socktype
/netbsd-6-1-5-RELEASE/tests/net/sys/
H A Dt_rfc6056.c60 hints.ai_socktype = SOCK_DGRAM;
67 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
88 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/queryperf/missing/
H A Daddrinfo.h45 #define EAI_SERVICE 9 /* servname not supported for ai_socktype */
46 #define EAI_SOCKTYPE 10 /* ai_socktype not supported */
86 int ai_socktype; /* SOCK_xxx */ member in struct:addrinfo
H A Dgetaddrinfo.c119 "servname not supported for ai_socktype", /* EAI_SERVICE */
120 "ai_socktype not supported", /* EAI_SOCKTYPE */
221 pai->ai_socktype = ANY;
249 switch (pai->ai_socktype) {
255 pai->ai_socktype = SOCK_DGRAM;
258 pai->ai_socktype = SOCK_STREAM;
261 pai->ai_socktype = SOCK_RAW;
290 if (pai->ai_socktype == ANY) {
292 pai->ai_socktype = SOCK_DGRAM;
301 switch (pai->ai_socktype) {
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/ipc/
H A Dts-http.c85 hints.ai_socktype = SOCK_STREAM;
92 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
/netbsd-6-1-5-RELEASE/sbin/mount_portal/
H A Dpt_tcp.c104 hints.ai_socktype = SOCK_STREAM;
113 so = socket(lres->ai_family, lres->ai_socktype,
/netbsd-6-1-5-RELEASE/usr.bin/finger/
H A Dnet.c83 hints.ai_socktype = SOCK_STREAM;
93 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/
H A Dntp_rfc2553.c100 "servname not supported for ai_socktype", /* EAI_SERVICE */
101 "ai_socktype not supported", /* EAI_SOCKTYPE */
165 ai->ai_socktype = hints->ai_socktype;
169 socktype = hints->ai_socktype;
175 switch (hints->ai_socktype) {
186 switch (hints->ai_socktype) {
203 switch (hints->ai_socktype) {
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/lwres/
H A Dgetaddrinfo.c44 * int ai_socktype; // SOCK_xxx
65 * <li>ai_socktype:
67 * SOCK_RAW -- that is wanted. When ai_socktype is zero the caller
109 * NULL pointer is encountered. The three members ai_family, ai_socktype,
200 socktype = hints->ai_socktype;
205 switch (hints->ai_socktype) {
216 switch (hints->ai_socktype) {
233 switch (hints->ai_socktype) {
315 ai->ai_socktype = socktype;
328 ai->ai_socktype
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/nfsd/
H A Dnfsd.c228 hints.ai_socktype = SOCK_DGRAM;
254 hints.ai_socktype = SOCK_STREAM;
280 hints.ai_socktype = SOCK_DGRAM;
306 hints.ai_socktype = SOCK_STREAM;
344 if ((sock = socket(ai_udp->ai_family, ai_udp->ai_socktype,
369 if ((sock = socket(ai_udp6->ai_family, ai_udp6->ai_socktype,
403 if ((tcpsock = socket(ai_tcp->ai_family, ai_tcp->ai_socktype,
431 if ((tcp6sock = socket(ai_tcp6->ai_family, ai_tcp6->ai_socktype,
/netbsd-6-1-5-RELEASE/usr.sbin/rdate/
H A Drdate.c111 hints.ai_socktype = SOCK_STREAM;
118 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
/netbsd-6-1-5-RELEASE/tests/fs/nfs/nfsservice/
H A Dnfsd.c239 hints.ai_socktype = SOCK_DGRAM;
265 hints.ai_socktype = SOCK_STREAM;
291 hints.ai_socktype = SOCK_DGRAM;
317 hints.ai_socktype = SOCK_STREAM;
348 if ((sock = rump_sys_socket(ai_udp->ai_family, ai_udp->ai_socktype,
373 if ((sock = rump_sys_socket(ai_udp6->ai_family, ai_udp6->ai_socktype,
407 if ((tcpsock = rump_sys_socket(ai_tcp->ai_family, ai_tcp->ai_socktype,
435 if ((tcp6sock = socket(ai_tcp6->ai_family, ai_tcp6->ai_socktype,
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/export/samples/
H A Dsample-gai.c40 hints.ai_socktype = SOCK_STREAM;
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/irs/
H A Dgetaddrinfo.c39 * int ai_socktype; // SOCK_xxx
60 * <li>ai_socktype:
62 * SOCK_RAW -- that is wanted. When ai_socktype is zero the caller
104 * NULL pointer is encountered. The three members ai_family, ai_socktype,
218 socktype = hints->ai_socktype;
223 switch (hints->ai_socktype) {
234 switch (hints->ai_socktype) {
251 switch (hints->ai_socktype) {
333 ai->ai_socktype = socktype;
346 ai->ai_socktype
527 int ai_socktype; member in struct:gai_statehead
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/libpcap/dist/Win32/Include/
H A Daddrinfo.h45 #define EAI_SERVICE 9 /* servname not supported for ai_socktype */
46 #define EAI_SOCKTYPE 10 /* ai_socktype not supported */
74 int ai_socktype; /* SOCK_xxx */ member in struct:addrinfo
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/missing/
H A Daddrinfo.h45 #define EAI_SERVICE 9 /* servname not supported for ai_socktype */
46 #define EAI_SOCKTYPE 10 /* ai_socktype not supported */
74 int ai_socktype; /* SOCK_xxx */ member in struct:addrinfo
/netbsd-6-1-5-RELEASE/lib/libform/
H A Dtype_ipv6.c65 hints.ai_socktype = SOCK_DGRAM; /* dummy */
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/irs/
H A Dgetaddrinfo.c216 "servname not supported for ai_socktype", /*%< EAI_SERVICE */
217 "ai_socktype not supported", /*%< EAI_SOCKTYPE */
339 pai->ai_socktype = ANY;
385 if (pai->ai_socktype != ANY && pai->ai_protocol != ANY) {
393 if (pai->ai_socktype == ex->e_socktype &&
456 if (!MATCH(pai->ai_socktype, ex->e_socktype, WILD_SOCKTYPE(ex)))
463 if (pai->ai_socktype == ANY && ex->e_socktype != ANY)
464 pai->ai_socktype = ex->e_socktype;
542 if (!MATCH(pai->ai_socktype, ex->e_socktype,
563 if (pai->ai_socktype
[all...]

Completed in 407 milliseconds

1234567