bool Interest::matchesInterest(const Interest& other) const { /// @todo #3162 match ForwardingHint field return (this->getName() == other.getName() && this->getSelectors() == other.getSelectors()); }
bool Entry::canMatch(const Interest& interest, size_t nEqualNameComps) const { BOOST_ASSERT(m_interest->getName().compare(0, nEqualNameComps, interest.getName(), 0, nEqualNameComps) == 0); return m_interest->getName().compare(nEqualNameComps, Name::npos, interest.getName(), nEqualNameComps) == 0 && m_interest->getSelectors() == interest.getSelectors(); /// \todo #3162 match Link field }