Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jun 2011 22:09:22 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r223272 - in stable/8/sys: netinet netinet6
Message-ID:  <201106182209.p5IM9MTT059059@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106182209.p5IM9MTT059059>