devel:blueprints:pping-ipv6
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| devel:blueprints:pping-ipv6 [2011/04/03 09:42] – [Enable IPv6 in pping] morten | devel:blueprints:pping-ipv6 [2011/06/14 12:58] (current) – [Pointers] morten | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| * [[http:// | * [[http:// | ||
| - | ICMPv6 is based on ICMPv4, but the echo request/ | + | ICMPv6 is based on ICMPv4, but the echo request/ |
| A few places in the pping code makes assumptions about what an IP address string looks like, and currently, a single AF_INET socket is used for sending ICMPv4 packets. Probably the best way to go is to add an AF_INET6 socket as well, then select the sending socket based on the destination IP address family, and adding the new socket to the socket list of the select() call used to receive data. | A few places in the pping code makes assumptions about what an IP address string looks like, and currently, a single AF_INET socket is used for sending ICMPv4 packets. Probably the best way to go is to add an AF_INET6 socket as well, then select the sending socket based on the destination IP address family, and adding the new socket to the socket list of the select() call used to receive data. | ||
| + | |||
| + | This ICMP-packet manipulating code can probably be reused in NAV: http:// | ||
devel/blueprints/pping-ipv6.1301823779.txt.gz · Last modified: by morten
