1 #ifndef LIGHTNING_CONNECTD_NETADDRESS_H 2 #define LIGHTNING_CONNECTD_NETADDRESS_H 3 #include "config.h" 4 #include <common/wireaddr.h> 5 6 /* Address is a wildcard: try to guess what it looks like to outside world */ 7 bool guess_address(struct wireaddr *wireaddr); 8 9 /* Is this address public? */ 10 bool address_routable(const struct wireaddr *wireaddr, 11 bool allow_localhost); 12 13 #endif /* LIGHTNING_CONNECTD_NETADDRESS_H */ 14