Date: Thu, 8 Oct 2009 22:53:44 +0000 (UTC) From: Ermal Luçi <eri@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r197888 - user/eri/pf45/head/sys/contrib/pf/net Message-ID: <200910082253.n98Mri9W036244@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910082253.n98Mri9W036244>