Searched refs:skfd (Results 1 - 6 of 6) sorted by relevance
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/Documentation/networking/ |
H A D | ifenslave.c | 197 int skfd = -1; /* AF_INET socket for ioctl() calls.*/ variable 298 if ((skfd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { 495 if (skfd >= 0) { 496 close(skfd); 513 if (ioctl(skfd, SIOCGIFFLAGS, &ifr) < 0) 520 if (ioctl(skfd, SIOCGIFADDR, &ifr) < 0) 527 if (ioctl(skfd, SIOCGIFHWADDR, &ifr) < 0) 538 if (ioctl(skfd, SIOCGIFMETRIC, &ifr) < 0) { 544 if (ioctl(skfd, SIOCGIFMTU, &ifr) < 0) 550 if (ioctl(skfd, SIOCGIFDSTADD [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/ |
H A D | route.c | 159 int skfd, isnet, xflag; local 323 skfd = xsocket(AF_INET, SOCK_DGRAM, 0); 326 xioctl(skfd, SIOCADDRT, &rt); 328 xioctl(skfd, SIOCDELRT, &rt); 330 if (ENABLE_FEATURE_CLEAN_UP) close(skfd); 339 int prefix_len, skfd; local 414 skfd = xsocket(AF_INET6, SOCK_DGRAM, 0); 422 xioctl(skfd, SIOGIFINDEX, &ifr); 428 xioctl(skfd, SIOCADDRT, &rt); 430 xioctl(skfd, SIOCDELR [all...] |
H A D | interface.c | 481 int skfd; local 487 skfd = socket(AF_INET, SOCK_DGRAM, 0); 488 if (skfd < 0) { 497 if (ioctl_or_warn(skfd, SIOCGIFCONF, &ifc) < 0) { 516 close(skfd); 579 int skfd; local 581 skfd = xsocket(AF_INET, SOCK_DGRAM, 0); 584 if (ioctl(skfd, SIOCGIFFLAGS, &ifr) < 0) { 585 close(skfd); 592 if (ioctl(skfd, SIOCGIFHWADD [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/ |
H A D | sys-linux.c | 2711 int skfd; 2715 skfd = socket (AF_IPX, SOCK_DGRAM, 0); 2716 if (skfd < 0) { 2734 if (ioctl(skfd, SIOCSIFADDR, (caddr_t) &ifr) < 0) { 2744 close (skfd); 2762 int skfd; 2766 skfd = socket (AF_IPX, SOCK_DGRAM, 0); 2767 if (skfd < 0) { 2782 if (ioctl(skfd, SIOCSIFADDR, (caddr_t) &ifr) < 0) { 2787 close (skfd); 2710 int skfd; local 2761 int skfd; local 2856 int skfd; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/dhcp6/ |
H A D | dhcp6s.c | 280 int error, skfd, i; local 391 if ((skfd = socket(AF_INET, SOCK_DGRAM,0)) < 0) { 395 if (ioctl(skfd, SIOCGIFCONF, &ifc) < 0) {
|
H A D | common.c | 849 int skfd; local 853 if ((skfd = socket(AF_INET6, SOCK_DGRAM, 0 )) < 0) 857 if (ioctl(skfd, SIOCGIFHWADDR, &if_hwaddr) < 0) 875 if (ioctl(skfd, SIOCGIFHWADDR, &if_hwaddr) < 0)
|
Completed in 72 milliseconds