Searched refs:rdisc_mib_sock (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | main.c | 603 if (rdisc_mib_sock >= 0 && FD_ISSET(rdisc_mib_sock, &ibits)) { in main() 668 FD_SET(rdisc_mib_sock, &fdbits); in fix_select() 669 if (sock_max <= rdisc_mib_sock) in fix_select() 670 sock_max = rdisc_mib_sock+1; in fix_select()
|
H A D | rdisc.c | 84 int rdisc_mib_sock = -1; /* AF_UNIX mib info socket */ variable 185 rdisc_mib_sock = socket(AF_UNIX, SOCK_DGRAM, 0); in get_rdisc_sock() 186 if (rdisc_mib_sock < 0) { in get_rdisc_sock() 199 if (bind(rdisc_mib_sock, (struct sockaddr *)&laddr, len) < 0) { in get_rdisc_sock() 203 if (fcntl(rdisc_mib_sock, F_SETFL, O_NONBLOCK) < 0) { in get_rdisc_sock() 1445 len = recvfrom(rdisc_mib_sock, &command, sizeof (int), 0, in process_d_mib_sock() 1466 (void) sendto(rdisc_mib_sock, &rdisc_info, sizeof (rdisc_info_t), 0, in process_d_mib_sock() 1478 (void) sendto(rdisc_mib_sock, &def_router, in process_d_mib_sock()
|
H A D | defs.h | 581 extern int rdisc_mib_sock; /* AF_UNIX mib info socket */
|