Lines Matching refs:tag
124 struct m_tag *tag;
134 * extract and remove the tag if present. If we are left
137 tag = m_tag_locate(*m0, MTAG_IPFW_RULE, 0, NULL);
138 if (tag != NULL) {
139 args.rule = *((struct ipfw_rule_ref *)(tag+1));
140 m_tag_delete(*m0, tag);
183 * reuse the tag if present.
401 * ipfw_chk() has already tagged the packet with the divert tag.
407 struct m_tag *tag;
472 /* attach a tag to the packet with the reinject info */
473 tag = m_tag_alloc(MTAG_IPFW_RULE, 0,
475 if (tag == NULL) {
479 *((struct ipfw_rule_ref *)(tag+1)) = *rule;
480 m_tag_prepend(clone, tag);