Searched refs:rip_sock (Results 1 – 7 of 7) sorted by relevance
75 int rip_sock = -1; /* RIP socket */ variable504 if (rip_sock >= 0 && FD_ISSET(rip_sock, &ibits)) { in main()505 read_rip(rip_sock, 0); in main()555 if (rip_sock >= 0) { in fix_select()556 FD_SET(rip_sock, &fdbits); in fix_select()557 if (sock_max <= rip_sock) in fix_select()558 sock_max = rip_sock+1; in fix_select()665 if (rip_sock >= 0 && !mhome) { in rip_off()668 (void)close(rip_sock); in rip_off()669 rip_sock = -1; in rip_off()[all …]
109 soc = rip_sock; in output()148 if (0 > setsockopt(rip_sock, in output()819 if (rip_sock < 0) in rip_bcast()895 if (rip_sock < 0) in rip_query()
225 if (rip_sock < 0 in input()511 if (rip_sock < 0) { in input()
1462 if ((RT->rt_state & RS_RDISC) && rip_sock < 0) in walk_kern()2045 if (rip_sock < 0) { in walk_age()2101 + ((rip_sock < 0) ? NEVER : SUPPLY_INTERVAL)); in age()
423 extern int rip_sock; /* RIP socket */
472 if ((ifp->int_if_flags & IFF_MULTICAST) && rip_sock >= 0) { in ifdel()484 if (setsockopt(rip_sock, IPPROTO_IP, MCAST_LEAVE_GROUP, in ifdel()
349 if (rip_sock < 0 && bad_gate == 0) in rdisc_age()