Searched refs:sotype (Results 1 - 4 of 4) sorted by relevance

/openjdk10/jdk/src/java.base/unix/native/libnio/ch/
H A DInheritedChannel.c87 int sotype; local
88 socklen_t arglen = sizeof(sotype);
89 if (getsockopt(fd, SOL_SOCKET, SO_TYPE, (void *)&sotype, &arglen) == 0) {
90 if (sotype == SOCK_STREAM)
92 if (sotype == SOCK_DGRAM)
/openjdk10/jdk/src/jdk.jdwp.agent/windows/native/libdt_socket/
H A Dsocket_md.c315 int sotype, arglen=sizeof(sotype); local
316 if (getsockopt(fd, SOL_SOCKET, SO_TYPE, (void *)&sotype, &arglen) == SOCKET_ERROR) {
319 if (sotype != SOCK_STREAM) {
/openjdk10/jdk/src/java.base/unix/native/libnet/
H A Dnet_util_md.c171 * Ugly, but only called once (for each sotype).
182 static int findMaxBuf(int fd, int opt, int sotype) { argument
188 if (sotype == SOCK_DGRAM) {
1280 int sotype=0; local
1292 arglen = sizeof(sotype);
1293 if (getsockopt(fd, SOL_SOCKET, SO_TYPE, (void *)&sotype,
1303 if (!init_tcp_max_buf && sotype == SOCK_STREAM) {
1312 } else if (!init_udp_max_buf && sotype == SOCK_DGRAM) {
1323 maxbuf = (sotype == SOCK_STREAM) ? tcp_max_buf : udp_max_buf;
1421 int sotype; local
[all...]
/openjdk10/jdk/src/java.base/windows/native/libnet/
H A Dnet_util_md.c737 int sotype, arglen=sizeof(sotype); local
745 getsockopt(fd, SOL_SOCKET, SO_TYPE, (void *)&sotype, &arglen);
760 fd = (int)socket (family, sotype, 0);
764 ofd = (int)socket (ofamily, sotype, 0);

Completed in 60 milliseconds