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

1234567

/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dgetaddrinfo_hostspec.c70 hints.ai_socktype = socktype;
74 hints.ai_socktype = hstp->socktype;
H A Dgetaddrinfo-test.c79 hints.ai_socktype = socktype;
99 r->ai_family, r->ai_socktype, r->ai_protocol,
H A Dmini_inetd.c85 fds[i] = socket (a->ai_family, a->ai_socktype, a->ai_protocol);
136 hints.ai_socktype = SOCK_STREAM;
H A Dgetnameinfo_verified.c74 hints.ai_socktype = SOCK_STREAM;
/freebsd-9.3-release/contrib/bsnmp/lib/
H A Dsupport.h56 int ai_socktype; member in struct:addrinfo
H A Dsupport.c148 (*res)->ai_socktype = hints->ai_socktype;
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.c143 if (hints->ai_socktype)
144 ai->ai_socktype = hints->ai_socktype;
146 ai->ai_socktype = SOCK_STREAM;
H A Dfake-rfc2553.h140 int ai_socktype; /* SOCK_xxx */ member in struct:addrinfo
/freebsd-9.3-release/contrib/bind9/lib/lwres/
H A Dgetaddrinfo.c42 * int ai_socktype; // SOCK_xxx
63 * <li>ai_socktype:
65 * SOCK_RAW -- that is wanted. When ai_socktype is zero the caller
107 * NULL pointer is encountered. The three members ai_family, ai_socktype,
198 socktype = hints->ai_socktype;
203 switch (hints->ai_socktype) {
214 switch (hints->ai_socktype) {
231 switch (hints->ai_socktype) {
313 ai->ai_socktype = socktype;
326 ai->ai_socktype
[all...]
/freebsd-9.3-release/usr.bin/finger/
H A Dnet.c78 hint.ai_socktype = SOCK_STREAM;
117 s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
119 warn("socket(%d, %d, %d)", ai->ai_family, ai->ai_socktype,
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dntp_rfc2553.c243 "servname not supported for ai_socktype", /* EAI_SERVICE */
244 "ai_socktype not supported", /* EAI_SOCKTYPE */
308 ai->ai_socktype = hints->ai_socktype;
312 socktype = hints->ai_socktype;
318 switch (hints->ai_socktype) {
329 switch (hints->ai_socktype) {
346 switch (hints->ai_socktype) {
H A Dsocktohost.c61 hints.ai_socktype = SOCK_DGRAM;
/freebsd-9.3-release/contrib/bind9/lib/export/samples/
H A Dsample-gai.c38 hints.ai_socktype = SOCK_STREAM;
/freebsd-9.3-release/contrib/bind9/lib/irs/
H A Dgetaddrinfo.c37 * int ai_socktype; // SOCK_xxx
58 * <li>ai_socktype:
60 * SOCK_RAW -- that is wanted. When ai_socktype is zero the caller
102 * NULL pointer is encountered. The three members ai_family, ai_socktype,
217 socktype = hints->ai_socktype;
222 switch (hints->ai_socktype) {
233 switch (hints->ai_socktype) {
250 switch (hints->ai_socktype) {
332 ai->ai_socktype = socktype;
345 ai->ai_socktype
528 int ai_socktype; member in struct:gai_statehead
[all...]
/freebsd-9.3-release/contrib/tcpdump/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
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Dhttp.c50 hints.ai_socktype = SOCK_STREAM;
60 if ((s = socket(res->ai_family, res->ai_socktype,
206 hints.ai_socktype = SOCK_STREAM;
215 if ((s = socket(res->ai_family, res->ai_socktype,
H A Dhttpdirect.c101 hints.ai_socktype = SOCK_STREAM;
110 if ((s = socket(res->ai_family, res->ai_socktype,
/freebsd-9.3-release/tools/regression/lib/libc/nss/
H A Dtest-getaddr.c102 (ai1->ai_socktype != ai2->ai_socktype) ||
166 ai->ai_flags, ai->ai_family, ai->ai_socktype, ai->ai_protocol,
366 if ((ai->ai_socktype != 0) && (ai->ai_socktype != SOCK_STREAM) &&
367 (ai->ai_socktype != SOCK_DGRAM) && (ai->ai_socktype != SOCK_RAW))
/freebsd-9.3-release/usr.sbin/nfsd/
H A Dnfsd.c268 hints.ai_socktype = SOCK_DGRAM;
287 hints.ai_socktype = SOCK_DGRAM;
306 hints.ai_socktype = SOCK_STREAM;
325 hints.ai_socktype = SOCK_STREAM;
455 hints.ai_socktype = SOCK_DGRAM;
461 ai_udp->ai_socktype,
489 hints.ai_socktype = SOCK_DGRAM;
516 hints.ai_socktype = SOCK_DGRAM;
522 ai_udp6->ai_socktype,
558 hints.ai_socktype
[all...]
/freebsd-9.3-release/contrib/traceroute/
H A Das.c74 hints.ai_socktype = SOCK_STREAM;
86 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
/freebsd-9.3-release/crypto/heimdal/appl/test/
H A Dcommon.c146 hints.ai_socktype = SOCK_STREAM;
160 s = socket (a->ai_family, a->ai_socktype, a->ai_protocol);
/freebsd-9.3-release/contrib/ntp/lib/isc/win32/
H A Dnetdb.h33 int ai_socktype; /* SOCK_xxx */ member in struct:addrinfo
95 #define EAI_SERVICE 9 /* servname not supported for ai_socktype */
96 #define EAI_SOCKTYPE 10 /* ai_socktype not supported */
/freebsd-9.3-release/contrib/ntp/include/
H A Dntp_rfc2553.h186 int ai_socktype; /* SOCK_xxx */ member in struct:addrinfo
205 #define EAI_SERVICE 9 /* servname not supported for ai_socktype */
206 #define EAI_SOCKTYPE 10 /* ai_socktype not supported */
/freebsd-9.3-release/usr.sbin/lpr/common_source/
H A Dnet.c103 hints.ai_socktype = SOCK_STREAM;
206 hints.ai_socktype = SOCK_STREAM;
218 hints.ai_socktype = SOCK_STREAM;
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Devutil.c803 if (hints->ai_socktype == 0 && hints->ai_protocol == 0) {
808 tmp.ai_socktype = SOCK_STREAM; tmp.ai_protocol = IPPROTO_TCP;
812 tmp.ai_socktype = SOCK_DGRAM; tmp.ai_protocol = IPPROTO_UDP;
832 res->ai_socktype = hints->ai_socktype;
920 if (!hints->ai_protocol && hints->ai_socktype) {
921 if (hints->ai_socktype == SOCK_DGRAM)
923 else if (hints->ai_socktype == SOCK_STREAM)
928 if (!hints->ai_socktype && hints->ai_protocol) {
930 hints->ai_socktype
[all...]

Completed in 276 milliseconds

1234567