Lines Matching refs:skfd
2701 int skfd; in sipxfaddr() local
2705 skfd = socket (AF_IPX, SOCK_DGRAM, 0); in sipxfaddr()
2706 if (skfd < 0) { in sipxfaddr()
2724 if (ioctl(skfd, SIOCSIFADDR, (caddr_t) &ifr) < 0) { in sipxfaddr()
2734 close (skfd); in sipxfaddr()
2752 int skfd; in cipxfaddr() local
2756 skfd = socket (AF_IPX, SOCK_DGRAM, 0); in cipxfaddr()
2757 if (skfd < 0) { in cipxfaddr()
2772 if (ioctl(skfd, SIOCSIFADDR, (caddr_t) &ifr) < 0) { in cipxfaddr()
2777 close (skfd); in cipxfaddr()
2847 int skfd; in ether_to_eui64() local
2850 skfd = socket(PF_INET6, SOCK_DGRAM, 0); in ether_to_eui64()
2851 if(skfd == -1) in ether_to_eui64()
2858 if(ioctl(skfd, SIOCGIFHWADDR, &ifr) < 0) in ether_to_eui64()
2860 close(skfd); in ether_to_eui64()
2864 close(skfd); in ether_to_eui64()