Lines Matching refs:phyif
393 phy_if_t phyif;
419 for (phyif = net_phygetnext(nd, 0); phyif != 0;
420 phyif = net_phygetnext(nd, phyif)) {
421 if (net_getifname(nd, phyif, name, LIFNAMSIZ) != 0)
424 (void) net_getlifflags(nd, phyif, 0, &ifflags);
425 if ((ipnetif = ipnetif_getby_index(phyif, ips)) == NULL) {
426 ipnetif = ipnetif_create(name, phyif, ips, ifflags);
436 for (lif = net_lifgetnext(nd, phyif, 0); lif != 0;
437 lif = net_lifgetnext(nd, phyif, lif)) {
442 if (net_getlifflags(nd, phyif, lif, &ifflags) != 0 ||
1392 uint64_t phyif = ipnetif->if_index;
1394 if (net_getlifaddr(nd, phyif, lif, 1, &type, &addr) != 0 ||
1395 net_getlifzone(nd, phyif, lif, &zoneid) != 0)
1414 if (net_getlifaddr(nd, phyif, lif, 1, &type, &bcast) == 0)