Searched refs:ai_protocol (Results 1 – 14 of 14) sorted by relevance
/titanic_41/usr/src/lib/libsocket/inet/ |
H A D | getaddrinfo.c | 208 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 D | rexec.c | 105 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 D | getaddrinfo.c | 338 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 D | rdate.c | 99 hints.ai_protocol = IPPROTO_TCP; in main() 128 res->ai_protocol); in main()
|
H A D | whois.c | 273 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in whois()
|
/titanic_41/usr/src/cmd/lms/tools/ |
H A D | ATNetworkTool.cpp | 326 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 D | netcat.c | 287 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 D | fake-getaddrinfo.h | 32 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | fake-addrinfo.h | 113 int ai_protocol; /* 0, IPPROTO_foo */ member
|
/titanic_41/usr/src/head/ |
H A D | netdb.h | 116 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member
|
/titanic_41/usr/src/lib/libshell/common/sh/ |
H A D | io.c | 113 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 D | fake-addrinfo.c | 428 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 D | ip.c | 624 aip->ai_socktype, aip->ai_protocol)) == -1) { in ip_xprt_setup()
|
/titanic_41/usr/src/cmd/ssh/libssh/common/ |
H A D | channels.c | 2243 sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in channel_setup_fwd_listener()
|