Lines Matching refs:tag
1770 struct m_tag *tag;
1773 tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_INET6, NULL);
1774 if (tag == NULL) {
1775 /* Allocate a tag */
1776 tag = m_tag_alloc(KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_INET6,
1777 sizeof(*tag), M_DONTWAIT);
1780 if (tag) {
1781 m_tag_prepend(m, tag);
1785 return tag ? (struct ip6aux*)(tag + 1) : NULL;
1792 struct m_tag *tag;
1794 tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_ENCAP, NULL);
1796 return tag ? (struct ip6aux*)(tag + 1) : NULL;
1803 struct m_tag *tag;
1805 tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_ENCAP, NULL);
1806 if (tag) {
1807 m_tag_delete(m, tag);