face: GenericLinkService encodes and decodes CongestionMark field
refs #3797
Change-Id: Ia6b00a36f3e7ed9ec98e41dee7e2f97eaf235ddd
diff --git a/daemon/face/generic-link-service.hpp b/daemon/face/generic-link-service.hpp
index c9adcd7..08ed9e1 100644
--- a/daemon/face/generic-link-service.hpp
+++ b/daemon/face/generic-link-service.hpp
@@ -145,11 +145,12 @@
void
doSendNack(const ndn::lp::Nack& nack) override;
- /** \brief encode local fields from tags onto outgoing LpPacket
- * \param pkt LpPacket containing a complete network layer packet
+ /** \brief encode link protocol fields from tags onto an outgoing LpPacket
+ * \param netPkt network-layer packet to extract tags from
+ * \param lpPacket LpPacket to add link protocol fields to
*/
- static void
- encodeLocalFields(const ndn::TagHost& netPkt, lp::Packet& lpPacket);
+ void
+ encodeLpFields(const ndn::TagHost& netPkt, lp::Packet& lpPacket);
/** \brief send a complete network layer packet
* \param pkt LpPacket containing a complete network layer packet