mgmt: support LpReliability flag in faces/create and faces/update
refs #4003
Change-Id: Iddf94ea55c630b038187c2503783591b118230ec
diff --git a/daemon/face/ethernet-channel.hpp b/daemon/face/ethernet-channel.hpp
index 8ad2432..5847af5 100644
--- a/daemon/face/ethernet-channel.hpp
+++ b/daemon/face/ethernet-channel.hpp
@@ -79,12 +79,14 @@
*
* \param remoteEndpoint The remote Ethernet endpoint
* \param persistency Persistency of the newly created face
+ * \param wantLpReliability whether LpReliability should be enabled
* \param onFaceCreated Callback to notify successful creation of the face
* \param onConnectFailed Callback to notify errors
*/
void
connect(const ethernet::Address& remoteEndpoint,
ndn::nfd::FacePersistency persistency,
+ bool wantLpReliability,
const FaceCreatedCallback& onFaceCreated,
const FaceCreationFailedCallback& onConnectFailed);
@@ -122,7 +124,8 @@
std::pair<bool, shared_ptr<Face>>
createFace(const ethernet::Address& remoteEndpoint,
- ndn::nfd::FacePersistency persistency);
+ ndn::nfd::FacePersistency persistency,
+ bool wantLpReliability);
void
updateFilter();