[ndnSIM] lp, face: Add lp::HopCountTagField
Change-Id: I2c25bcf29f3928049d1040a3e421e1c7151b3ba2
diff --git a/src/lp/fields.hpp b/src/lp/fields.hpp
index 890da2b..52ea1eb 100644
--- a/src/lp/fields.hpp
+++ b/src/lp/fields.hpp
@@ -109,6 +109,11 @@
tlv::PrefixAnnouncement> PrefixAnnouncementField;
BOOST_CONCEPT_ASSERT((Field<PrefixAnnouncementField>));
+typedef FieldDecl<field_location_tags::Header,
+ uint64_t,
+ tlv::HopCountTag> HopCountTagField;
+BOOST_CONCEPT_ASSERT((Field<HopCountTagField>));
+
/** \brief Declare the Fragment field.
*
* The fragment (i.e. payload) is the bytes between two provided iterators. During encoding,
@@ -134,7 +139,8 @@
AckField,
TxSequenceField,
NonDiscoveryField,
- PrefixAnnouncementField
+ PrefixAnnouncementField,
+ HopCountTagField
> FieldSet;
} // namespace lp