[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patches] Implement the OPTION_EGLIBC_ADVANCED_INET6 option group



I've committed the following.

ChangeLog.eglibc:
2007-08-20  Jim Blandy  <jimb@xxxxxxxxxxxxxxxx>

	Implement the OPTION_EGLIBC_ADVANCED_INET6 option group.
	* option-groups.def (OPTION_EGLIBC_ADVANCED_INET6): New entry.
	* option-groups.defaults (OPTION_EGLIBC_ADVANCED_INET6): Initialize.
	* inet/Makefile (routines): Put inet6_option, inet6_opt, and
	inet6_rth in the group.
	(tests): Put test-inet6_opt in the option group.
	
	* option-groups.def: Add Emacs local variables section to use
	'config' commands as page boundaries.

Index: inet/Makefile
===================================================================
--- inet/Makefile	(revision 3217)
+++ inet/Makefile	(working copy)
@@ -47,16 +47,19 @@
 	    ether_ntoa ether_ntoa_r ether_ntoh \
 	    getnetgrent_r getnetgrent \
 	    getaliasent_r getaliasent getaliasname getaliasname_r \
-	    in6_addr getnameinfo if_index ifaddrs inet6_option \
+	    in6_addr getnameinfo if_index ifaddrs \
 	    getipv4sourcefilter setipv4sourcefilter \
-	    getsourcefilter setsourcefilter inet6_opt inet6_rth
+	    getsourcefilter setsourcefilter
 routines-$(OPTION_EGLIBC_RCMD) \
 	 += rcmd rexec ruserpass
+routines-$(OPTION_EGLIBC_ADVANCED_INET6) \
+	 += inet6_option inet6_opt inet6_rth
 
 aux-$(OPTION_EGLIBC_INET) += check_pf ifreq
 
 tests := htontest test_ifindex tst-ntoa tst-ether_aton tst-network \
-	 tst-gethnm test-ifaddrs bug-if1 test-inet6_opt
+	 tst-gethnm test-ifaddrs bug-if1
+tests-$(OPTION_EGLIBC_ADVANCED_INET6) += test-inet6_opt
 
 include ../Rules
 
Index: option-groups.defaults
===================================================================
--- option-groups.defaults	(revision 3217)
+++ option-groups.defaults	(working copy)
@@ -8,6 +8,7 @@
 # are to be changed.
 #
 # By default, all option groups are enabled.
+OPTION_EGLIBC_ADVANCED_INET6 = y
 OPTION_EGLIBC_CATGETS = y
 OPTION_EGLIBC_CHARSETS = y
 OPTION_EGLIBC_ENVZ = y
Index: option-groups.def
===================================================================
--- option-groups.def	(revision 3217)
+++ option-groups.def	(working copy)
@@ -41,6 +41,36 @@
 # although this simply reestablishes the value already set by
 # 'option-groups.defaults'.
 
+config OPTION_EGLIBC_ADVANCED_INET6
+   bool "IPv6 Advanced Sockets API support (RFC3542)"
+   depends OPTION_EGLIBC_INET
+   help
+       This option group includes the functions specified by RFC 3542,
+       "Advanced Sockets Application Program Interface (API) for
+       IPv6".
+
+       This option group includes the following functions:
+
+         inet6_opt_append
+         inet6_opt_find
+         inet6_opt_finish
+         inet6_opt_get_val
+         inet6_opt_init
+         inet6_option_alloc
+         inet6_option_append
+         inet6_option_find
+         inet6_option_init
+         inet6_option_next
+         inet6_option_space
+         inet6_opt_next
+         inet6_opt_set_val
+         inet6_rth_add
+         inet6_rth_getaddr
+         inet6_rth_init
+         inet6_rth_reverse
+         inet6_rth_segments
+         inet6_rth_space
+
 config OPTION_EGLIBC_CATGETS
    bool "Functions for accessing message catalogs"
    depends OPTION_EGLIBC_LOCALE_CODE