Lines Matching defs:mtag
990 struct m_tag *mtag;
992 if ((mtag = m_tag_find(m, PACKET_TAG_PF, NULL)) != NULL)
993 return ((struct pf_mtag *)(mtag + 1));
995 mtag = uma_zalloc(pf_mtag_z, M_NOWAIT);
996 if (mtag == NULL)
998 bzero(mtag + 1, sizeof(struct pf_mtag));
999 m_tag_prepend(m, mtag);
1001 return ((struct pf_mtag *)(mtag + 1));
2686 struct m_tag *mtag;
2691 mtag = m_tag_locate(m, MTAG_8021Q, MTAG_8021Q_PCP_OUT, NULL);
2692 if (mtag == NULL) {
2693 mtag = m_tag_alloc(MTAG_8021Q, MTAG_8021Q_PCP_OUT,
2695 if (mtag == NULL)
2697 m_tag_prepend(m, mtag);
2700 *(uint8_t *)(mtag + 1) = prio;
2707 struct m_tag *mtag;
2710 mtag = m_tag_locate(m, MTAG_8021Q, MTAG_8021Q_PCP_IN, NULL);
2711 if (mtag == NULL)
2717 mpcp = *(uint8_t *)(mtag + 1);
2912 pf_match_tag(struct mbuf *m, struct pf_krule *r, int *tag, int mtag)
2915 *tag = mtag;
6165 ("pf: failed to allocate 802.1q mtag\n"));
6344 struct m_tag *mtag;
6613 ("pf: failed to allocate 802.1q mtag\n"));
6738 (mtag = m_tag_find(m, PF_REASSEMBLED, NULL)) != NULL)
6739 action = pf_refragment6(ifp, m0, mtag);