Searched defs:rt_sock (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | main.c | 97 int rt_sock; /* routing socket */ variable 350 rt_sock = socket(PF_ROUTE, SOCK_RAW, AF_INET); 351 if (rt_sock < 0) 352 BADERR(_B_TRUE, "rt_sock = socket()"); 353 if (fcntl(rt_sock, F_SETFL, O_NONBLOCK) == -1) 354 logbad(_B_TRUE, "fcntl(rt_sock) O_NONBLOCK: %s", 357 if (setsockopt(rt_sock, SOL_SOCKET, SO_USELOOPBACK, 595 if (FD_ISSET(rt_sock, &ibits)) { 656 FD_SET(rt_sock, &fdbits); 657 if (sock_max <= rt_sock) [all...] |
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_frontend.c | 1468 int rt_sock, rdlen, idx; local 1480 rt_sock = socket(PF_ROUTE, SOCK_RAW, 0); 1481 if (rt_sock < 0) { 1488 rdlen = read(rt_sock, &mbuf, sizeof (mbuf));
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmap_config.c | 95 static int rt_sock = -1; variable 1205 pfroute_event_is_interesting(int rt_sock) argument 1213 if ((nbytes = read(rt_sock, msg, sizeof (msg))) <= 0) 1286 if (pe.portev_object == rt_sock) { 1293 rt_sock, POLLIN, NULL) != 0) { 1304 if (pfroute_event_is_interesting(rt_sock)) { 1442 if ((rt_sock = socket(PF_ROUTE, SOCK_RAW, 0)) < 0) { 1449 if (fcntl(rt_sock, F_SETFL, O_NDELAY|O_NONBLOCK) < 0) { 1452 (void) close(rt_sock); 1458 rt_sock, POLLI [all...] |
Completed in 85 milliseconds