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