Lines Matching defs:mtag
467 struct m_tag *mtag;
478 mtag = NULL;
479 while ((mtag = m_tag_locate(m, MTAG_GIF, 0, mtag)) != NULL) {
480 if (*(struct ifnet **)(mtag + 1) == ifp) {
492 mtag = m_tag_alloc(MTAG_GIF, 0, sizeof(struct ifnet *), M_NOWAIT);
493 if (mtag == NULL)
495 *(struct ifnet **)(mtag + 1) = ifp;
496 m_tag_prepend(m, mtag);
513 * the gif_transmit() routine, avoiding using yet another mtag.