face: EthernetTransport
This commit replaces NDNLPv1 fragmentation and reassembly
with NDNLPv2 fragmentation and reassembly.
Change-Id: I10751157fcced94d441167ce470aaed79c12bb54
Refs: #3170
diff --git a/daemon/face/ethernet-factory.hpp b/daemon/face/ethernet-factory.hpp
index c14e093..c0a951d 100644
--- a/daemon/face/ethernet-factory.hpp
+++ b/daemon/face/ethernet-factory.hpp
@@ -31,7 +31,9 @@
namespace nfd {
-class EthernetFace;
+namespace face {
+class LpFaceWrapper;
+} // namespace face
class EthernetFactory : public ProtocolFactory
{
@@ -50,7 +52,7 @@
};
typedef std::map<std::pair<std::string, ethernet::Address>,
- shared_ptr<EthernetFace>> MulticastFaceMap;
+ shared_ptr<face::LpFaceWrapper>> MulticastFaceMap;
/**
* \brief Create an EthernetFace to communicate with the given multicast group
@@ -65,9 +67,9 @@
* \returns always a valid shared pointer to an EthernetFace object,
* an exception will be thrown if the creation fails
*
- * \throws EthernetFactory::Error or EthernetFace::Error
+ * \throws EthernetFactory::Error or EthernetTransport::Error
*/
- shared_ptr<EthernetFace>
+ shared_ptr<face::LpFaceWrapper>
createMulticastFace(const NetworkInterfaceInfo& interface,
const ethernet::Address& address);
@@ -94,7 +96,7 @@
* \returns shared pointer to the existing EthernetFace object
* or nullptr when such face does not exist
*/
- shared_ptr<EthernetFace>
+ shared_ptr<face::LpFaceWrapper>
findMulticastFace(const std::string& interfaceName,
const ethernet::Address& address) const;