Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_nicmon.c256 static int rtsock_v4; in smbd_nicmon_daemon() local
263 if ((rtsock_v4 = smbd_nicmon_setup_rtsock(AF_INET)) == -1) in smbd_nicmon_daemon()
278 pollfds[0].fd = rtsock_v4; in smbd_nicmon_daemon()
297 if (pollfds[i].fd == rtsock_v4) { in smbd_nicmon_daemon()
299 nic_changed = smbd_nicmon_needscan(rtsock_v4); in smbd_nicmon_daemon()
318 (void) close(rtsock_v4); in smbd_nicmon_daemon()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_main.c49 static int rtsock_v4; /* AF_INET routing socket */ variable
1246 (void) close(rtsock_v4); in cleanup()
1452 process_rtsock(int rtsock_v4, int rtsock_v6) in process_rtsock() argument
1465 nbytes = read((type == AF_INET) ? rtsock_v4 : in process_rtsock()
2106 rtsock_v4 = setup_rtsock(AF_INET); in main()
2149 if (pollfds[i].fd == rtsock_v4 || in main()
2151 process_rtsock(rtsock_v4, rtsock_v6); in main()