diff options
author | Enrico Loparco (eloparco) <eloparco@cisco.com> | 2022-09-14 08:58:55 +0000 |
---|---|---|
committer | Enrico Loparco (eloparco) <eloparco@cisco.com> | 2022-09-14 13:42:31 +0000 |
commit | ab38321508d886f0acd535f0f5f07a3d44e29591 (patch) | |
tree | a46dedcd2dce871cf8c381fd06e3c00c46cd3b27 /libtransport/includes/hicn/transport/core | |
parent | 6c9f120f028bcca93fd087afa648f653b208eb35 (diff) |
feat(hicn-ping): allow usage of random prefixes/suffixes in hicn-ping
Ref: HICN-783
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com>
Change-Id: I41c804dd639ee15aee9619732f55e39a3baf1385
Diffstat (limited to 'libtransport/includes/hicn/transport/core')
-rw-r--r-- | libtransport/includes/hicn/transport/core/interest.h | 2 | ||||
-rw-r--r-- | libtransport/includes/hicn/transport/core/name.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libtransport/includes/hicn/transport/core/interest.h b/libtransport/includes/hicn/transport/core/interest.h index 59da5b91f..270ea7027 100644 --- a/libtransport/includes/hicn/transport/core/interest.h +++ b/libtransport/includes/hicn/transport/core/interest.h @@ -104,6 +104,8 @@ class Interest hicn_uword *getRequestBitmap(); + interest_manifest_header_t *getIntManifestHeader(); + void setRequestBitmap(const uint32_t *request_bitmap); bool isValid(); 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; |