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