Skip to content

Commit

Permalink
face: add missing includes
Browse files Browse the repository at this point in the history
Change-Id: I2d855f71310e824205d37d892749c3eab9f5b3c3
  • Loading branch information
Pesa committed Nov 11, 2023
1 parent ef6a528 commit 9a63bf2
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 15 deletions.
3 changes: 2 additions & 1 deletion daemon/face/generic-link-service.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014-2022, Regents of the University of California,
* Copyright (c) 2014-2023, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
Expand All @@ -25,6 +25,7 @@

#include "generic-link-service.hpp"

#include <ndn-cxx/lp/fields.hpp>
#include <ndn-cxx/lp/pit-token.hpp>
#include <ndn-cxx/lp/tags.hpp>

Expand Down
4 changes: 2 additions & 2 deletions daemon/face/lp-fragmenter.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014-2022, Regents of the University of California,
* Copyright (c) 2014-2023, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
Expand All @@ -26,7 +26,7 @@
#include "lp-fragmenter.hpp"
#include "link-service.hpp"

#include <ndn-cxx/encoding/tlv.hpp>
#include <ndn-cxx/lp/fields.hpp>

namespace nfd::face {

Expand Down
6 changes: 4 additions & 2 deletions daemon/face/lp-reassembler.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014-2022, Regents of the University of California,
* Copyright (c) 2014-2023, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
Expand All @@ -24,8 +24,10 @@
*/

#include "lp-reassembler.hpp"
#include "link-service.hpp"
#include "common/global.hpp"
#include "link-service.hpp"

#include <ndn-cxx/lp/fields.hpp>

#include <numeric>

Expand Down
3 changes: 2 additions & 1 deletion daemon/face/lp-reassembler.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014-2022, Regents of the University of California,
* Copyright (c) 2014-2023, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
Expand Down Expand Up @@ -29,6 +29,7 @@
#include "face-common.hpp"

#include <ndn-cxx/lp/packet.hpp>
#include <ndn-cxx/lp/sequence.hpp>

namespace nfd::face {

Expand Down
6 changes: 4 additions & 2 deletions daemon/face/lp-reliability.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014-2022, Regents of the University of California,
* Copyright (c) 2014-2023, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
Expand All @@ -24,9 +24,11 @@
*/

#include "lp-reliability.hpp"
#include "common/global.hpp"
#include "generic-link-service.hpp"
#include "transport.hpp"
#include "common/global.hpp"

#include <ndn-cxx/lp/fields.hpp>

namespace nfd::face {

Expand Down
3 changes: 1 addition & 2 deletions tests/daemon/face/generic-link-service.t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
#include "tests/daemon/global-io-fixture.hpp"
#include "dummy-transport.hpp"

#include <ndn-cxx/lp/empty-value.hpp>
#include <ndn-cxx/lp/prefix-announcement-header.hpp>
#include <ndn-cxx/lp/fields.hpp>
#include <ndn-cxx/lp/tags.hpp>

namespace nfd::tests {
Expand Down
4 changes: 3 additions & 1 deletion tests/daemon/face/lp-fragmenter.t.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014-2022, Regents of the University of California,
* Copyright (c) 2014-2023, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
Expand All @@ -27,6 +27,8 @@

#include "tests/test-common.hpp"

#include <ndn-cxx/lp/fields.hpp>

namespace nfd::tests {

using namespace nfd::face;
Expand Down
4 changes: 3 additions & 1 deletion tests/daemon/face/lp-reassembler.t.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014-2022, Regents of the University of California,
* Copyright (c) 2014-2023, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
Expand Down Expand Up @@ -28,6 +28,8 @@
#include "tests/test-common.hpp"
#include "tests/daemon/global-io-fixture.hpp"

#include <ndn-cxx/lp/fields.hpp>

namespace nfd::tests {

using namespace nfd::face;
Expand Down
5 changes: 3 additions & 2 deletions tests/daemon/face/lp-reliability.t.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014-2022, Regents of the University of California,
* Copyright (c) 2014-2023, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
Expand All @@ -24,14 +24,15 @@
*/

#include "face/lp-reliability.hpp"
#include "face/face.hpp"
#include "face/generic-link-service.hpp"

#include "tests/test-common.hpp"
#include "tests/daemon/global-io-fixture.hpp"
#include "dummy-face.hpp"
#include "dummy-transport.hpp"

#include <ndn-cxx/lp/fields.hpp>

#include <cstring>
#include <unordered_set>

Expand Down
3 changes: 2 additions & 1 deletion tests/daemon/fw/pit-token.t.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014-2022, Regents of the University of California,
* Copyright (c) 2014-2023, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
Expand All @@ -26,6 +26,7 @@
#include "tests/daemon/global-io-fixture.hpp"
#include "topology-tester.hpp"

#include <ndn-cxx/lp/fields.hpp>
#include <ndn-cxx/lp/packet.hpp>
#include <ndn-cxx/lp/pit-token.hpp>

Expand Down

0 comments on commit 9a63bf2

Please sign in to comment.