aboutsummaryrefslogtreecommitdiffstats
path: root/Input/ICNConnectionConsumerApi.h
diff options
context:
space:
mode:
authorjsamain <jsamain@cisco.com>2019-05-27 18:59:35 +0200
committerjsamain <jsamain@cisco.com>2019-05-27 18:59:35 +0200
commit2a876fc0d7986dc1ecb169bdc41972fe0f33d0dd (patch)
tree4a907472bfbe31e3fa75e3291282af27d6ba6956 /Input/ICNConnectionConsumerApi.h
parent6dd3a9e9f88d7ef36707dad09f16685944aa182c (diff)
Update to be compliant with [HICN-206] Customize first part of the name for HTTP.
Added the -P option to set the IPv6 first word of the name. Change-Id: I321b22450d0efee713ddefef7405cf46ee381369 Signed-off-by: jsamain <jsamain@cisco.com>
Diffstat (limited to 'Input/ICNConnectionConsumerApi.h')
-rw-r--r--Input/ICNConnectionConsumerApi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Input/ICNConnectionConsumerApi.h b/Input/ICNConnectionConsumerApi.h
index c05c5244..c12e215f 100644
--- a/Input/ICNConnectionConsumerApi.h
+++ b/Input/ICNConnectionConsumerApi.h
@@ -64,7 +64,7 @@ class ICNConnectionConsumerApi : public IICNConnection, public libl4::transport:
public:
- ICNConnectionConsumerApi(double alpha, float beta, float drop);
+ ICNConnectionConsumerApi(double alpha, float beta, float drop, std::string v6FirstWord);
virtual ~ICNConnectionConsumerApi();
virtual void Init(dash::network::IChunk *chunk);
@@ -95,6 +95,7 @@ private:
libl4::http::HTTPResponse response;
float beta;
float drop;
+ std::string v6FirstWord;
uint64_t i_chunksize;
int i_lifetime;
int i_missed_co;