Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dmain.c87 int rip_sock = -1; /* RIP socket */ variable
399 rip_sock = open_rip_sock(); in main()
607 if (rip_sock >= 0 && FD_ISSET(rip_sock, &ibits)) { in main()
611 (void) close(rip_sock); in main()
612 rip_sock = -1; in main()
659 if (rip_sock >= 0) { in fix_select()
660 FD_SET(rip_sock, &fdbits); in fix_select()
661 if (sock_max <= rip_sock) in fix_select()
662 sock_max = rip_sock+1; in fix_select()
782 if (setsockopt(rip_sock, IPPROTO_IP, in rip_off()
[all …]
H A Doutput.c168 setsockopt(rip_sock, IPPROTO_IP, in output()
179 res = sendtoif(rip_sock, buf, size, flags, &sin, ifindex); in output()
H A Ddefs.h577 extern int rip_sock; /* RIP socket */
H A Dtable.c2751 if (rip_sock < 0) { in walk_age()
2764 ((rip_sock < 0) || in walk_age()
2809 + ((rip_sock < 0) ? NEVER : SUPPLY_INTERVAL)); in age()
H A Dinput.c132 cc = recvmsg(rip_sock, &msg, 0); in read_rip()
H A Drdisc.c442 if (rip_sock < 0 && bad_gate == 0) in rdisc_age()