Communications and Wireless
1753629 Members
5341 Online
108797 Solutions
New Discussion

Libnet - IPv6 support (libnet_name2addr6)

 
Udit Sethia
Occasional Contributor

Libnet - IPv6 support (libnet_name2addr6)

Hello,

A few days ago I had successfully built a project to send an ICMP echo request - IPv4 using the libnet library (version 1.1.2.1) using Visual Studio 2008. I captured the packets using WireShark.

I now need to send an ICMP echo request in IPv6. But I am facing a few IPv6 support issues in using libnet. I am using the libnet library version 1.1.5. In this library I am not able to find the functionality support for IPv6 .

When creating a packet these were some issues encountered:
1. The 'libnet_autobuild_ipv6' is not yet implemented (resolved by using the 'libnet_build_ipv6' function)
2. 'libnet_name2addr6' function (in the file libnet_resolve.c) seems to have no functionality.
3. There seems to be no function to build an ICMPv6 Header - similar to libnet_build_icmpv4_echo

Any suggestion and help in this regard will be appreciated.

Does there exist any other library similar to libnet to send IPv6 packets on the Windows and /or Linux platforms.