Searched refs:rt_sock (Results 1 - 5 of 5) 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...] |
H A D | defs.h | 579 extern int rt_sock; /* routing socket */
|
H A D | table.c | 869 cc = write(rt_sock, &w, w.w_rtm.rtm_msglen); 880 writelog(LOG_WARNING, "write(rt_sock)" PAT ": %s ", 884 msglog("write(rt_sock) wrote %ld instead of %d for" PAT, 1586 cc = read(rt_sock, &m, sizeof (m)); 1589 LOGERR("read(rt_sock)");
|
/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...] |
/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));
|
Completed in 76 milliseconds