svn commit: r223272 - in stable/8/sys: netinet netinet6
Bjoern A. Zeeb
bz at FreeBSD.org
Sat Jun 18 22:09:23 UTC 2011
Author: bz
Date: Sat Jun 18 22:09:22 2011
New Revision: 223272
URL: http://svn.freebsd.org/changeset/base/223272
Log:
MFC r222272:
Add FEATURE() definitions for IPv4 and IPv6 so that we can use
feature_present(3) to dynamically decide whether to use one or the
other family.
Modified:
stable/8/sys/netinet/in_proto.c
stable/8/sys/netinet6/in6_proto.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
Modified: stable/8/sys/netinet/in_proto.c
==============================================================================
--- stable/8/sys/netinet/in_proto.c Sat Jun 18 21:53:36 2011 (r223271)
+++ stable/8/sys/netinet/in_proto.c Sat Jun 18 22:09:22 2011 (r223272)
@@ -93,6 +93,8 @@ static struct pr_usrreqs nousrreqs;
#include <net/if_pfsync.h>
#endif
+FEATURE(inet, "Internet Protocol version 4");
+
extern struct domain inetdomain;
/* Spacer for loadable protocols. */
Modified: stable/8/sys/netinet6/in6_proto.c
==============================================================================
--- stable/8/sys/netinet6/in6_proto.c Sat Jun 18 21:53:36 2011 (r223271)
+++ stable/8/sys/netinet6/in6_proto.c Sat Jun 18 22:09:22 2011 (r223272)
@@ -128,6 +128,7 @@ __FBSDID("$FreeBSD$");
/*
* TCP/IP protocol family: IP6, ICMP6, UDP, TCP.
*/
+FEATURE(inet6, "Internet Protocol version 6");
extern struct domain inet6domain;
static struct pr_usrreqs nousrreqs;
More information about the svn-src-stable
mailing list