Lines Matching refs:mif6table
145 static struct mif6 mif6table[MAXMIFS];
410 req->icount = mif6table[mifi].m6_pkt_in;
411 req->ocount = mif6table[mifi].m6_pkt_out;
412 req->ibytes = mif6table[mifi].m6_bytes_in;
413 req->obytes = mif6table[mifi].m6_bytes_out;
507 if (mif6table[mifi].m6_ifp &&
508 !(mif6table[mifi].m6_flags & MIFF_REGISTER)) {
510 if_allmulti(mif6table[mifi].m6_ifp, 0);
518 ifp = mif6table[mifi].m6_ifp;
529 bzero((caddr_t)mif6table, sizeof(mif6table));
600 mifp = mif6table + mifcp->mif6c_mifi;
662 struct mif6 *mifp = mif6table + *mifip;
690 if (mif6table[mifi - 1].m6_ifp)
1135 for (mifp = mif6table, mifi = 0;
1302 if ((mifi >= nummifs) || (mif6table[mifi].m6_ifp != ifp)) {
1309 mif6table[mifi].m6_ifp->if_index);
1319 if (mifi < nummifs && mif6table[mifi].m6_ifp)
1365 for (mifp = mif6table, iif = 0;
1401 mif6table[mifi].m6_pkt_out++;
1402 mif6table[mifi].m6_bytes_out += plen;
1404 mif6table[mifi].m6_pkt_in++;
1405 mif6table[mifi].m6_bytes_in += plen;
1414 for (mifp = mif6table, mifi = 0; mifi < nummifs; mifp++, mifi++)
1422 if ((mif6table[rt->mf6c_parent].m6_flags &
1424 (mif6table[mifi].m6_flags & MIFF_REGISTER) == 0 &&
1426 in6_addr2scopeid(mif6table[mifi].m6_ifp,
1429 in6_addr2scopeid(mif6table[mifi].m6_ifp,
1491 mifp - mif6table, error);
1539 mifp - mif6table, error);
1616 im6->im6_mif = mif - mif6table;
1865 (void) if_simloop(mif6table[reg_mif_num].m6_ifp, m,