Lines Matching defs:tags
152 SLIST_ENTRY(m_tag) m_tag_link; /* List of packet tags */
172 SLIST_HEAD(packet_tags, m_tag) tags; /* list of packet tags */
321 #define MB_NOTAGS 0x1UL /* no tags attached to mbuf */
615 KASSERT(SLIST_EMPTY(&m->m_pkthdr.tags), ("doing fast free of mbuf with tags"));
623 AssertMsg(SLIST_EMPTY(&m->m_pkthdr.tags), ("doing fast free of mbuf with tags"));
971 * "packet tags" to the pkthdr structure. Packet tags are dynamically
980 * like OpenBSD that define packet tags w/o an ABI/module cookie, the value
1006 * Persistent tags stay with an mbuf until the mbuf is reclaimed. Otherwise
1007 * tags are expected to ``vanish'' when they pass through a network
1008 * interface. For most interfaces this happens normally as the tags are
1021 /* Packet tags for use with PACKET_ABI_COMPAT. */
1050 /* Specific cookies and tags. */
1063 * Initialize the list of tags associated with an mbuf.
1069 SLIST_INIT(&m->m_pkthdr.tags);
1104 return (SLIST_FIRST(&m->m_pkthdr.tags));
1108 * Return the next tag in the list of tags associated with an mbuf.
1118 * Prepend a tag to the list of tags associated with an mbuf.
1124 SLIST_INSERT_HEAD(&m->m_pkthdr.tags, t, m_tag_link);
1128 * Unlink a tag from the list of tags associated with an mbuf.
1134 SLIST_REMOVE(&m->m_pkthdr.tags, t, m_tag, m_tag_link);
1149 return (SLIST_EMPTY(&m->m_pkthdr.tags) ? (struct m_tag *)NULL :
1153 /* XXX temporary FIB methods probably eventually use tags.*/