face.cpp File Reference
#include "face.hpp"
#include "detail/face-impl.hpp"
#include "encoding/tlv.hpp"
#include "net/face-uri.hpp"
#include "security/signing-helpers.hpp"
#include "util/random.hpp"
#include "util/time.hpp"
+ Include dependency graph for face.cpp:

Go to the source code of this file.

Namespaces

 ndn
 Copyright (c) 2013-2017 Regents of the University of California.
 

Macros

#define IO_CAPTURE_WEAK_IMPL(OP)
 
#define IO_CAPTURE_WEAK_IMPL_END
 

Functions

template<typename NetPkt >
static void ndn::extractLpLocalFields (NetPkt &netPacket, const lp::Packet &lpPacket)
 extract local fields from NDNLPv2 packet and tag onto a network layer packet More...
 

Macro Definition Documentation

#define IO_CAPTURE_WEAK_IMPL (   OP)
Value:
{ \
weak_ptr<Impl> implWeak(m_impl); \
m_ioService.OP([=] { \
auto impl = implWeak.lock(); \
if (impl != nullptr) {

Definition at line 36 of file face.cpp.

#define IO_CAPTURE_WEAK_IMPL_END
Value:
} \
}); \
}

Definition at line 42 of file face.cpp.