ADDED:
* netx:
** docs updated
** added NOTES.adoc for more extensive info that doesn't need to be in
the library docs
** Addr4in6Compat()
** Addr4in6Mapped()
** Addr4in6Mapped()
** HasSubnet()
** IP4MapPfx4to6()
** IP4MapPfx6to4()
** IPSetCombined()
** IPSetFrom()
** IPSetFromNative()
** IsAddr4Compat()
** IsPublic()
** MustIPSetCombined()
** MustIPSetFrom()
** MustIPSetFromNative()
** Pfx4in6Compat() (untested)
** Pfx4in6Mapped() (untested)
** UnmapAddr()
** UnmapPfx()
** Better support in other functions for IPv4-Compatible/IPv4-Mapped
addressing
This commit is contained in:
brent saner
2026-07-29 15:05:36 -04:00
parent 5108b09df5
commit cbfaaddf34
13 changed files with 1068 additions and 149 deletions
+5 -3
View File
@@ -1,12 +1,13 @@
package netx
import (
`math`
`net`
`net/netip`
"math"
"net"
"net/netip"
"testing"
)
/*
func TestFuncsDns(t *testing.T) {
var err error
@@ -29,6 +30,7 @@ func TestFuncsDns(t *testing.T) {
return
}
*/
func TestFuncsIP(t *testing.T) {