Lines Matching refs:skfd
2767 int skfd; in sipxfaddr() local
2771 skfd = socket (AF_IPX, SOCK_DGRAM, 0); in sipxfaddr()
2772 if (skfd < 0) { in sipxfaddr()
2790 if (ioctl(skfd, SIOCSIFADDR, (caddr_t) &ifr) < 0) { in sipxfaddr()
2800 close (skfd); in sipxfaddr()
2818 int skfd; in cipxfaddr() local
2822 skfd = socket (AF_IPX, SOCK_DGRAM, 0); in cipxfaddr()
2823 if (skfd < 0) { in cipxfaddr()
2838 if (ioctl(skfd, SIOCSIFADDR, (caddr_t) &ifr) < 0) { in cipxfaddr()
2843 close (skfd); in cipxfaddr()
2913 int skfd; in ether_to_eui64() local
2916 skfd = socket(PF_INET6, SOCK_DGRAM, 0); in ether_to_eui64()
2917 if(skfd == -1) in ether_to_eui64()
2924 if(ioctl(skfd, SIOCGIFHWADDR, &ifr) < 0) in ether_to_eui64()
2926 close(skfd); in ether_to_eui64()
2930 close(skfd); in ether_to_eui64()