Networking Forums

Networking Forums > Computer Networking > Linux Networking > Stumped on IPv6 ping in c language with PF_PACKET/SOCK_DGRAM

Reply
Thread Tools Display Modes

Stumped on IPv6 ping in c language with PF_PACKET/SOCK_DGRAM

 
 
Richard Kettlewell
Guest
Posts: n/a

 
      11-03-2011, 03:00 PM
(E-Mail Removed) writes:
> Reading that now makes me think I DO still have to specify the
> destination MAC address. Which if I understand it, means I need to do
> neighbor solicitation and a whole bunch of stuff, most likely using
> pcap.


I think that's right.

> Comments?


Perhaps a higher-level interface would be a better choice? I note that
(at least here) ping6 doesn't attempt to use AF_PACKET.

--
http://www.greenend.org.uk/rjk/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some C language examples of linux raw sockets for IPv4 and IPv6 pdbuchan@yahoo.com Linux Networking 0 12-17-2011 03:30 AM
Ping IPv6? Cork Soaker Linux Networking 5 06-03-2008 10:14 PM
Reliability of SOCK_DGRAM Unix-Domain sockets Kai Hergenroether Linux Networking 0 09-25-2006 09:52 AM
Linux host PC(ipv6) can't ping with embedded board(ipv6) with ping6 sangsu Linux Networking 2 10-11-2005 09:06 AM
Can't ping IPv6 domains Corwin Burgess Linux Networking 3 07-07-2004 06:26 PM



1 2 3 4 5 6 7 8 9 10 11