Home
last modified time | relevance | path

Searched refs:rip_sock (Results 1 – 7 of 7) sorted by relevance

/freebsd/sbin/routed/
H A Dmain.c75 int rip_sock = -1; /* RIP socket */ variable
504 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 …]
H A Doutput.c109 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()
H A Dinput.c225 if (rip_sock < 0 in input()
511 if (rip_sock < 0) { in input()
H A Dtable.c1462 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()
H A Ddefs.h423 extern int rip_sock; /* RIP socket */
H A Dif.c472 if ((ifp->int_if_flags & IFF_MULTICAST) && rip_sock >= 0) { in ifdel()
484 if (setsockopt(rip_sock, IPPROTO_IP, MCAST_LEAVE_GROUP, in ifdel()
H A Drdisc.c349 if (rip_sock < 0 && bad_gate == 0) in rdisc_age()