Searched refs:rtsock_v4 (Results 1 – 2 of 2) sorted by relevance
256 static int rtsock_v4; in smbd_nicmon_daemon() local263 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()
49 static int rtsock_v4; /* AF_INET routing socket */ variable1246 (void) close(rtsock_v4); in cleanup()1452 process_rtsock(int rtsock_v4, int rtsock_v6) in process_rtsock() argument1465 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()