tcpdump mailing list archives
Re: Should we enable IPv6 support by default?
From: Carter Bullard <carter () qosient com>
Date: Wed, 6 Feb 2008 17:09:12 -0500
I think the point is that you shouldn't have routines that are 'inherently'
limited to IPv4 addresses, if you support IPv6. Tcpdump is still using pcap_lookupnet(). On Feb 6, 2008, at 4:48 PM, Guy Harris wrote:
Carter Bullard wrote:Are you going to make it so that the routines in inet.c, such as add_addr_to_iflist()and pcap_lookupnet() can work with IPv6 addresses?add_addr_to_iflist() appears to work with IPv6 addresses on my OS X 10.4.11 machine, as pcap_findalldevs() finds the IPv6 addresses for my loopback adapter. It also appears to work on my Ubuntu 7.10 virtual machine; on what platforms does it fail?pcap_lookupnet() is an API that is inherently IPv4-based (it's defined to take two pointers to 32-bit integers as arguments through which it returns the network and mask information); applications that need IPv6 information should fetch it themselves with, for example, pcap_findalldevs().- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Should we enable IPv6 support by default? Guy Harris (Feb 06)
- Re: Should we enable IPv6 support by default? Gert Doering (Feb 06)
- Re: Should we enable IPv6 support by default? Rick Jones (Feb 06)
- Re: Should we enable IPv6 support by default? Gert Doering (Feb 06)
- Re: Should we enable IPv6 support by default? Guy Harris (Feb 06)
- Re: Should we enable IPv6 support by default? Gert Doering (Feb 06)
- Re: Should we enable IPv6 support by default? Carter Bullard (Feb 06)
- Re: Should we enable IPv6 support by default? Guy Harris (Feb 06)
- Re: Should we enable IPv6 support by default? Carter Bullard (Feb 06)
- Re: Should we enable IPv6 support by default? Guy Harris (Feb 06)
- Re: Should we enable IPv6 support by default? Rick Jones (Feb 06)
- Re: Should we enable IPv6 support by default? Gert Doering (Feb 06)
- Re: Should we enable IPv6 support by default? Rick Jones (Feb 06)
- Re: Should we enable IPv6 support by default? Luis Martin (Feb 06)