Searched refs:sock6_fd (Results 1 - 2 of 2) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/pppd/ |
H A D | sys-linux.c | 179 static int sock6_fd = -1; variable 316 sock6_fd = socket(AF_INET6, SOCK_DGRAM, 0); 317 if (sock6_fd < 0) 318 sock6_fd = -errno; /* save errno for later */ 363 if (sock6_fd >= 0) 364 close(sock6_fd); 2460 if (sock6_fd < 0) { 2461 errno = -sock6_fd; 2467 if (ioctl(sock6_fd, SIOCGIFINDEX, (caddr_t) &ifr) < 0) { 2478 if (ioctl(sock6_fd, SIOCSIFADD [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/src/router/ppp/pppd/ |
H A D | sys-linux.c | 127 static int sock6_fd = -1; variable 282 sock6_fd = socket(AF_INET6, SOCK_DGRAM, 0); 283 if (sock6_fd < 0) 284 sock6_fd = -errno; /* save errno for later */ 2360 if (sock6_fd < 0) { 2361 errno = -sock6_fd; 2367 if (ioctl(sock6_fd, SIOCGIFINDEX, (caddr_t) &ifr) < 0) { 2378 if (ioctl(sock6_fd, SIOCSIFADDR, &ifr6) < 0) { 2391 if (ioctl(sock6_fd, SIOCADDRT, &rt6) < 0) { 2409 if (sock6_fd < [all...] |
Completed in 65 milliseconds