| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| getaddrinfo_hostspec.c | 44 int socktype, 56 int socktype; member in struct:hst 69 hints.ai_socktype = socktype; 73 hints.ai_socktype = hstp->socktype;
|
| getaddrinfo-test.c | 43 static int socktype; variable 53 {"socktype",0, arg_integer, &socktype, "socktype", NULL}, 81 hints.ai_socktype = socktype; 101 printf ("\tfamily = %d, socktype = %d, protocol = %d, "
|
| getaddrinfo.c | 49 int *socktype) 54 *socktype = 0; 67 *socktype = hints->ai_socktype; 69 if (*socktype == SOCK_STREAM) { 73 } else if (*socktype == SOCK_DGRAM) { 77 } else if (*socktype == 0) { 83 *socktype = SOCK_STREAM; 87 *socktype = SOCK_DGRAM; 106 add_one (int port, int protocol, int socktype, 122 a->ai_socktype = socktype; 381 int socktype = 0; local [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/bio/ |
| bio_sock2.c | 31 * @socktype: the socket type (SOCK_STEAM, SOCK_DGRAM) 41 int BIO_socket(int domain, int socktype, int protocol, int options) 48 sock = socket(domain, socktype, protocol); 225 int socktype; local 226 socklen_t socktype_len = sizeof(socktype); 234 (void *)&socktype, &socktype_len) != 0 235 || socktype_len != sizeof(socktype)) { 286 if (socktype != SOCK_DGRAM && listen(sock, MAX_LISTEN) == -1) {
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/bio/ |
| b_sock2.c | 30 * @socktype: the socket type (SOCK_STEAM, SOCK_DGRAM) 40 int BIO_socket(int domain, int socktype, int protocol, int options) 47 sock = socket(domain, socktype, protocol); 209 int socktype; local 210 socklen_t socktype_len = sizeof(socktype); 218 (void *)&socktype, &socktype_len) != 0 219 || socktype_len != sizeof(socktype)) { 266 if (socktype != SOCK_DGRAM && listen(sock, MAX_LISTEN) == -1) {
|
| /src/external/gpl3/gdb/dist/gdbsupport/ |
| netstuff.cc | 119 family and socktype. */ 129 int socktype; member in struct:host_prefix 146 hint->ai_socktype = prefix.socktype;
|
| /src/external/gpl3/gdb.old/dist/gdbsupport/ |
| netstuff.cc | 119 family and socktype. */ 129 int socktype; member in struct:host_prefix 146 hint->ai_socktype = prefix.socktype;
|
| /src/crypto/external/apache2/openssl/dist/crypto/bio/ |
| bio_sock2.c | 32 * @socktype: the socket type (SOCK_STEAM, SOCK_DGRAM) 42 int BIO_socket(int domain, int socktype, int protocol, int options) 49 sock = socket(domain, socktype, protocol); 287 int socktype; local 288 socklen_t socktype_len = sizeof(socktype); 296 (void *)&socktype, &socktype_len) 298 || socktype_len != sizeof(socktype)) { 352 if (socktype != SOCK_DGRAM && listen(sock, MAX_LISTEN) == -1) { 364 if ((options & BIO_SOCK_TFO) && socktype != SOCK_DGRAM) {
|
| /src/usr.bin/netstat/ |
| unix.c | 86 static const char * const socktype[] = variable 95 so_pcb, socktype[so_type], rcvq, sndq, inode, conn, refs,
|
| /src/external/bsd/ntp/dist/libntp/ |
| ntp_rfc2553.c | 291 int family, socktype, flags, protocol; local 314 socktype = hints->ai_socktype; 366 socktype = 0; 386 if (socktype == 0) 396 if (socktype == 0) { 398 socktype = SOCK_STREAM; 400 socktype = SOCK_DGRAM;
|
| /src/external/bsd/openldap/dist/libraries/libldap/ |
| os-ip.c | 594 int socktype, port; local 628 case LDAP_PROTO_TCP: socktype = SOCK_STREAM; 632 case LDAP_PROTO_UDP: socktype = SOCK_DGRAM; 650 hints.ai_socktype = socktype; 681 s = ldap_int_socket( ld, sai->ai_family, socktype ); 797 s = ldap_int_socket( ld, PF_INET, socktype );
|
| /src/external/mpl/bind/dist/tests/isc/ |
| proxyheader_test.c | 37 int socktype; member in struct:dummy_handler_cbarg 102 const int socktype, 118 if (cmd == ISC_PROXY2_CMD_PROXY && socktype != 0 /* unspec */) { 129 arg->socktype = socktype; 213 int socktype = -1; local 216 assert_true(cbarg->socktype == SOCK_STREAM); 226 result = isc_proxy2_handler_addresses(handler, &socktype, 231 assert_true(socktype == cbarg->socktype); 246 int socktype = -1; local 283 int socktype = -1; local 327 int socktype = -1; local [all...] |
| /src/external/bsd/libevent/dist/ |
| listener.c | 222 int socktype = SOCK_STREAM | EVUTIL_SOCK_NONBLOCK; local 228 socktype |= EVUTIL_SOCK_CLOEXEC; 230 fd = evutil_socket_(family, socktype, 0);
|
| /src/external/bsd/ntp/dist/sntp/libevent/ |
| listener.c | 221 int socktype = SOCK_STREAM | EVUTIL_SOCK_NONBLOCK; local 227 socktype |= EVUTIL_SOCK_CLOEXEC; 229 fd = evutil_socket_(family, socktype, 0);
|
| /src/external/mpl/bind/dist/lib/isc/ |
| proxy2.c | 129 int socktype = 0; local 133 socktype = 0; 136 socktype = SOCK_STREAM; 139 socktype = SOCK_DGRAM; 145 return socktype; 157 int socktype = 0; local 166 socktype = proxy2_socktype_to_socktype(proxy_socktype); 167 handler->cb(result, cmd, socktype, 235 int socktype = 0; local 263 socktype = fam & 0xFU [all...] |
| /src/external/bsd/openldap/dist/servers/lloadd/ |
| daemon.c | 389 int socktype = SOCK_STREAM; /* default to COTS */ local 502 s = socket( (*sal)->sa_family, socktype, 0 );
|
| /src/external/mpl/dhcp/bind/dist/lib/irs/ |
| getaddrinfo.c | 174 get_local(const char *name, int socktype, struct addrinfo **res); 179 int socktype, int port); 182 add_ipv4(const char *hostname, int flags, struct addrinfo **aip, int socktype, 185 add_ipv6(const char *hostname, int flags, struct addrinfo **aip, int socktype, 247 int family, socktype, flags, protocol; local 270 socktype = hints->ai_socktype; 321 socktype = 0; 335 return (get_local(hostname, socktype, res)); 341 return (get_local(servname, socktype, res)); 360 if (socktype == 0) [all...] |
| /src/external/mpl/bind/dist/lib/dns/ |
| dispatch.c | 115 isc_socktype_t socktype; member in struct:dns_dispatch 208 if (disp->socktype == isc_socktype_tcp) { 1120 .socktype = type, 1261 INSIST(disp->socktype == isc_socktype_tcp); 1396 if (disp->socktype == isc_socktype_tcp && 1439 REQUIRE(disp->socktype == isc_socktype_tcp || 1440 disp->socktype == isc_socktype_udp); 1475 if (disp->socktype == isc_socktype_udp) { 1536 inc_stats(disp->mgr, (disp->socktype == isc_socktype_udp) 1568 switch (disp->socktype) { [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| dispatch.c | 212 isc_sockettype_t socktype; member in struct:dns_dispatch 248 ((disp)->socktype == isc_sockettype_tcp) ? (disp)->qid \ 905 switch (disp->socktype) { 1222 if (disp->socktype != resp->disp->socktype || 1532 switch (disp->socktype) { 2330 disp->socktype = isc_sockettype_tcp; 2717 disp->socktype = isc_sockettype_udp; 3341 if (disp->socktype == isc_sockettype_udp) {
|
| /src/external/bsd/nsd/dist/ |
| server.c | 823 const char *socktype = local 826 socktype, strerror(errno)); 968 const char *socktype = local 973 socktype, strerror(errno)); 986 const char *socktype = local 996 socktype, strerror(errno)); 1107 const char *socktype = local 1114 socktype, strerror(errno)); 1168 const char *socktype = 1182 is_ip6 ? NSD_SOCKET_OPTION_TRANSPARENT_NAME6 : NSD_SOCKET_OPTION_TRANSPARENT_NAME, socktype, strerror(errno)) [all...] |
| /src/external/bsd/openldap/dist/servers/slapd/ |
| daemon.c | 1522 int socktype = SOCK_STREAM; /* default to COTS */ local 1657 if( l.sl_is_udp ) socktype = SOCK_DGRAM; 1660 s = socket( (*sal)->sa_family, socktype, 0);
|