Lines Matching defs:mifp
591 struct mif6 *mifp;
600 mifp = mif6table + mifcp->mif6c_mifi;
601 if (mifp->m6_ifp)
628 mifp->m6_flags = mifcp->mif6c_flags;
629 mifp->m6_ifp = ifp;
632 mifp->m6_rate_limit = mifcp->mif6c_rate_limit * 1024 / 1000;
635 mifp->m6_pkt_in = 0;
636 mifp->m6_pkt_out = 0;
637 mifp->m6_bytes_in = 0;
638 mifp->m6_bytes_out = 0;
662 struct mif6 *mifp = mif6table + *mifip;
668 if (mifp->m6_ifp == NULL)
672 if (!(mifp->m6_flags & MIFF_REGISTER)) {
677 ifp = mifp->m6_ifp;
684 bzero((caddr_t)mifp->m6_tbf, sizeof(*(mifp->m6_tbf)));
686 bzero((caddr_t)mifp, sizeof(*mifp));
963 struct mif6 *mifp;
1135 for (mifp = mif6table, mifi = 0;
1136 mifi < nummifs && mifp->m6_ifp != ifp;
1137 mifp++, mifi++)
1281 struct mif6 *mifp;
1290 #define MC6_SEND(ip6, mifp, m) do { \
1291 if ((mifp)->m6_flags & MIFF_REGISTER) \
1292 register_send((ip6), (mifp), (m)); \
1294 phyint_send((ip6), (mifp), (m)); \
1365 for (mifp = mif6table, iif = 0;
1366 iif < nummifs && mifp &&
1367 mifp->m6_ifp != ifp;
1368 mifp++, iif++)
1414 for (mifp = mif6table, mifi = 0; mifi < nummifs; mifp++, mifi++)
1435 mifp->m6_pkt_out++;
1436 mifp->m6_bytes_out += plen;
1437 MC6_SEND(ip6, mifp, m);
1443 phyint_send(ip6, mifp, m)
1445 struct mif6 *mifp;
1449 struct ifnet *ifp = mifp->m6_ifp;
1491 mifp - mif6table, error);
1539 mifp - mif6table, error);