Lines Matching refs:phyif
389 phy_if_t phyif; in ipnet_populate_if() local
415 for (phyif = net_phygetnext(nd, 0); phyif != 0; in ipnet_populate_if()
416 phyif = net_phygetnext(nd, phyif)) { in ipnet_populate_if()
417 if (net_getifname(nd, phyif, name, LIFNAMSIZ) != 0) in ipnet_populate_if()
420 (void) net_getlifflags(nd, phyif, 0, &ifflags); in ipnet_populate_if()
421 if ((ipnetif = ipnetif_getby_index(phyif, ips)) == NULL) { in ipnet_populate_if()
422 ipnetif = ipnetif_create(name, phyif, ips, ifflags); in ipnet_populate_if()
432 for (lif = net_lifgetnext(nd, phyif, 0); lif != 0; in ipnet_populate_if()
433 lif = net_lifgetnext(nd, phyif, lif)) { in ipnet_populate_if()
438 if (net_getlifflags(nd, phyif, lif, &ifflags) != 0 || in ipnet_populate_if()
1388 uint64_t phyif = ipnetif->if_index; in ipnet_add_ifaddr() local
1390 if (net_getlifaddr(nd, phyif, lif, 1, &type, &addr) != 0 || in ipnet_add_ifaddr()
1391 net_getlifzone(nd, phyif, lif, &zoneid) != 0) in ipnet_add_ifaddr()
1410 if (net_getlifaddr(nd, phyif, lif, 1, &type, &bcast) == 0) in ipnet_add_ifaddr()