Searched refs:ai_protocol (Results 1 - 25 of 155) sorted by relevance

1234567

/freebsd-head/contrib/netbsd-tests/net/net/
H A Dt_udp.c28 hints.ai_protocol = IPPROTO_UDP;
36 S = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
45 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
/freebsd-head/contrib/bsnmp/lib/
H A Dsupport.h57 int ai_protocol; member in struct:addrinfo
H A Dsupport.c149 (*res)->ai_protocol = hints->ai_protocol;
/freebsd-head/usr.bin/getaddrinfo/
H A Dgetaddrinfo.c75 hints.ai_protocol = 0;
104 if (!parse_protocol(optarg, &hints.ai_protocol)) {
139 if (hints.ai_protocol != 0) {
146 if (!parse_protocol(p, &hints.ai_protocol)) {
292 protoent = getprotobynumber(ai->ai_protocol);
294 n = printf(" %d", ai->ai_protocol);
/freebsd-head/contrib/llvm-project/lldb/source/Host/common/
H A DSocketAddress.cpp215 int ai_family, int ai_socktype, int ai_protocol,
220 ai_protocol, ai_flags);
228 int ai_family, int ai_socktype, int ai_protocol,
236 hints.ai_protocol = ai_protocol;
214 getaddrinfo(const char *host, const char *service, int ai_family, int ai_socktype, int ai_protocol, int ai_flags) argument
227 GetAddressInfo(const char *hostname, const char *servname, int ai_family, int ai_socktype, int ai_protocol, int ai_flags) argument
/freebsd-head/contrib/ldns/compat/
H A Dfake-rfc2553.c145 if (hints->ai_protocol)
146 ai->ai_protocol = hints->ai_protocol;
H A Dfake-rfc2553.h145 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member in struct:addrinfo
/freebsd-head/contrib/unbound/compat/
H A Dfake-rfc2553.c141 if (hints->ai_protocol)
142 ai->ai_protocol = hints->ai_protocol;
H A Dfake-rfc2553.h140 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member in struct:addrinfo
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.c148 if (hints->ai_protocol)
149 ai->ai_protocol = hints->ai_protocol;
H A Dfake-rfc2553.h142 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member in struct:addrinfo
/freebsd-head/contrib/netbsd-tests/net/sys/
H A Dt_rfc6056.c80 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
101 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
/freebsd-head/contrib/llvm-project/lldb/include/lldb/Host/
H A DSocketAddress.h39 int ai_socktype, int ai_protocol, int ai_flags = 0);
102 int ai_protocol = 0, int ai_flags = 0);
/freebsd-head/crypto/heimdal/lib/roken/
H A Dgetaddrinfo_hostspec.c72 hints.ai_protocol = hstp->protocol;
H A Dgetaddrinfo-test.c101 r->ai_family, r->ai_socktype, r->ai_protocol,
/freebsd-head/usr.sbin/nfsd/
H A Dnfsd.c329 hints.ai_protocol = IPPROTO_UDP;
353 hints.ai_protocol = IPPROTO_UDP;
377 hints.ai_protocol = IPPROTO_TCP;
401 hints.ai_protocol = IPPROTO_TCP;
501 hints.ai_protocol = IPPROTO_UDP;
507 ai_udp->ai_protocol)) < 0) {
535 hints.ai_protocol = IPPROTO_UDP;
567 hints.ai_protocol = IPPROTO_UDP;
573 ai_udp6->ai_protocol)) < 0) {
609 hints.ai_protocol
[all...]
/freebsd-head/contrib/ofed/librdmacm/
H A Daddrinfo.c73 ai->ai_protocol = IPPROTO_TCP;
77 ai->ai_protocol = IPPROTO_UDP;
81 ai->ai_protocol = IPPROTO_TCP;
83 ai->ai_protocol = IPPROTO_UDP;
166 switch (ai->ai_protocol) {
/freebsd-head/lib/libc/tests/nss/
H A Dgetaddrinfo_test.c105 ai1->ai_protocol != ai2->ai_protocol ||
165 ai->ai_flags, ai->ai_family, ai->ai_socktype, ai->ai_protocol,
363 if (ai->ai_protocol != 0 && ai->ai_protocol != IPPROTO_UDP &&
364 ai->ai_protocol != IPPROTO_TCP)
/freebsd-head/crypto/heimdal/appl/test/
H A Dcommon.c149 hints.ai_protocol = IPPROTO_TCP;
162 s = socket (a->ai_family, a->ai_socktype, a->ai_protocol);
/freebsd-head/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A Dh_gai.c88 printf("%sprotocol %d%s", start, res->ai_protocol, end);
128 ai.ai_protocol = atoi(optarg);
/freebsd-head/usr.bin/finger/
H A Dnet.c120 s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
123 ai->ai_protocol);
/freebsd-head/crypto/heimdal/lib/ipc/
H A Dts-http.c90 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
/freebsd-head/contrib/ntp/lib/isc/win32/
H A Dnetdb.h34 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member in struct:addrinfo
/freebsd-head/contrib/ntp/include/
H A Dntp_rfc2553.h187 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member in struct:addrinfo
/freebsd-head/contrib/ntp/libntp/
H A Dsocktohost.c60 hints.ai_protocol = IPPROTO_UDP;

Completed in 280 milliseconds

1234567