git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IPStack / ifconfig - Routing changes
[tpg/acess2.git]
/
Usermode
/
Libraries
/
libnet.so_src
/
net.h
diff --git
a/Usermode/Libraries/libnet.so_src/net.h
b/Usermode/Libraries/libnet.so_src/net.h
index
f45646f
..
fcd213f
100644
(file)
--- a/
Usermode/Libraries/libnet.so_src/net.h
+++ b/
Usermode/Libraries/libnet.so_src/net.h
@@
-21,6
+21,13
@@
extern int Net_ParseAddress(const char *String, void *Addr);
*/
extern const char *Net_PrintAddress(int AddressType, void *Address);
*/
extern const char *Net_PrintAddress(int AddressType, void *Address);
+/**
+ * \brief Get the size in bytes of an address type
+ * \param AddressType Address type returned by Net_ParseAddress
+ * \return Size of an address in bytes
+ */
+extern int Net_GetAddressSize(int AddressType);
+
/**
* \brief Get the interface required to reach \a Addr
* \param AddrType Addresss Family (4: IPv4, 6: IPv6)
/**
* \brief Get the interface required to reach \a Addr
* \param AddrType Addresss Family (4: IPv4, 6: IPv6)
UCC
git Repository :: git.ucc.asn.au