Lines Matching refs:ifr
8479 struct ifreq ifr;
8481 bzero(&ifr, sizeof(ifr));
8482 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%s%d",
8485 result = sock_ioctl(pf_socket, SIOCPROTODETACH, &ifr);
8511 struct ifreq ifr;
8513 bzero(&ifr, sizeof(ifr));
8514 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%s%d",
8516 result = ifaddr_address(address, &ifr.ifr_addr, sizeof(ifr.ifr_addr));
8521 result = sock_ioctl(pf_socket, SIOCDIFADDR, &ifr);