Searched defs:sotype (Results 1 - 4 of 4) sorted by relevance
/openjdk7/jdk/src/solaris/native/sun/nio/ch/ |
H A D | InheritedChannel.c | 91 int sotype; local 92 socklen_t arglen=sizeof(sotype); 93 if (getsockopt(fd, SOL_SOCKET, SO_TYPE, (void *)&sotype, &arglen) == 0) { 94 if (sotype == SOCK_STREAM) 96 if (sotype == SOCK_DGRAM)
|
/openjdk7/jdk/src/windows/transport/socket/ |
H A D | socket_md.c | 315 int sotype, arglen=sizeof(sotype); local 316 if (getsockopt(fd, SOL_SOCKET, SO_TYPE, (void *)&sotype, &arglen) == SOCKET_ERROR) { 319 if (sotype != SOCK_STREAM) {
|
/openjdk7/jdk/src/windows/native/java/net/ |
H A D | net_util_md.c | 739 int sotype, arglen=sizeof(sotype); local 747 getsockopt(fd, SOL_SOCKET, SO_TYPE, (void *)&sotype, &arglen); 762 fd = (int)socket (family, sotype, 0); 766 ofd = (int)socket (ofamily, sotype, 0);
|
/openjdk7/jdk/src/solaris/native/java/net/ |
H A D | net_util_md.c | 170 * Ugly, but only called once (for each sotype). 181 static int findMaxBuf(int fd, int opt, int sotype) { argument 187 if (sotype == SOCK_DGRAM) { 1389 int sotype=0, arglen; local 1400 arglen = sizeof(sotype); 1401 if (getsockopt(fd, SOL_SOCKET, SO_TYPE, (void *)&sotype, 1411 if (!init_tcp_max_buf && sotype == SOCK_STREAM) { 1420 } else if (!init_udp_max_buf && sotype == SOCK_DGRAM) { 1431 maxbuf = (sotype == SOCK_STREAM) ? tcp_max_buf : udp_max_buf; 1504 int sotype; local [all...] |
Completed in 37 milliseconds