This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: IPv6 help (Re: inetutils, r* commands)
- From: Antonio Querubin <tony at lava dot net>
- To: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- Cc: cygwin at cygwin dot com
- Date: Tue, 16 Mar 2010 02:41:58 -1000 (HST)
- Subject: Re: IPv6 help (Re: inetutils, r* commands)
- References: <4B9EEF35.9000701@cwilson.fastmail.fm>
On Mon, 15 Mar 2010, Charles Wilson wrote:
*********************
QUESTION #2. Is there a cleaner way to do the address matching than the
version that I've modified below? I basically only changed the guts of
soaddr_eq_ip(); the rest is factory equipment...
*********************
You might find it simpler to just make all sockets/sockaddrs AF_INET6.
The only time you might worry about the actual AF would be on display
output. Ie. display IPv4-mapped addresses as IPv4.
Antonio Querubin
808-545-5282 x3003
e-mail/xmpp: tony@lava.net
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple