fw: replace Link with forwarding hint

Forwarding now processes forwarding hint on Interests,
and no longer considers the Link object.

refs #4055

Change-Id: I0331687ee8ec31afa2f1a105e903670689647c4d
This commit is contained in:
Junxiao Shi committed 2017-07-25 02:08:48 +00:00
1 parent 944f38bb49
commit fc2e13d58d
12 files changed
+93 -229

No files matched your search

+1 -9
View File
@@ -1,5 +1,5 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
/*
* Copyright (c) 2014-2017, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
@@ -110,14 +110,6 @@ signData(Data& data)
return data;
}
shared_ptr<Link>
makeLink(const Name& name, std::initializer_list<std::pair<uint32_t, Name>> delegations)
{
auto link = make_shared<Link>(name, delegations);
signData(link);
return link;
}
lp::Nack
makeNack(Interest interest, lp::NackReason reason)
{