Home
last modified time | relevance | path

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

/illumos-gate/usr/src/stand/lib/sock/
H A Dsock_test.c132 static int g_sock_fd = NO_OPENED_SOCKET; variable
332 if (g_sock_fd != NO_OPENED_SOCKET) { in st_socket()
338 if ((g_sock_fd = st_local_socket(AF_INET, SOCK_STREAM, in st_socket()
346 if ((g_sock_fd = st_local_socket(AF_INET, SOCK_DGRAM, in st_socket()
354 if ((g_sock_fd = st_local_socket(AF_INET, SOCK_RAW, 0)) < 0) { in st_socket()
443 if (g_sock_fd == NO_OPENED_SOCKET) { in st_get_addr_and_port()
479 if (st_local_bind(g_sock_fd, (struct sockaddr *)&local_addr, in st_bind()
494 if (g_sock_fd == NO_OPENED_SOCKET) { in st_listen()
502 if (st_local_listen(g_sock_fd, atoi(tmp)) < 0) { in st_listen()
517 if (g_sock_fd == NO_OPENED_SOCKET) { in st_accept()
[all …]