Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
Davide Pesavento | 1d12d2f | 2019-03-22 12:44:14 -0400 | [diff] [blame] | 2 | /* |
Davide Pesavento | 412c982 | 2021-07-02 00:21:05 -0400 | [diff] [blame^] | 3 | * Copyright (c) 2014-2021, Regents of the University of California, |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -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. |
| 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/>. |
| 24 | */ |
| 25 | |
| 26 | #include "face/internal-face.hpp" |
Junxiao Shi | 5b8a2b2 | 2015-10-22 17:20:44 -0700 | [diff] [blame] | 27 | |
Junxiao Shi | cde37ad | 2015-12-24 01:02:05 -0700 | [diff] [blame] | 28 | #include "transport-test-common.hpp" |
Davide Pesavento | 1d12d2f | 2019-03-22 12:44:14 -0400 | [diff] [blame] | 29 | #include "tests/key-chain-fixture.hpp" |
Davide Pesavento | cf7db2f | 2019-03-24 23:17:28 -0400 | [diff] [blame] | 30 | #include "tests/daemon/global-io-fixture.hpp" |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 31 | |
| 32 | namespace nfd { |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 33 | namespace face { |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 34 | namespace tests { |
| 35 | |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 36 | using namespace nfd::tests; |
| 37 | |
| 38 | BOOST_AUTO_TEST_SUITE(Face) |
| 39 | |
Davide Pesavento | cf7db2f | 2019-03-24 23:17:28 -0400 | [diff] [blame] | 40 | class InternalFaceFixture : public GlobalIoTimeFixture, public KeyChainFixture |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 41 | { |
| 42 | public: |
| 43 | InternalFaceFixture() |
| 44 | { |
Davide Pesavento | 284bd62 | 2019-03-31 02:10:02 -0400 | [diff] [blame] | 45 | std::tie(forwarderFace, clientFace) = makeInternalFace(m_keyChain); |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 46 | |
Junxiao Shi | 5b8a2b2 | 2015-10-22 17:20:44 -0700 | [diff] [blame] | 47 | forwarderFace->afterReceiveInterest.connect( |
ashiqopu | 075bb7d | 2019-03-10 01:38:21 +0000 | [diff] [blame] | 48 | [this] (const Interest& interest, const EndpointId&) { receivedInterests.push_back(interest); } ); |
Junxiao Shi | 5b8a2b2 | 2015-10-22 17:20:44 -0700 | [diff] [blame] | 49 | forwarderFace->afterReceiveData.connect( |
ashiqopu | 075bb7d | 2019-03-10 01:38:21 +0000 | [diff] [blame] | 50 | [this] (const Data& data, const EndpointId&) { receivedData.push_back(data); } ); |
Junxiao Shi | 5b8a2b2 | 2015-10-22 17:20:44 -0700 | [diff] [blame] | 51 | forwarderFace->afterReceiveNack.connect( |
ashiqopu | 075bb7d | 2019-03-10 01:38:21 +0000 | [diff] [blame] | 52 | [this] (const lp::Nack& nack, const EndpointId&) { receivedNacks.push_back(nack); } ); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 53 | } |
| 54 | |
| 55 | protected: |
Junxiao Shi | cde37ad | 2015-12-24 01:02:05 -0700 | [diff] [blame] | 56 | shared_ptr<nfd::Face> forwarderFace; |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 57 | shared_ptr<ndn::Face> clientFace; |
| 58 | |
| 59 | std::vector<Interest> receivedInterests; |
| 60 | std::vector<Data> receivedData; |
| 61 | std::vector<lp::Nack> receivedNacks; |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 62 | }; |
| 63 | |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 64 | BOOST_FIXTURE_TEST_SUITE(TestInternalFace, InternalFaceFixture) |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 65 | |
Junxiao Shi | 5b8a2b2 | 2015-10-22 17:20:44 -0700 | [diff] [blame] | 66 | BOOST_AUTO_TEST_CASE(TransportStaticProperties) |
| 67 | { |
| 68 | Transport* transport = forwarderFace->getTransport(); |
| 69 | checkStaticPropertiesInitialized(*transport); |
| 70 | |
| 71 | BOOST_CHECK_EQUAL(transport->getLocalUri(), FaceUri("internal://")); |
| 72 | BOOST_CHECK_EQUAL(transport->getRemoteUri(), FaceUri("internal://")); |
| 73 | BOOST_CHECK_EQUAL(transport->getScope(), ndn::nfd::FACE_SCOPE_LOCAL); |
| 74 | BOOST_CHECK_EQUAL(transport->getPersistency(), ndn::nfd::FACE_PERSISTENCY_PERMANENT); |
| 75 | BOOST_CHECK_EQUAL(transport->getLinkType(), ndn::nfd::LINK_TYPE_POINT_TO_POINT); |
| 76 | BOOST_CHECK_EQUAL(transport->getMtu(), MTU_UNLIMITED); |
| 77 | } |
| 78 | |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 79 | // note: "send" and "receive" in test case names refer to the direction seen on forwarderFace. |
| 80 | // i.e. "send" means transmission from forwarder to client, |
Junxiao Shi | 5b8a2b2 | 2015-10-22 17:20:44 -0700 | [diff] [blame] | 81 | // "receive" means transmission from client to forwarder. |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 82 | |
| 83 | BOOST_AUTO_TEST_CASE(ReceiveInterestTimeout) |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 84 | { |
Davide Pesavento | 284bd62 | 2019-03-31 02:10:02 -0400 | [diff] [blame] | 85 | auto interest = makeInterest("/TLETccRv"); |
Davide Pesavento | 14e71f0 | 2019-03-28 17:35:25 -0400 | [diff] [blame] | 86 | interest->setInterestLifetime(100_ms); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 87 | |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 88 | bool hasTimeout = false; |
| 89 | clientFace->expressInterest(*interest, |
Davide Pesavento | 412c982 | 2021-07-02 00:21:05 -0400 | [diff] [blame^] | 90 | [] (auto&&...) { BOOST_ERROR("unexpected Data"); }, |
| 91 | [] (auto&&...) { BOOST_ERROR("unexpected Nack"); }, |
| 92 | [&] (auto&&...) { hasTimeout = true; }); |
Davide Pesavento | 14e71f0 | 2019-03-28 17:35:25 -0400 | [diff] [blame] | 93 | this->advanceClocks(1_ms, 10); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 94 | |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 95 | BOOST_REQUIRE_EQUAL(receivedInterests.size(), 1); |
| 96 | BOOST_CHECK_EQUAL(receivedInterests.back().getName(), "/TLETccRv"); |
| 97 | |
Davide Pesavento | 14e71f0 | 2019-03-28 17:35:25 -0400 | [diff] [blame] | 98 | this->advanceClocks(1_ms, 100); |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 99 | |
| 100 | BOOST_CHECK(hasTimeout); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 101 | } |
| 102 | |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 103 | BOOST_AUTO_TEST_CASE(ReceiveInterestSendData) |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 104 | { |
Junxiao Shi | 9d72785 | 2019-05-14 13:44:22 -0600 | [diff] [blame] | 105 | auto interest = makeInterest("/PQstEJGdL", true); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 106 | |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 107 | bool hasReceivedData = false; |
| 108 | clientFace->expressInterest(*interest, |
Davide Pesavento | 412c982 | 2021-07-02 00:21:05 -0400 | [diff] [blame^] | 109 | [&] (const Interest&, const Data& data) { |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 110 | hasReceivedData = true; |
| 111 | BOOST_CHECK_EQUAL(data.getName(), "/PQstEJGdL/aI7oCrDXNX"); |
| 112 | }, |
Davide Pesavento | 412c982 | 2021-07-02 00:21:05 -0400 | [diff] [blame^] | 113 | [] (auto&&...) { BOOST_ERROR("unexpected Nack"); }, |
| 114 | [] (auto&&...) { BOOST_ERROR("unexpected timeout"); }); |
Davide Pesavento | 14e71f0 | 2019-03-28 17:35:25 -0400 | [diff] [blame] | 115 | this->advanceClocks(1_ms, 10); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 116 | |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 117 | BOOST_REQUIRE_EQUAL(receivedInterests.size(), 1); |
| 118 | BOOST_CHECK_EQUAL(receivedInterests.back().getName(), "/PQstEJGdL"); |
| 119 | |
Teng Liang | f3bc3ae | 2020-06-08 10:19:25 -0700 | [diff] [blame] | 120 | forwarderFace->sendData(*makeData("/PQstEJGdL/aI7oCrDXNX")); |
Davide Pesavento | 14e71f0 | 2019-03-28 17:35:25 -0400 | [diff] [blame] | 121 | this->advanceClocks(1_ms, 10); |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 122 | |
| 123 | BOOST_CHECK(hasReceivedData); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 124 | } |
| 125 | |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 126 | BOOST_AUTO_TEST_CASE(ReceiveInterestSendNack) |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 127 | { |
Junxiao Shi | 9d72785 | 2019-05-14 13:44:22 -0600 | [diff] [blame] | 128 | auto interest = makeInterest("/1HrsRM1X"); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 129 | |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 130 | bool hasReceivedNack = false; |
| 131 | clientFace->expressInterest(*interest, |
Davide Pesavento | 412c982 | 2021-07-02 00:21:05 -0400 | [diff] [blame^] | 132 | [] (auto&&...) { BOOST_ERROR("unexpected Data"); }, |
| 133 | [&] (const Interest&, const lp::Nack& nack) { |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 134 | hasReceivedNack = true; |
| 135 | BOOST_CHECK_EQUAL(nack.getReason(), lp::NackReason::NO_ROUTE); |
| 136 | }, |
Davide Pesavento | 412c982 | 2021-07-02 00:21:05 -0400 | [diff] [blame^] | 137 | [] (auto&&...) { BOOST_ERROR("unexpected timeout"); }); |
Davide Pesavento | 14e71f0 | 2019-03-28 17:35:25 -0400 | [diff] [blame] | 138 | this->advanceClocks(1_ms, 10); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 139 | |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 140 | BOOST_REQUIRE_EQUAL(receivedInterests.size(), 1); |
| 141 | BOOST_CHECK_EQUAL(receivedInterests.back().getName(), "/1HrsRM1X"); |
| 142 | |
Teng Liang | f3bc3ae | 2020-06-08 10:19:25 -0700 | [diff] [blame] | 143 | forwarderFace->sendNack(makeNack(*interest, lp::NackReason::NO_ROUTE)); |
Davide Pesavento | 14e71f0 | 2019-03-28 17:35:25 -0400 | [diff] [blame] | 144 | this->advanceClocks(1_ms, 10); |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 145 | |
| 146 | BOOST_CHECK(hasReceivedNack); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 147 | } |
| 148 | |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 149 | BOOST_AUTO_TEST_CASE(SendInterestReceiveData) |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 150 | { |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 151 | bool hasDeliveredInterest = false; |
| 152 | clientFace->setInterestFilter("/Wpc8TnEeoF", |
| 153 | [this, &hasDeliveredInterest] (const ndn::InterestFilter&, const Interest& interest) { |
| 154 | hasDeliveredInterest = true; |
| 155 | BOOST_CHECK_EQUAL(interest.getName(), "/Wpc8TnEeoF/f6SzV8hD"); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 156 | |
Davide Pesavento | 284bd62 | 2019-03-31 02:10:02 -0400 | [diff] [blame] | 157 | clientFace->put(*makeData("/Wpc8TnEeoF/f6SzV8hD/3uytUJCuIi")); |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 158 | }); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 159 | |
Teng Liang | f3bc3ae | 2020-06-08 10:19:25 -0700 | [diff] [blame] | 160 | forwarderFace->sendInterest(*makeInterest("/Wpc8TnEeoF/f6SzV8hD", true)); |
Davide Pesavento | 14e71f0 | 2019-03-28 17:35:25 -0400 | [diff] [blame] | 161 | this->advanceClocks(1_ms, 10); |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 162 | |
| 163 | BOOST_CHECK(hasDeliveredInterest); |
| 164 | BOOST_REQUIRE_EQUAL(receivedData.size(), 1); |
| 165 | BOOST_CHECK_EQUAL(receivedData.back().getName(), "/Wpc8TnEeoF/f6SzV8hD/3uytUJCuIi"); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 166 | } |
| 167 | |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 168 | BOOST_AUTO_TEST_CASE(SendInterestReceiveNack) |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 169 | { |
Junxiao Shi | 9d72785 | 2019-05-14 13:44:22 -0600 | [diff] [blame] | 170 | auto interest = makeInterest("/4YgJKWcXN/5oaTe05o"); |
| 171 | |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 172 | bool hasDeliveredInterest = false; |
| 173 | clientFace->setInterestFilter("/4YgJKWcXN", |
| 174 | [this, &hasDeliveredInterest] (const ndn::InterestFilter&, const Interest& interest) { |
| 175 | hasDeliveredInterest = true; |
| 176 | BOOST_CHECK_EQUAL(interest.getName(), "/4YgJKWcXN/5oaTe05o"); |
Junxiao Shi | 9d72785 | 2019-05-14 13:44:22 -0600 | [diff] [blame] | 177 | clientFace->put(makeNack(interest, lp::NackReason::NO_ROUTE)); |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 178 | }); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 179 | |
Teng Liang | f3bc3ae | 2020-06-08 10:19:25 -0700 | [diff] [blame] | 180 | forwarderFace->sendInterest(*interest); |
Davide Pesavento | 14e71f0 | 2019-03-28 17:35:25 -0400 | [diff] [blame] | 181 | this->advanceClocks(1_ms, 10); |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 182 | |
| 183 | BOOST_CHECK(hasDeliveredInterest); |
| 184 | BOOST_REQUIRE_EQUAL(receivedNacks.size(), 1); |
| 185 | BOOST_CHECK_EQUAL(receivedNacks.back().getReason(), lp::NackReason::NO_ROUTE); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 186 | } |
| 187 | |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 188 | BOOST_AUTO_TEST_CASE(CloseForwarderFace) |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 189 | { |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 190 | forwarderFace->close(); |
Davide Pesavento | 14e71f0 | 2019-03-28 17:35:25 -0400 | [diff] [blame] | 191 | this->advanceClocks(1_ms, 10); |
Junxiao Shi | 5b8a2b2 | 2015-10-22 17:20:44 -0700 | [diff] [blame] | 192 | BOOST_CHECK_EQUAL(forwarderFace->getState(), FaceState::CLOSED); |
Junxiao Shi | cde37ad | 2015-12-24 01:02:05 -0700 | [diff] [blame] | 193 | forwarderFace.reset(); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 194 | |
Davide Pesavento | 284bd62 | 2019-03-31 02:10:02 -0400 | [diff] [blame] | 195 | auto interest = makeInterest("/zpHsVesu0B"); |
Davide Pesavento | 14e71f0 | 2019-03-28 17:35:25 -0400 | [diff] [blame] | 196 | interest->setInterestLifetime(100_ms); |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 197 | |
| 198 | bool hasTimeout = false; |
| 199 | clientFace->expressInterest(*interest, |
Davide Pesavento | 412c982 | 2021-07-02 00:21:05 -0400 | [diff] [blame^] | 200 | [] (auto&&...) { BOOST_ERROR("unexpected Data"); }, |
| 201 | [] (auto&&...) { BOOST_ERROR("unexpected Nack"); }, |
| 202 | [&] (auto&&...) { hasTimeout = true; }); |
Davide Pesavento | 14e71f0 | 2019-03-28 17:35:25 -0400 | [diff] [blame] | 203 | BOOST_CHECK_NO_THROW(this->advanceClocks(1_ms, 200)); |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 204 | |
| 205 | BOOST_CHECK_EQUAL(receivedInterests.size(), 0); |
| 206 | BOOST_CHECK(hasTimeout); |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 207 | } |
| 208 | |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 209 | BOOST_AUTO_TEST_CASE(CloseClientFace) |
| 210 | { |
| 211 | g_io.poll(); // #3248 workaround |
| 212 | clientFace.reset(); |
| 213 | |
Teng Liang | f3bc3ae | 2020-06-08 10:19:25 -0700 | [diff] [blame] | 214 | forwarderFace->sendInterest(*makeInterest("/aau42XQqb")); |
Davide Pesavento | 14e71f0 | 2019-03-28 17:35:25 -0400 | [diff] [blame] | 215 | BOOST_CHECK_NO_THROW(this->advanceClocks(1_ms, 10)); |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 216 | } |
| 217 | |
| 218 | BOOST_AUTO_TEST_SUITE_END() // TestInternalFace |
| 219 | BOOST_AUTO_TEST_SUITE_END() // Face |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 220 | |
| 221 | } // namespace tests |
Junxiao Shi | 6535f1e | 2015-10-08 13:02:18 -0700 | [diff] [blame] | 222 | } // namespace face |
Yanbiao Li | 4ee73d4 | 2015-08-19 16:30:16 -0700 | [diff] [blame] | 223 | } // namespace nfd |