net/whatmask - The NetBSD Packages Collection

Easily convert between three common subnet mask notations

Whatmask is a small C program that will help you with network settings.

Whatmask can work in two modes. The first mode (which is how prior
versions worked) is to invoke Whatmask with only a subnet mask as the
argument. In this mode Whatmask will echo back the subnet mask in four
formats, plus the number of useable addresses in the range.

Netmask Notations supported:

 Name                  Example
---------------------------------
 CIDR                         /24
 Netmask            255.255.255.0
 Hex Netmask           0xffffff00
 Wilcard Bits           0.0.0.255

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64whatmask-1.2.tgz
NetBSD 10.0aarch64whatmask-1.2.tgz
NetBSD 10.0aarch64ebwhatmask-1.2.tgz
NetBSD 10.0aarch64ebwhatmask-1.2.tgz
NetBSD 10.0alphawhatmask-1.2.tgz
NetBSD 10.0alphawhatmask-1.2.tgz
NetBSD 10.0earmv4whatmask-1.2.tgz
NetBSD 10.0earmv4whatmask-1.2.tgz
NetBSD 10.0earmv6hfwhatmask-1.2.tgz
NetBSD 10.0earmv6hfwhatmask-1.2.tgz
NetBSD 10.0earmv6hfwhatmask-1.2.tgz
NetBSD 10.0earmv7hfwhatmask-1.2.tgz
NetBSD 10.0earmv7hfwhatmask-1.2.tgz
NetBSD 10.0earmv7hfwhatmask-1.2.tgz
NetBSD 10.0i386whatmask-1.2.tgz
NetBSD 10.0i386whatmask-1.2.tgz
NetBSD 10.0m68kwhatmask-1.2.tgz
NetBSD 10.0powerpcwhatmask-1.2.tgz
NetBSD 10.0powerpcwhatmask-1.2.tgz
NetBSD 10.0powerpcwhatmask-1.2.tgz
NetBSD 10.0sh3elwhatmask-1.2.tgz
NetBSD 10.0sh3elwhatmask-1.2.tgz
NetBSD 10.0sparc64whatmask-1.2.tgz
NetBSD 10.0sparc64whatmask-1.2.tgz
NetBSD 10.0sparcwhatmask-1.2.tgz
NetBSD 10.0sparcwhatmask-1.2.tgz
NetBSD 10.0vaxwhatmask-1.2.tgz
NetBSD 10.0vaxwhatmask-1.2.tgz
NetBSD 10.0vaxwhatmask-1.2.tgz
NetBSD 10.0x86_64whatmask-1.2.tgz
NetBSD 10.0x86_64whatmask-1.2.tgz
NetBSD 9.0aarch64whatmask-1.2.tgz
NetBSD 9.0aarch64whatmask-1.2.tgz
NetBSD 9.0alphawhatmask-1.2.tgz
NetBSD 9.0alphawhatmask-1.2.tgz
NetBSD 9.0earmv6hfwhatmask-1.2.tgz
NetBSD 9.0earmv6hfwhatmask-1.2.tgz
NetBSD 9.0earmv6hfwhatmask-1.2.tgz
NetBSD 9.0earmv7hfwhatmask-1.2.tgz
NetBSD 9.0earmv7hfwhatmask-1.2.tgz
NetBSD 9.0earmv7hfwhatmask-1.2.tgz
NetBSD 9.0i386whatmask-1.2.tgz
NetBSD 9.0i386whatmask-1.2.tgz
NetBSD 9.0powerpcwhatmask-1.2.tgz
NetBSD 9.0powerpcwhatmask-1.2.tgz
NetBSD 9.0powerpcwhatmask-1.2.tgz
NetBSD 9.0sparc64whatmask-1.2.tgz
NetBSD 9.0sparc64whatmask-1.2.tgz
NetBSD 9.0x86_64whatmask-1.2.tgz
NetBSD 9.0x86_64whatmask-1.2.tgz
NetBSD 9.3x86_64whatmask-1.2.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.