]> git.gsnw.org Git - fping.git/commit
IPv6 support for -g, --generate
authorErik Auerswald <auerswal@unix-ag.uni-kl.de>
Wed, 15 Jan 2025 16:42:12 +0000 (17:42 +0100)
committerErik Auerswald <auerswal@unix-ag.uni-kl.de>
Sat, 15 Feb 2025 19:02:58 +0000 (20:02 +0100)
commit57d91b13f20529a23df8c29eaf612d8483e318d8
tree8257de59f41a0c9a3f38064741656b9c92a325c9
parent7159444a9f9c38e1491879fe67e3632af2327a0f
IPv6 support for -g, --generate

The limit for generated addresses is increased by two to
allow /111 IPv6 prefixes similar to /15 IPv4 prefixes.

The implementation uses two unsigned 64 bit integers to
represent a single IPv6 address.  The required arithmetic
is open-coded and limited to what is needed to implement
IPv6 support for -g, --generate.

This addresses GitHub issue #59.
CHANGELOG.md
ci/test-06-options-f-h.pl
ci/test-issue-58.pl
doc/fping.pod
src/fping.c