Lines Matching refs:tag
1644 TH_RST|TH_ACK, 0, 0, 0, 1, cur->tag, NULL, NULL);
1689 if (cur->tag)
1690 pf_tag_unref(cur->tag);
2351 u_int8_t flags, u_int16_t win, u_int16_t mss, u_int8_t ttl, int tag,
2398 if (tag)
2761 int *tag)
2764 if (*tag == -1)
2765 *tag = pf_mtag->pftag_tag;
2767 return ((!r->match_tag_not && r->match_tag == *tag) ||
2768 (r->match_tag_not && r->match_tag != *tag));
2772 pf_tag_packet(struct mbuf *m, struct pf_mtag *pf_mtag, int tag,
2775 if (tag <= 0 && !PF_RTABLEID_IS_VALID(rtableid) &&
2782 if (tag > 0)
2783 pf_mtag->pftag_tag = tag;
3343 int tag = -1;
3403 else if (r->match_tag && !pf_match_tag(m, r, pd->pf_mtag, &tag))
3410 if (r->tag)
3411 tag = r->tag;
3424 if (pf_tag_packet(m, pd->pf_mtag, tag, rtableid, NULL))
4018 int tag = -1;
4297 if (nr && nr->tag > 0)
4298 tag = nr->tag;
4366 else if (r->match_tag && !pf_match_tag(m, r, pd->pf_mtag, &tag))
4374 if (r->tag)
4375 tag = r->tag;
4710 if (pf_tag_packet(m, pd->pf_mtag, tag, rtableid, pd)) {
5001 if (tag > 0) {
5002 pf_tag_ref(tag);
5003 s->tag = tag;
5103 int tag = -1;
5219 else if (r->match_tag && !pf_match_tag(m, r, pd->pf_mtag, &tag))
5227 if (r->tag)
5228 tag = r->tag;
5272 if (pf_tag_packet(m, pd->pf_mtag, tag, rtableid, pd)) {
5359 int tag = -1;
5404 else if (r->match_tag && !pf_match_tag(m, r, pd->pf_mtag, &tag))
5436 if (pf_tag_packet(m, pd->pf_mtag, tag, -1, NULL)) {
5881 (*state)->src.mss, 0, 0, (*state)->tag, NULL, NULL);
5896 (*state)->tag, NULL, NULL);
8423 if ((s && s->tag) || PF_RTABLEID_IS_VALID(r->rtableid) ||
8425 (void) pf_tag_packet(m, pd.pf_mtag, s ? s->tag : 0,
9023 if ((s && s->tag) || PF_RTABLEID_IS_VALID(r->rtableid) || pd.flowhash != 0)
9024 (void) pf_tag_packet(m, pd.pf_mtag, s ? s->tag : 0,