svn commit: r197888 - user/eri/pf45/head/sys/contrib/pf/net
Ermal Luçi
eri at FreeBSD.org
Thu Oct 8 22:53:45 UTC 2009
Author: eri
Date: Thu Oct 8 22:53:44 2009
New Revision: 197888
URL: http://svn.freebsd.org/changeset/base/197888
Log:
Correct pf tag declaration.
Modified:
user/eri/pf45/head/sys/contrib/pf/net/pf_mtag.h
Modified: user/eri/pf45/head/sys/contrib/pf/net/pf_mtag.h
==============================================================================
--- user/eri/pf45/head/sys/contrib/pf/net/pf_mtag.h Thu Oct 8 22:45:18 2009 (r197887)
+++ user/eri/pf45/head/sys/contrib/pf/net/pf_mtag.h Thu Oct 8 22:53:44 2009 (r197888)
@@ -37,15 +37,16 @@
#define PF_TAG_GENERATED 0x01
#define PF_TAG_FRAGCACHE 0x02
#define PF_TAG_TRANSLATE_LOCALHOST 0x04
+#define PF_TAG_DIVERTED 0x08
struct pf_mtag {
void *hdr; /* saved hdr pos in mbuf, for ECN */
- u_int rtableid; /* alternate routing table id */
+ void *statekey; /* pf stackside statekey */
u_int32_t qid; /* queue id */
+ u_int rtableid; /* alternate routing table id */
u_int16_t tag; /* tag id */
u_int8_t flags;
u_int8_t routed;
- sa_family_t af; /* for ECN */
};
static __inline struct pf_mtag *pf_find_mtag(struct mbuf *);
More information about the svn-src-user
mailing list