Searched refs:skfd (Results 1 - 9 of 9) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/Documentation/networking/
H A Difenslave.c197 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-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/
H A Droute.c159 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 Dinterface.c481 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-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/pppd/
H A Dsys-linux.c2711 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-R7000-V1.0.7.12_1.2.5/src/router/ppp/pppd/
H A Dsys-linux.c2630 int skfd;
2634 skfd = socket (AF_IPX, SOCK_DGRAM, 0);
2635 if (skfd < 0) {
2653 if (ioctl(skfd, SIOCSIFADDR, (caddr_t) &ifr) < 0) {
2663 close (skfd);
2681 int skfd;
2685 skfd = socket (AF_IPX, SOCK_DGRAM, 0);
2686 if (skfd < 0) {
2701 if (ioctl(skfd, SIOCSIFADDR, (caddr_t) &ifr) < 0) {
2706 close (skfd);
2629 int skfd; local
2680 int skfd; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/dhcp6/
H A Ddhcp6s.c279 int error, skfd, i; local
390 if ((skfd = socket(AF_INET, SOCK_DGRAM,0)) < 0) {
394 if (ioctl(skfd, SIOCGIFCONF, &ifc) < 0) {
H A Dcommon.c849 int skfd; local
853 if ((skfd = socket(AF_INET6, SOCK_DGRAM, 0 )) < 0)
857 if (ioctl(skfd, SIOCGIFHWADDR, &if_hwaddr) < 0)
/netgear-R7000-V1.0.7.12_1.2.5/src/router/dhcp6/
H A Ddhcp6s.c280 int error, skfd, i; local
391 if ((skfd = socket(AF_INET, SOCK_DGRAM,0)) < 0) {
395 if (ioctl(skfd, SIOCGIFCONF, &ifc) < 0) {
H A Dcommon.c849 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 197 milliseconds