Subject: Re: CVS commit: src
To: None <rpaulo@netbsd.org>
From: Bill Squier <groo@old-ones.com>
List: source-changes
Date: 05/06/2006 00:15:20
On May 4, 2006, at 8:03 PM, Rui Paulo wrote:

>
> Module Name:	src
> Committed By:	rpaulo
> Date:		Fri May  5 00:03:22 UTC 2006
>
> Modified Files:
> 	src/distrib/sets/lists/comp: mi
> 	src/lib/libc/include: namespace.h
> 	src/lib/libc/net: Makefile.inc ip6opt.c rthdr.c
> 	src/sbin/ping6: Makefile ping6.8 ping6.c
> 	src/sys/conf: std
> 	src/sys/netinet: ip6.h
> 	src/sys/netinet6: files.netinet6 in6.h in6_pcb.c in6_pcb.h in6_src.c
> 	    ip6_input.c ip6_output.c ip6_var.h raw_ip6.c udp6_output.c
> 	    udp6_usrreq.c
> 	src/usr.bin/telnet: commands.c
> 	src/usr.sbin/traceroute6: Makefile traceroute6.c
> Added Files:
> 	src/lib/libc/net: inet6_opt_init.3 inet6_rth_space.3
>
> Log Message:
> Add support for RFC 3542 Adv. Socket API for IPv6 (which obsoletes  
> 2292).
> * RFC 3542 isn't binary compatible with RFC 2292.
> * RFC 2292 support is on by default but can be disabled.
> * update ping6, telnet and traceroute6 to the new API.

The changes to in6.h cause ping6.c (as built by rescue/) to fail.

I'm not sure what the right way to fix that is.  Can crunchgen be  
taught to supply the appropriate -DRFC<mumble>?

Alternately, why is our ping6.c conditionalized at all?

-wps