aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/includes/hicn/transport/core/name.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtransport/includes/hicn/transport/core/name.h')
-rw-r--r--libtransport/includes/hicn/transport/core/name.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libtransport/includes/hicn/transport/core/name.h b/libtransport/includes/hicn/transport/core/name.h
index 90b665c15..14ea10898 100644
--- a/libtransport/includes/hicn/transport/core/name.h
+++ b/libtransport/includes/hicn/transport/core/name.h
@@ -98,6 +98,8 @@ class Name {
hicn_ip_prefix_t toIpAddress() const;
+ std::string getPrefix() const;
+
void copyPrefixToDestination(uint8_t *destination) const;
int getAddressFamily() const;