
ADDED: * netx now has a ton of netmask conversion functions for IPv4 netmasks. (IPv6 doesn't really *have* netmasks, so it was intentionally excluded).
14 lines
192 B
Go
14 lines
192 B
Go
//go:build windows
|
|
|
|
package netx
|
|
|
|
import (
|
|
`golang.org/x/sys/windows`
|
|
)
|
|
|
|
const (
|
|
AFUnspec uint16 = windows.AF_UNSPEC
|
|
AFInet uint16 = windows.AF_INET
|
|
AFInet6 uint16 = windows.AF_INET6
|
|
)
|