From ab38321508d886f0acd535f0f5f07a3d44e29591 Mon Sep 17 00:00:00 2001 From: "Enrico Loparco (eloparco)" Date: Wed, 14 Sep 2022 08:58:55 +0000 Subject: feat(hicn-ping): allow usage of random prefixes/suffixes in hicn-ping Ref: HICN-783 Signed-off-by: Enrico Loparco (eloparco) Change-Id: I41c804dd639ee15aee9619732f55e39a3baf1385 --- libtransport/includes/hicn/transport/core/name.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libtransport/includes/hicn/transport/core/name.h') 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; -- cgit 1.2.3-korg