summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2012-07-23 15:40:15 -0700
committerDmitry Shmidt <dimitrysh@google.com>2012-07-23 15:41:54 -0700
commit22bb8fc5fe7c10fb9c7b8c4cfeb244c837e3e0c7 (patch)
tree4d449017a489962a49c710774dc95095daed1245
parent8542f44f68442499f657b997269d873bdffc3a82 (diff)
downloadsystem_core-22bb8fc5fe7c10fb9c7b8c4cfeb244c837e3e0c7.zip
system_core-22bb8fc5fe7c10fb9c7b8c4cfeb244c837e3e0c7.tar.gz
system_core-22bb8fc5fe7c10fb9c7b8c4cfeb244c837e3e0c7.tar.bz2
netutils: Make visible prefixLengthToIpv4Netmask() function
Change-Id: I316b192ce753daa838ea44001f899ea508adf75c Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r--include/netutils/ifc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netutils/ifc.h b/include/netutils/ifc.h
index 67a4a45..9079ab4 100644
--- a/include/netutils/ifc.h
+++ b/include/netutils/ifc.h
@@ -66,6 +66,8 @@ extern int ifc_configure(const char *ifname, in_addr_t address,
uint32_t prefixLength, in_addr_t gateway,
in_addr_t dns1, in_addr_t dns2);
+extern in_addr_t prefixLengthToIpv4Netmask(int prefix_length);
+
__END_DECLS
#endif /* _NETUTILS_IFC_H_ */