Lines Matching refs:ifn
1299 struct interface *ifs, *ifp, *ifn, *ifl = NULL; in handle_interface() local
1324 for (ifn = ifaces; ifn; ifn = ifn->next) { in handle_interface()
1325 if (strcmp(ifn->name, ifp->name) == 0) in handle_interface()
1327 ifl = ifn; in handle_interface()
1329 if (ifn) { in handle_interface()
1331 ifn->flags = ifp->flags; in handle_interface()
1332 ifn->hwlen = ifp->hwlen; in handle_interface()
1334 memcpy(ifn->hwaddr, ifp->hwaddr, ifn->hwlen); in handle_interface()
1474 struct interface *ifl, *ifn, *ifp, *ifs, *ift; in reconf_reboot() local
1482 for (ifn = ifaces; ifn; ifn = ifn->next) { in reconf_reboot()
1483 if (strcmp(ifn->name, ifp->name) == 0) in reconf_reboot()
1485 ifl = ifn; in reconf_reboot()
1487 if (ifn) { in reconf_reboot()
1489 if_reboot(ifn, argc, argv); in reconf_reboot()
1490 else if (ifn->state->new) in reconf_reboot()
1491 configure(ifn); in reconf_reboot()