Searched refs:name_sock (Results 1 - 1 of 1) sorted by relevance
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios_name.c | 145 static int name_sock = 0; variable 909 return (sendto(name_sock, buf, len, MSG_EOR, 2397 if ((name_sock = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { 2404 (void) setsockopt(name_sock, SOL_SOCKET, SO_REUSEADDR, &flag, 2407 (void) setsockopt(name_sock, SOL_SOCKET, SO_BROADCAST, &flag, 2413 if (bind(name_sock, (struct sockaddr *)&sin, sizeof (sin)) != 0) { 2416 (void) close(name_sock); 2437 if ((len = recvfrom(name_sock, buf, MAX_DATAGRAM_LENGTH, 2489 (void) close(name_sock);
|
Completed in 60 milliseconds