main.c | 93 int rt_sock; /* routing socket */ variable in typeref:typename:int 298 rt_sock = socket(AF_ROUTE, SOCK_RAW, 0); 299 if (rt_sock < 0) 300 BADERR(1,"rt_sock = socket()"); 301 if (fcntl(rt_sock, F_SETFL, O_NONBLOCK) == -1) 302 logbad(1, "fcntl(rt_sock) O_NONBLOCK: %s", strerror(errno)); 304 if (setsockopt(rt_sock, SOL_SOCKET,SO_USELOOPBACK, 517 if (FD_ISSET(rt_sock, ibitsp)) { 569 if (sock_max <= rt_sock) 570 sock_max = rt_sock + 1 [all...] |