net/addr/subnet: Add class for representing a network subnet
This makes it possible to represent and IPv4/IPv6 CIDR network segment
via a class. Provides useful functions to compute base address and
determine if addresses are inside the subnet.
Change-Id: Ib9d01e28b6c8a28ccb622fef87b217fc96daf905
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/include/meson.build b/include/meson.build
index 1402818..d7cf82b 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -11,6 +11,7 @@
'stdplus/hash/tuple.hpp',
'stdplus/net/addr/ether.hpp',
'stdplus/net/addr/ip.hpp',
+ 'stdplus/net/addr/subnet.hpp',
'stdplus/numeric/endian.hpp',
'stdplus/pinned.hpp',
'stdplus/raw.hpp',