HomeSort by: relevance | last modified time | path
    Searched refs:ai_socktype (Results 1 - 25 of 247) sorted by relevancy

1 2 3 4 5 6 7 8 910

  /src/external/gpl2/xcvs/dist/lib/
getaddrinfo.c 80 hints->ai_socktype != SOCK_STREAM && hints->ai_socktype != SOCK_DGRAM)
91 (hints && hints->ai_socktype == SOCK_DGRAM) ? "udp" : "tcp";
189 tmp->ai_socktype = (hints) ? hints->ai_socktype : 0;
getaddrinfo.h 35 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'. */
  /src/usr.bin/getaddrinfo/
getaddrinfo.c 71 hints.ai_socktype = 0;
105 if (!parse_socktype(optarg, &hints.ai_socktype)) {
179 if ((ai->ai_socktype >= 0) &&
180 ((size_t)ai->ai_socktype < __arraycount(socket_types)) &&
181 (socket_types[ai->ai_socktype] != NULL))
182 n = printf("%s", socket_types[ai->ai_socktype]);
184 n = printf("%d", ai->ai_socktype);
  /src/crypto/external/bsd/heimdal/dist/lib/roken/
getaddrinfo_hostspec.c 69 hints.ai_socktype = socktype;
73 hints.ai_socktype = hstp->socktype;
getaddrinfo-test.c 81 hints.ai_socktype = socktype;
103 r->ai_family, r->ai_socktype, r->ai_protocol,
  /src/tests/lib/libc/net/getaddrinfo/
h_gai.c 87 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;
sock_raw_v4.exp 8 servname not supported for ai_socktype
10 servname not supported for ai_socktype
  /src/tests/net/net/
t_udp.c 27 hints.ai_socktype = SOCK_DGRAM;
36 S = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
45 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
  /src/tests/net/sys/
t_rfc6056.c 60 hints.ai_socktype = SOCK_DGRAM;
80 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
101 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
  /src/external/bsd/nsd/dist/compat/
fake-rfc2553.c 136 if (hints->ai_socktype)
137 ai->ai_socktype = hints->ai_socktype;
139 ai->ai_socktype = SOCK_STREAM;
  /src/external/bsd/unbound/dist/compat/
fake-rfc2553.c 136 if (hints->ai_socktype)
137 ai->ai_socktype = hints->ai_socktype;
139 ai->ai_socktype = SOCK_STREAM;
  /src/sbin/mount_portal/
pt_tcp.c 104 hints.ai_socktype = SOCK_STREAM;
113 so = socket(lres->ai_family, lres->ai_socktype,
  /src/tests/net/ipsec/
natt_terminator.c 88 hints.ai_socktype = SOCK_DGRAM;
96 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
  /src/usr.bin/finger/
net.c 83 hints.ai_socktype = SOCK_STREAM;
93 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
  /src/crypto/external/bsd/heimdal/dist/lib/ipc/
ts-http.c 85 hints.ai_socktype = SOCK_STREAM;
92 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/
netdb.d 87 int ai_socktype;
196 int ai_socktype;
280 int ai_socktype;
364 int ai_socktype;
460 int ai_socktype;
557 int ai_socktype;
642 int ai_socktype = SOCK_STREAM; /* socktype default value required to be able to perform getAddrInfo on DragonFlyBSD
643 * without socktype set, you get 'servname not supported for ai_socktype'
745 int ai_socktype;
834 int ai_socktype;
    [all...]
  /src/external/bsd/ntp/dist/libntp/
ntp_rfc2553.c 245 "servname not supported for ai_socktype", /* EAI_SERVICE */
246 "ai_socktype not supported", /* EAI_SOCKTYPE */
310 ai->ai_socktype = hints->ai_socktype;
314 socktype = hints->ai_socktype;
320 switch (hints->ai_socktype) {
331 switch (hints->ai_socktype) {
348 switch (hints->ai_socktype) {
  /src/usr.sbin/rdate/
rdate.c 121 hints.ai_socktype = SOCK_STREAM;
128 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
  /src/external/gpl3/gcc/dist/libcody/
netclient.cc 98 hints.ai_socktype = SOCK_STREAM;
119 && next->ai_socktype == SOCK_STREAM)
netserver.cc 105 hints.ai_socktype = SOCK_STREAM;
128 && next->ai_socktype == SOCK_STREAM)
  /src/external/gpl3/gcc.old/dist/libcody/
netclient.cc 98 hints.ai_socktype = SOCK_STREAM;
119 && next->ai_socktype == SOCK_STREAM)
netserver.cc 105 hints.ai_socktype = SOCK_STREAM;
128 && next->ai_socktype == SOCK_STREAM)
  /src/external/gpl3/gdb.old/dist/gdbsupport/
netstuff.cc 128 /* The 'ai_socktype'. */
146 hint->ai_socktype = prefix.socktype;
148 = hint->ai_socktype == SOCK_DGRAM ? IPPROTO_UDP : IPPROTO_TCP;
  /src/external/gpl3/gdb/dist/gdbsupport/
netstuff.cc 128 /* The 'ai_socktype'. */
146 hint->ai_socktype = prefix.socktype;
148 = hint->ai_socktype == SOCK_DGRAM ? IPPROTO_UDP : IPPROTO_TCP;
  /src/lib/libform/
type_ipv6.c 65 hints.ai_socktype = SOCK_DGRAM; /* dummy */

Completed in 30 milliseconds

1 2 3 4 5 6 7 8 910