On Wed, Jan 29, 2003 at 09:53:29PM -0800, Thom O'Connor wrote: > ipfilter version: 3.4.31 > OS: FreeBSD 4.7-STABLE 2003/01/28
From the FreeBSD commit logs (diff/patch attached):
sam 2003/01/23 13:06:48 PST
Log:
MFC: m_tag support
Replace aux mbufs with packet tags:
o instead of a list of mbufs use a list of m_tag structures a la openbsd
o for netgraph et. al. extend the stock openbsd m_tag to include a 32-bit
ABI/module number cookie
o for openbsd compatibility define a well-known cookie MTAG_ABI_COMPAT and
use this in defining openbsd-compatible m_tag_find and m_tag_get routines
o rewrite KAME use of aux mbufs in terms of packet tags
o eliminate the most heavily used aux mbufs by adding an additional struct
inpcb parameter to ip_output and ip6_output to allow the IPsec code to
locate the security policy to apply to outbound packets
o bump __FreeBSD_version so code can be conditionalized
o fixup ipfilter's call to ip_output based on __FreeBSD_version
--
ryan beasley <[EMAIL PROTECTED]>
GPG ID: 0x16EFBD48
===================================================================
RCS file: /home/ncvs/src/sys/contrib/ipfilter/netinet/ip_auth.c,v
retrieving revision 1.21.2.5
retrieving revision 1.21.2.6
diff -u -p -r1.21.2.5 -r1.21.2.6
--- src/sys/contrib/ipfilter/netinet/ip_auth.c 2002/08/31 16:24:52 1.21.2.5
+++ src/sys/contrib/ipfilter/netinet/ip_auth.c 2003/01/23 21:06:42 1.21.2.6
@@ -105,7 +105,7 @@ extern struct ifqueue ipintrq; /* ip
#if !defined(lint)
/*static const char rcsid[] = "@(#)$Id: ip_auth.c,v 2.11.2.20 2002/06/04 14:40:42
darrenr Exp $";*/
-static const char rcsid[] = "@(#)$FreeBSD:
/home/ncvs/src/sys/contrib/ipfilter/netinet/ip_auth.c,v 1.21.2.5 2002/08/31 16:24:52
darrenr Exp $";
+static const char rcsid[] = "@(#)$FreeBSD:
+/home/ncvs/src/sys/contrib/ipfilter/netinet/ip_auth.c,v 1.21.2.6 2003/01/23 21:06:42
+sam Exp $";
#endif
@@ -454,7 +454,8 @@ fr_authioctlloop:
bzero((char *)&ro, sizeof(ro));
# if ((_BSDI_VERSION >= 199802) && (_BSDI_VERSION < 200005)) || \
- defined(__OpenBSD__) || (defined(IRIX) && (IRIX >= 605))
+ defined(__OpenBSD__) || (defined(IRIX) && (IRIX >= 605)) || \
+ (__FreeBSD_version >= 470102)
error = ip_output(m, NULL, &ro, IP_FORWARDING, NULL,
NULL);
# else
msg02363/pgp00000.pgp
Description: PGP signature
