lp: add Ack field
refs #3931
Change-Id: I8c2803bfc2f4f5fb7ff5b1d4835cc97b3b4e01e1
diff --git a/src/lp/fields.hpp b/src/lp/fields.hpp
index 7d898d0..3d0b0c2 100644
--- a/src/lp/fields.hpp
+++ b/src/lp/fields.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2013-2016 Regents of the University of California.
+ * Copyright (c) 2013-2017 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -73,6 +73,12 @@
tlv::CongestionMark> CongestionMarkField;
BOOST_CONCEPT_ASSERT((Field<CongestionMarkField>));
+typedef detail::FieldDecl<field_location_tags::Header,
+ Sequence,
+ tlv::Ack,
+ true> AckField;
+BOOST_CONCEPT_ASSERT((Field<AckField>));
+
/**
* 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.
@@ -94,7 +100,8 @@
NextHopFaceIdField,
CachePolicyField,
IncomingFaceIdField,
- CongestionMarkField
+ CongestionMarkField,
+ AckField
> FieldSet;
} // namespace lp