Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
Teng Liang | 6f09ab6 | 2018-03-01 20:04:08 -0700 | [diff] [blame] | 2 | /* |
Davide Pesavento | 2c9d2ca | 2024-01-27 16:36:51 -0500 | [diff] [blame] | 3 | * Copyright (c) 2014-2024, Regents of the University of California, |
Junxiao Shi | 1e46be3 | 2015-01-08 20:18:05 -0700 | [diff] [blame] | 4 | * Arizona Board of Regents, |
| 5 | * Colorado State University, |
| 6 | * University Pierre & Marie Curie, Sorbonne University, |
| 7 | * Washington University in St. Louis, |
| 8 | * Beijing Institute of Technology, |
| 9 | * The University of Memphis. |
Alexander Afanasyev | 9bcbc7c | 2014-04-06 19:37:37 -0700 | [diff] [blame] | 10 | * |
| 11 | * This file is part of NFD (Named Data Networking Forwarding Daemon). |
| 12 | * See AUTHORS.md for complete list of NFD authors and contributors. |
| 13 | * |
| 14 | * NFD is free software: you can redistribute it and/or modify it under the terms |
| 15 | * of the GNU General Public License as published by the Free Software Foundation, |
| 16 | * either version 3 of the License, or (at your option) any later version. |
| 17 | * |
| 18 | * NFD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
| 19 | * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 20 | * PURPOSE. See the GNU General Public License for more details. |
| 21 | * |
| 22 | * You should have received a copy of the GNU General Public License along with |
| 23 | * NFD, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>. |
Alexander Afanasyev | 28d586a | 2014-07-10 20:10:54 -0700 | [diff] [blame] | 24 | */ |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 25 | |
Alexander Afanasyev | 613e2a9 | 2014-04-15 13:36:58 -0700 | [diff] [blame] | 26 | #ifndef NFD_DAEMON_TABLE_PIT_ENTRY_HPP |
| 27 | #define NFD_DAEMON_TABLE_PIT_ENTRY_HPP |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 28 | |
| 29 | #include "pit-in-record.hpp" |
| 30 | #include "pit-out-record.hpp" |
| 31 | |
Davide Pesavento | 2c9d2ca | 2024-01-27 16:36:51 -0500 | [diff] [blame] | 32 | #include <ndn-cxx/util/scheduler.hpp> |
| 33 | |
Davide Pesavento | c0822fa | 2018-05-10 21:54:10 -0400 | [diff] [blame] | 34 | #include <list> |
| 35 | |
Davide Pesavento | e422f9e | 2022-06-03 01:30:23 -0400 | [diff] [blame] | 36 | namespace nfd::name_tree { |
HangZhang | cb4fc83 | 2014-03-11 16:57:11 +0800 | [diff] [blame] | 37 | class Entry; |
Davide Pesavento | e422f9e | 2022-06-03 01:30:23 -0400 | [diff] [blame] | 38 | } // namespace nfd::name_tree |
HangZhang | cb4fc83 | 2014-03-11 16:57:11 +0800 | [diff] [blame] | 39 | |
Davide Pesavento | e422f9e | 2022-06-03 01:30:23 -0400 | [diff] [blame] | 40 | namespace nfd::pit { |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 41 | |
Davide Pesavento | a3a7a4e | 2022-05-29 16:06:22 -0400 | [diff] [blame] | 42 | /** |
Davide Pesavento | aa9e3b2 | 2022-10-21 17:00:07 -0400 | [diff] [blame] | 43 | * \brief An unordered collection of in-records. |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 44 | */ |
Davide Pesavento | a3a7a4e | 2022-05-29 16:06:22 -0400 | [diff] [blame] | 45 | using InRecordCollection = std::list<InRecord>; |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 46 | |
Davide Pesavento | a3a7a4e | 2022-05-29 16:06:22 -0400 | [diff] [blame] | 47 | /** |
Davide Pesavento | aa9e3b2 | 2022-10-21 17:00:07 -0400 | [diff] [blame] | 48 | * \brief An unordered collection of out-records. |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 49 | */ |
Davide Pesavento | a3a7a4e | 2022-05-29 16:06:22 -0400 | [diff] [blame] | 50 | using OutRecordCollection = std::list<OutRecord>; |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 51 | |
Davide Pesavento | a3a7a4e | 2022-05-29 16:06:22 -0400 | [diff] [blame] | 52 | /** |
| 53 | * \brief Represents an entry in the %Interest table (PIT). |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 54 | * |
Davide Pesavento | a3a7a4e | 2022-05-29 16:06:22 -0400 | [diff] [blame] | 55 | * An Interest table entry represents either a pending Interest or a recently satisfied Interest. |
| 56 | * Each entry contains a collection of in-records, a collection of out-records, |
| 57 | * and two timers used in forwarding pipelines. |
| 58 | * In addition, the entry, in-records, and out-records are subclasses of StrategyInfoHost, |
| 59 | * which allows forwarding strategy to store arbitrary information on them. |
| 60 | * |
| 61 | * \sa Pit |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 62 | */ |
Junxiao Shi | 408a700 | 2014-02-12 17:53:47 -0700 | [diff] [blame] | 63 | class Entry : public StrategyInfoHost, noncopyable |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 64 | { |
| 65 | public: |
| 66 | explicit |
| 67 | Entry(const Interest& interest); |
Junxiao Shi | 0b5fbbb | 2014-02-20 15:54:03 -0700 | [diff] [blame] | 68 | |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 69 | /** \return the representative Interest of the PIT entry |
| 70 | * \note Every Interest in in-records and out-records should have same Name and Selectors |
| 71 | * as the representative Interest. |
| 72 | * \todo #3162 require Link field to match the representative Interest |
| 73 | */ |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 74 | const Interest& |
Junxiao Shi | 340d553 | 2016-08-13 04:00:35 +0000 | [diff] [blame] | 75 | getInterest() const |
| 76 | { |
| 77 | return *m_interest; |
| 78 | } |
Junxiao Shi | 0b5fbbb | 2014-02-20 15:54:03 -0700 | [diff] [blame] | 79 | |
| 80 | /** \return Interest Name |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 81 | */ |
| 82 | const Name& |
Junxiao Shi | 340d553 | 2016-08-13 04:00:35 +0000 | [diff] [blame] | 83 | getName() const |
| 84 | { |
| 85 | return m_interest->getName(); |
| 86 | } |
Junxiao Shi | 0b5fbbb | 2014-02-20 15:54:03 -0700 | [diff] [blame] | 87 | |
Junxiao Shi | a274292 | 2016-11-17 22:53:23 +0000 | [diff] [blame] | 88 | /** \return whether interest matches this entry |
| 89 | * \param interest the Interest |
| 90 | * \param nEqualNameComps number of initial name components guaranteed to be equal |
| 91 | */ |
| 92 | bool |
| 93 | canMatch(const Interest& interest, size_t nEqualNameComps = 0) const; |
| 94 | |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 95 | public: // in-record |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 96 | /** |
| 97 | * \brief Returns the collection of in-records. |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 98 | */ |
Junxiao Shi | 66f91f8 | 2014-05-10 17:28:58 -0700 | [diff] [blame] | 99 | const InRecordCollection& |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 100 | getInRecords() const noexcept |
Junxiao Shi | 340d553 | 2016-08-13 04:00:35 +0000 | [diff] [blame] | 101 | { |
| 102 | return m_inRecords; |
| 103 | } |
Junxiao Shi | 66f91f8 | 2014-05-10 17:28:58 -0700 | [diff] [blame] | 104 | |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 105 | /** \retval true There is at least one in-record. |
| 106 | * This implies some downstream is waiting for Data or Nack. |
| 107 | * \retval false There is no in-record. |
| 108 | * This implies the entry is new or has been satisfied or Nacked. |
| 109 | */ |
| 110 | bool |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 111 | hasInRecords() const noexcept |
Junxiao Shi | 340d553 | 2016-08-13 04:00:35 +0000 | [diff] [blame] | 112 | { |
| 113 | return !m_inRecords.empty(); |
| 114 | } |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 115 | |
| 116 | InRecordCollection::iterator |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 117 | in_begin() noexcept |
Junxiao Shi | 340d553 | 2016-08-13 04:00:35 +0000 | [diff] [blame] | 118 | { |
| 119 | return m_inRecords.begin(); |
| 120 | } |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 121 | |
| 122 | InRecordCollection::const_iterator |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 123 | in_begin() const noexcept |
Junxiao Shi | 340d553 | 2016-08-13 04:00:35 +0000 | [diff] [blame] | 124 | { |
| 125 | return m_inRecords.begin(); |
| 126 | } |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 127 | |
| 128 | InRecordCollection::iterator |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 129 | in_end() noexcept |
Junxiao Shi | 340d553 | 2016-08-13 04:00:35 +0000 | [diff] [blame] | 130 | { |
| 131 | return m_inRecords.end(); |
| 132 | } |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 133 | |
| 134 | InRecordCollection::const_iterator |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 135 | in_end() const noexcept |
Junxiao Shi | 340d553 | 2016-08-13 04:00:35 +0000 | [diff] [blame] | 136 | { |
| 137 | return m_inRecords.end(); |
| 138 | } |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 139 | |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 140 | /** |
| 141 | * \brief Get the in-record for \p face. |
| 142 | * \return an iterator to the in-record, or in_end() if it does not exist |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 143 | */ |
| 144 | InRecordCollection::iterator |
Md Ashiqur Rahman | c88d2d4 | 2019-08-28 20:19:47 +0000 | [diff] [blame] | 145 | getInRecord(const Face& face); |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 146 | |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 147 | /** |
| 148 | * \brief Insert or update an in-record. |
| 149 | * \return an iterator to the new or updated in-record |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 150 | */ |
| 151 | InRecordCollection::iterator |
Md Ashiqur Rahman | c88d2d4 | 2019-08-28 20:19:47 +0000 | [diff] [blame] | 152 | insertOrUpdateInRecord(Face& face, const Interest& interest); |
Junxiao Shi | 0b5fbbb | 2014-02-20 15:54:03 -0700 | [diff] [blame] | 153 | |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 154 | /** |
| 155 | * \brief Removes the in-record at position \p pos. |
| 156 | * \param pos iterator to the in-record to remove; must be valid and dereferenceable. |
Junxiao Shi | 66f91f8 | 2014-05-10 17:28:58 -0700 | [diff] [blame] | 157 | */ |
Junxiao Shi | 5e5e445 | 2015-09-24 16:56:52 -0700 | [diff] [blame] | 158 | void |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 159 | deleteInRecord(InRecordCollection::const_iterator pos); |
Junxiao Shi | 5e5e445 | 2015-09-24 16:56:52 -0700 | [diff] [blame] | 160 | |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 161 | /** |
| 162 | * \brief Removes all in-records. |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 163 | */ |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 164 | void |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 165 | clearInRecords(); |
Junxiao Shi | 0b5fbbb | 2014-02-20 15:54:03 -0700 | [diff] [blame] | 166 | |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 167 | public: // out-record |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 168 | /** |
| 169 | * \brief Returns the collection of out-records. |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 170 | */ |
Junxiao Shi | 66f91f8 | 2014-05-10 17:28:58 -0700 | [diff] [blame] | 171 | const OutRecordCollection& |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 172 | getOutRecords() const noexcept |
Junxiao Shi | 340d553 | 2016-08-13 04:00:35 +0000 | [diff] [blame] | 173 | { |
| 174 | return m_outRecords; |
| 175 | } |
Junxiao Shi | 66f91f8 | 2014-05-10 17:28:58 -0700 | [diff] [blame] | 176 | |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 177 | /** \retval true There is at least one out-record. |
| 178 | * This implies the Interest has been forwarded to some upstream, |
| 179 | * and they haven't returned Data, but may have returned Nacks. |
| 180 | * \retval false There is no out-record. |
| 181 | * This implies the Interest has not been forwarded. |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 182 | */ |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 183 | bool |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 184 | hasOutRecords() const noexcept |
Junxiao Shi | 340d553 | 2016-08-13 04:00:35 +0000 | [diff] [blame] | 185 | { |
| 186 | return !m_outRecords.empty(); |
| 187 | } |
Junxiao Shi | 0b5fbbb | 2014-02-20 15:54:03 -0700 | [diff] [blame] | 188 | |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 189 | OutRecordCollection::iterator |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 190 | out_begin() noexcept |
Junxiao Shi | 340d553 | 2016-08-13 04:00:35 +0000 | [diff] [blame] | 191 | { |
| 192 | return m_outRecords.begin(); |
| 193 | } |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 194 | |
| 195 | OutRecordCollection::const_iterator |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 196 | out_begin() const noexcept |
Junxiao Shi | 340d553 | 2016-08-13 04:00:35 +0000 | [diff] [blame] | 197 | { |
| 198 | return m_outRecords.begin(); |
| 199 | } |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 200 | |
| 201 | OutRecordCollection::iterator |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 202 | out_end() noexcept |
Junxiao Shi | 340d553 | 2016-08-13 04:00:35 +0000 | [diff] [blame] | 203 | { |
| 204 | return m_outRecords.end(); |
| 205 | } |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 206 | |
| 207 | OutRecordCollection::const_iterator |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 208 | out_end() const noexcept |
Junxiao Shi | 340d553 | 2016-08-13 04:00:35 +0000 | [diff] [blame] | 209 | { |
| 210 | return m_outRecords.end(); |
| 211 | } |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 212 | |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 213 | /** |
| 214 | * \brief Get the out-record for \p face. |
| 215 | * \return an iterator to the out-record, or out_end() if it does not exist |
Junxiao Shi | 66f91f8 | 2014-05-10 17:28:58 -0700 | [diff] [blame] | 216 | */ |
Junxiao Shi | 5e5e445 | 2015-09-24 16:56:52 -0700 | [diff] [blame] | 217 | OutRecordCollection::iterator |
Md Ashiqur Rahman | c88d2d4 | 2019-08-28 20:19:47 +0000 | [diff] [blame] | 218 | getOutRecord(const Face& face); |
Junxiao Shi | 66f91f8 | 2014-05-10 17:28:58 -0700 | [diff] [blame] | 219 | |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 220 | /** |
| 221 | * \brief Insert or update an out-record. |
| 222 | * \return an iterator to the new or updated out-record |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 223 | */ |
| 224 | OutRecordCollection::iterator |
Md Ashiqur Rahman | c88d2d4 | 2019-08-28 20:19:47 +0000 | [diff] [blame] | 225 | insertOrUpdateOutRecord(Face& face, const Interest& interest); |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 226 | |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 227 | /** |
| 228 | * \brief Delete the out-record for \p face if it exists. |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 229 | */ |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 230 | void |
Md Ashiqur Rahman | c88d2d4 | 2019-08-28 20:19:47 +0000 | [diff] [blame] | 231 | deleteOutRecord(const Face& face); |
Junxiao Shi | 0b5fbbb | 2014-02-20 15:54:03 -0700 | [diff] [blame] | 232 | |
Junxiao Shi | d3c792f | 2014-01-30 00:46:13 -0700 | [diff] [blame] | 233 | public: |
Davide Pesavento | aa9e3b2 | 2022-10-21 17:00:07 -0400 | [diff] [blame] | 234 | /** \brief Expiry timer. |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 235 | * |
| 236 | * This timer is used in forwarding pipelines to delete the entry |
Junxiao Shi | 4846f37 | 2016-04-05 13:39:30 -0700 | [diff] [blame] | 237 | */ |
Davide Pesavento | 2c9d2ca | 2024-01-27 16:36:51 -0500 | [diff] [blame] | 238 | ndn::scheduler::EventId expiryTimer; |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 239 | |
Davide Pesavento | aa9e3b2 | 2022-10-21 17:00:07 -0400 | [diff] [blame] | 240 | /** \brief Indicates whether this PIT entry is satisfied. |
Teng Liang | 6f09ab6 | 2018-03-01 20:04:08 -0700 | [diff] [blame] | 241 | */ |
Davide Pesavento | 50a6af3 | 2019-02-21 00:04:40 -0500 | [diff] [blame] | 242 | bool isSatisfied = false; |
Teng Liang | 6f09ab6 | 2018-03-01 20:04:08 -0700 | [diff] [blame] | 243 | |
Davide Pesavento | aa9e3b2 | 2022-10-21 17:00:07 -0400 | [diff] [blame] | 244 | /** \brief Data freshness period. |
Davide Pesavento | 4d2e788 | 2024-02-15 23:00:21 -0500 | [diff] [blame^] | 245 | * \note This field is meaningful only if #isSatisfied is true |
Teng Liang | 6f09ab6 | 2018-03-01 20:04:08 -0700 | [diff] [blame] | 246 | */ |
Davide Pesavento | 50a6af3 | 2019-02-21 00:04:40 -0500 | [diff] [blame] | 247 | time::milliseconds dataFreshnessPeriod = 0_ms; |
Teng Liang | 6f09ab6 | 2018-03-01 20:04:08 -0700 | [diff] [blame] | 248 | |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 249 | private: |
Alexander Afanasyev | 28d586a | 2014-07-10 20:10:54 -0700 | [diff] [blame] | 250 | shared_ptr<const Interest> m_interest; |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 251 | InRecordCollection m_inRecords; |
| 252 | OutRecordCollection m_outRecords; |
Junxiao Shi | 57f0f31 | 2014-03-16 11:52:20 -0700 | [diff] [blame] | 253 | |
Davide Pesavento | 50a6af3 | 2019-02-21 00:04:40 -0500 | [diff] [blame] | 254 | name_tree::Entry* m_nameTreeEntry = nullptr; |
HangZhang | cb4fc83 | 2014-03-11 16:57:11 +0800 | [diff] [blame] | 255 | |
Davide Pesavento | 9a28c3f | 2022-06-11 21:50:01 -0400 | [diff] [blame] | 256 | friend ::nfd::name_tree::Entry; |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 257 | }; |
| 258 | |
Davide Pesavento | e422f9e | 2022-06-03 01:30:23 -0400 | [diff] [blame] | 259 | } // namespace nfd::pit |
Junxiao Shi | cbba04c | 2014-01-26 14:21:22 -0700 | [diff] [blame] | 260 | |
Alexander Afanasyev | 613e2a9 | 2014-04-15 13:36:58 -0700 | [diff] [blame] | 261 | #endif // NFD_DAEMON_TABLE_PIT_ENTRY_HPP |