Lines Matching refs:ifr_name
433 if (strchr(pifreq->ifr_name, ':') != NULL) in get_first_ethernet()
437 strncpy(ifr.ifr_name, pifreq->ifr_name, sizeof(ifr.ifr_name)); in get_first_ethernet()
457 strncpy(first_ether_name, ifr.ifr_name, sizeof(first_ether_name)); in get_first_ethernet()
702 sprintf(ifr.ifr_name, "%s", ifname); in sys_init()
758 slprintf(ifr.ifr_name, sizeof(ifr.ifr_name), PPP_DRV_NAME "%d", ifunit); in sys_init()
761 fatal("Can't set interface name %s: %m", ifr.ifr_name); in sys_init()
798 sprintf(ifr.ifr_name, "%s", ifname); in sys_cleanup()
1515 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
1518 error("Couldn't set IP MTU (%s): %m", ifr.ifr_name);
1531 error("Couldn't set IPv6 MTU (%s): %m", ifr.ifr_name);
1771 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
1796 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
1977 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name));
2183 strlcpy(ifreq.ifr_name, ifr->ifr_name, sizeof(ifreq.ifr_name));
2207 info("found interface %s for proxy ARP", ifr->ifr_name);
2208 if (!get_hw_addr(ifr->ifr_name, ina, hwaddr)) {
2209 error("Couldn't get hardware address for %s", ifr->ifr_name);
2441 strlcpy(ifreq.ifr_name, ifr->ifr_name, sizeof(ifreq.ifr_name));