Lines Matching refs:tag
86 * Retrieve the label associated with an mbuf by searching for the tag.
95 struct m_tag *tag;
100 tag = m_tag_find(m, PACKET_TAG_MACLABEL, NULL);
101 if (tag == NULL)
103 label = (struct label *)(tag+1);
148 mac_mbuf_tag_init(struct m_tag *tag, int flag)
153 label = (struct label *) (tag + 1);
170 struct m_tag *tag;
176 tag = m_tag_get(PACKET_TAG_MACLABEL, sizeof(struct label),
178 if (tag == NULL)
180 error = mac_mbuf_tag_init(tag, flag);
182 m_tag_free(tag);
185 m_tag_prepend(m, tag);
227 mac_mbuf_tag_destroy(struct m_tag *tag)
231 label = (struct label *)(tag+1);
250 * mac_mbuf_tag_init() is called on the target tag in m_tag_copy(),