Home
last modified time | relevance | path

Searched refs:ai_protocol (Results 1 – 14 of 14) sorted by relevance

/titanic_41/usr/src/lib/libsocket/inet/
H A Dgetaddrinfo.c208 aip->ai_protocol = 0; in _getaddrinfo()
257 switch (aip->ai_protocol) { in _getaddrinfo()
280 if (aip->ai_protocol == ANY) in _getaddrinfo()
281 aip->ai_protocol = IPPROTO_SCTP; in _getaddrinfo()
284 aip->ai_protocol = IPPROTO_UDP; in _getaddrinfo()
291 if (aip->ai_protocol == ANY) in _getaddrinfo()
292 aip->ai_protocol = IPPROTO_TCP; in _getaddrinfo()
323 switch (aip->ai_protocol) { in _getaddrinfo()
336 switch (aip->ai_protocol) { in _getaddrinfo()
422 aip->ai_protocol = IPPROTO_UDP; in _getaddrinfo()
[all …]
H A Drexec.c105 s = socket(res->ai_addr->sa_family, res->ai_socktype, res->ai_protocol); in rexec_af()
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dgetaddrinfo.c338 pai->ai_protocol = ANY;
383 if (pai->ai_socktype != ANY && pai->ai_protocol != ANY) {
392 pai->ai_protocol != ex->e_protocol) {
456 if (!MATCH(pai->ai_protocol, ex->e_protocol, WILD_PROTOCOL(ex)))
463 if (pai->ai_protocol == ANY && ex->e_protocol != ANY)
464 pai->ai_protocol = ex->e_protocol;
544 if (!MATCH(pai->ai_protocol, ex->e_protocol,
563 if (pai->ai_protocol == ANY && ex->e_protocol != ANY)
564 pai->ai_protocol = ex->e_protocol;
715 cur->ai_next->ai_protocol = pai->ai_protocol;
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/
H A Drdate.c99 hints.ai_protocol = IPPROTO_TCP; in main()
128 res->ai_protocol); in main()
H A Dwhois.c273 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in whois()
/titanic_41/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp326 addr->ai_protocol); in CreateSocket()
366 addr->ai_protocol); in ConnectSocket()
383 hints.ai_protocol = protocol; in ConnectSocket()
488 hints.ai_protocol = protocol; in CreateServerSockets()
602 hints.ai_protocol = protocol; in Connect()
615 hints.ai_protocol = protocol; in Connect()
671 hints.ai_protocol = protocol; in ConnectLoopback()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c287 hints.ai_protocol = uflag ? IPPROTO_UDP : IPPROTO_TCP; in main()
315 proxyhints.ai_protocol = IPPROTO_TCP; in main()
559 res0->ai_protocol)) < 0) { in remote_connect()
571 ahints.ai_protocol = uflag ? IPPROTO_UDP : IPPROTO_TCP; in remote_connect()
634 res0->ai_protocol)) < 0) { in local_listen()
/titanic_41/usr/src/cmd/ssh/include/
H A Dfake-getaddrinfo.h32 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dfake-addrinfo.h113 int ai_protocol; /* 0, IPPROTO_foo */ member
/titanic_41/usr/src/head/
H A Dnetdb.h116 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dio.c113 int ai_protocol; member
147 switch (hint->ai_protocol) in getaddrinfo()
229 hint.ai_protocol = IPPROTO_SCTP; in inetopen()
282 if (!p->ai_protocol) in inetopen()
283 p->ai_protocol = hint.ai_protocol; in inetopen()
286 while ((fd = socket(p->ai_family, p->ai_socktype, p->ai_protocol)) >= 0) in inetopen()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dfake-addrinfo.c428 if (hint->ai_protocol) in debug_dump_getaddrinfo_args()
429 fprintf(stderr, " IPPROTO_%s", protoname(hint->ai_protocol, buf)); in debug_dump_getaddrinfo_args()
886 template.ai_protocol = 0; in fake_getaddrinfo()
/titanic_41/usr/src/cmd/fm/modules/common/ip-transport/
H A Dip.c624 aip->ai_socktype, aip->ai_protocol)) == -1) { in ip_xprt_setup()
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dchannels.c2243 sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in channel_setup_fwd_listener()