Searched refs:pf_mtag (Results 1 - 11 of 11) sorted by relevance

/freebsd-9.3-release/sys/contrib/pf/net/
H A Dpf_mtag.h43 struct pf_mtag { struct
53 static __inline struct pf_mtag *pf_find_mtag(struct mbuf *);
54 static __inline struct pf_mtag *pf_get_mtag(struct mbuf *);
56 static __inline struct pf_mtag *
64 return ((struct pf_mtag *)(mtag + 1));
67 static __inline struct pf_mtag *
73 mtag = m_tag_get(PACKET_TAG_PF, sizeof(struct pf_mtag),
77 bzero(mtag + 1, sizeof(struct pf_mtag));
81 return ((struct pf_mtag *)(mtag + 1));
H A Dpf.c340 struct pf_mtag *);
369 (pd->pf_mtag->flags & PF_PACKET_LOOPED)
372 (pd.pf_mtag->flags & PF_PACKET_LOOPED)
1200 struct mbuf *m, struct pf_mtag *pftag)
2331 struct pf_mtag *pf_mtag; local
2382 if ((pf_mtag = pf_get_mtag(m)) == NULL) {
2390 pf_mtag->tag = rtag;
2400 pf_mtag->rtableid = r->rtableid;
2411 pf_mtag
2561 struct pf_mtag *pf_mtag; local
2775 pf_match_tag(struct mbuf *m, struct pf_rule *r, int *tag, struct pf_mtag *pf_mtag) argument
2794 pf_tag_packet(struct mbuf *m, int tag, int rtableid, struct pf_mtag *pf_mtag) argument
[all...]
H A Dpf_norm.c1173 else if (r->match_tag && !pf_match_tag(m, r, &tag, pd->pf_mtag))
1273 pd->pf_mtag = pf_find_mtag(m);
1275 if (pd->pf_mtag == NULL) {
1277 if ((pd->pf_mtag = pf_get_mtag(m)) == NULL) {
1293 if (dir == PF_OUT && pd->pf_mtag->flags & PF_TAG_FRAGCACHE) {
1328 pd->pf_mtag = pf_find_mtag(m);
1330 if (pd->pf_mtag == NULL) {
1332 if ((pd->pf_mtag = pf_get_mtag(m)) == NULL) {
1341 pd->pf_mtag->flags |= PF_TAG_FRAGCACHE;
H A Dpf_lb.c283 else if (r->match_tag && !pf_match_tag(m, r, &tag, pd->pf_mtag))
308 if (pf_tag_packet(m, tag, rtableid, pd->pf_mtag))
H A Dpfvar.h51 #include <net/pf_mtag.h>
1278 struct pf_mtag *pf_mtag; member in struct:pf_pdesc
2072 struct pf_mtag *);
2081 int pf_tag_packet(struct mbuf *, int, int, struct pf_mtag *);
/freebsd-9.3-release/sys/net/
H A Dif_ethersubr.c65 #include <net/pf_mtag.h>
168 struct pf_mtag *t;
/freebsd-9.3-release/sys/contrib/altq/altq/
H A Daltq_cbq.c501 struct pf_mtag *t;
H A Daltq_priq.c462 struct pf_mtag *t;
H A Daltq_red.c515 struct pf_mtag *at;
H A Daltq_hfsc.c691 struct pf_mtag *t;
/freebsd-9.3-release/sys/netpfil/ipfw/
H A Dip_fw2.c63 #include <net/pf_mtag.h>
1762 struct pf_mtag *at;

Completed in 190 milliseconds