lp: add TxSequence field
refs #3931
Change-Id: Ie388ec48494b8ac506b31dc42de8777a8cd28989
diff --git a/src/lp/fields.hpp b/src/lp/fields.hpp
index 3d0b0c2..caa2337 100644
--- a/src/lp/fields.hpp
+++ b/src/lp/fields.hpp
@@ -79,6 +79,11 @@
true> AckField;
BOOST_CONCEPT_ASSERT((Field<AckField>));
+typedef detail::FieldDecl<field_location_tags::Header,
+ Sequence,
+ tlv::TxSequence> TxSequenceField;
+BOOST_CONCEPT_ASSERT((Field<TxSequenceField>));
+
/**
* The value of the wire encoded field is the data between the provided iterators. During
* encoding, the data is copied from the Buffer into the wire buffer.
@@ -101,7 +106,8 @@
CachePolicyField,
IncomingFaceIdField,
CongestionMarkField,
- AckField
+ AckField,
+ TxSequenceField
> FieldSet;
} // namespace lp
diff --git a/src/lp/tlv.hpp b/src/lp/tlv.hpp
index 4ef0c9b..0fd782e 100644
--- a/src/lp/tlv.hpp
+++ b/src/lp/tlv.hpp
@@ -42,7 +42,8 @@
CachePolicyType = 821,
IncomingFaceId = 817,
CongestionMark = 832,
- Ack = 836
+ Ack = 836,
+ TxSequence = 840
};
enum {