HomeSort by: relevance | last modified time | path
    Searched refs:rdisc_sock (Results 1 - 3 of 3) sorted by relevancy

  /src/sbin/routed/
rdisc.c 79 int rdisc_sock = -1; /* router-discovery raw socket */ variable in typeref:typename:int
160 if (rdisc_sock < 0) {
161 rdisc_sock = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
162 if (rdisc_sock < 0)
163 BADERR(1,"rdisc_sock = socket()");
164 fix_sock(rdisc_sock,"rdisc_sock");
178 if (rdisc_sock < 0) {
212 if (setsockopt(rdisc_sock, IPPROTO_IP,
223 if (setsockopt(rdisc_sock, IPPROTO_IP, IP_ADD_MEMBERSHIP
    [all...]
main.c 521 if (rdisc_sock >= 0 && FD_ISSET(rdisc_sock, ibitsp)) {
579 if (rdisc_sock >= 0)
580 if (sock_max <= rdisc_sock)
581 sock_max = rdisc_sock + 1;
597 if (rdisc_sock >= 0)
598 FD_SET(rdisc_sock, fdbitsp);
defs.h 459 extern int rdisc_sock; /* router-discovery raw socket */

Completed in 15 milliseconds