projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IPAddressV(46) methods to convert IPs to their inverse in-addr.arpa / ip6.arpa repres...
[folly.git]
/
folly
/
IPAddressV4.h
diff --git
a/folly/IPAddressV4.h
b/folly/IPAddressV4.h
index 26a2dba38acdbf0efd1ecc049dd8754f755bd787..6603828a93b8e9bc44c5679946658e2fca7b42ff 100644
(file)
--- a/
folly/IPAddressV4.h
+++ b/
folly/IPAddressV4.h
@@
-183,6
+183,8
@@
class IPAddressV4 {
// @see IPAddress#str
std::string str() const;
+ std::string toInverseArpaName() const;
+
// return underlying in_addr structure
in_addr toAddr() const { return addr_.inAddr_; }