IPv6 help (Re: inetutils, r* commands)

Antonio Querubin tony@lava.net
Tue Mar 16 13:01:00 GMT 2010


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



More information about the Cygwin mailing list