Copyright (c) 2011-2015 Regents of the University of California. More...
Namespaces | |
command_interest | |
detail | |
dns | |
encoding | |
ethernet | |
io | |
ip | |
lp | |
mgmt | |
name | |
net | |
nfd | |
random | |
security | |
signed_interest | |
time | |
tlv | |
Namespace defining NDN-TLV related constants and procedures. | |
util | |
Classes | |
class | AsHex |
Helper class to convert a number to hexadecimal format, for use with stream insertion operators. More... | |
class | bad_optional_access |
class | Block |
Represents a TLV element of NDN packet format. More... | |
class | Buffer |
General-purpose automatically managed/resized buffer. More... | |
class | CanonizeProvider |
a CanonizeProvider provides FaceUri canonization functionality for a group of schemes More... | |
class | CanonizeProviderTableInitializer |
class | ConfigFile |
System configuration file for NDN platform. More... | |
class | ContainerWithOnEmptySignal |
A container that emits onEmpty signal when it becomes empty. More... | |
class | Data |
Represents a Data packet. More... | |
struct | Delegation |
represents a delegation More... | |
class | DelegationList |
represents a list of Delegations More... | |
class | DevCanonizeProvider |
class | DigestSha256 |
Represents a signature of DigestSha256 type. More... | |
class | EtherCanonizeProvider |
class | Exclude |
Represents Exclude selector in NDN Interest. More... | |
class | Face |
Provide a communication channel with local or remote NDN forwarder. More... | |
class | FaceUri |
represents the underlying protocol and address used by a Face More... | |
struct | in_place_t |
class | InMemoryStorage |
Represents in-memory storage. More... | |
class | InMemoryStorageEntry |
Represents an in-memory storage entry. More... | |
class | InMemoryStorageFifo |
Provides in-memory storage employing First-In-First-Out (FIFO) replacement policy. More... | |
class | InMemoryStorageLfu |
Provides an in-memory storage with Least Frequently Used (LFU) replacement policy. More... | |
class | InMemoryStorageLru |
Provides in-memory storage employing Least Recently Used (LRU) replacement policy. More... | |
class | InMemoryStoragePersistent |
Provides application cache with persistent storage, of which no replacement policy will be employed. More... | |
class | Interest |
represents an Interest packet More... | |
class | InterestFilter |
declares the set of Interests a producer can serve, which starts with a name prefix, plus an optional regular expression More... | |
class | InterestFilterRecord |
associates an InterestFilter with Interest callback More... | |
class | IpHostCanonizeProvider |
class | KeyLocator |
class | KeyParams |
Base class of key parameters. More... | |
class | Link |
represents a Link object More... | |
class | MatchInterestFilterId |
Functor to match InterestFilterId. More... | |
class | MatchPendingInterestId |
Functor to match PendingInterestId. More... | |
class | MatchRegisteredPrefixId |
Functor to match RegisteredPrefixId. More... | |
class | MetaInfo |
An MetaInfo holds the meta info which is signed inside the data packet. More... | |
class | Name |
Represents an absolute name. More... | |
class | NotificationStreamItem |
concept check for an item in a Notification Stream More... | |
class | nullopt_t |
class | OBufferStream |
implements an output stream that constructs ndn::Buffer More... | |
class | optional |
class | ostream_joiner |
class | PacketBase |
base class to allow simple management of packet tags More... | |
class | PendingInterest |
Stores a pending Interest and associated callbacks. More... | |
class | RegexBackrefManager |
class | RegexBackrefMatcher |
class | RegexComponentMatcher |
class | RegexComponentSetMatcher |
class | RegexMatcher |
class | RegexPatternListMatcher |
class | RegexPseudoMatcher |
class | RegexRepeatMatcher |
class | RegexTopMatcher |
class | RegisteredPrefix |
stores information about a prefix registered in NDN forwarder More... | |
class | Selectors |
Abstraction implementing Interest selectors. More... | |
class | Signature |
Holds SignatureInfo and SignatureValue in a Data packet. More... | |
class | SignatureInfo |
Represents a SignatureInfo TLV element. More... | |
class | SignatureSha256WithEcdsa |
Represents a signature of Sha256WithEcdsa type. More... | |
class | SignatureSha256WithRsa |
Represents a signature of Sha256WithRsa type. More... | |
class | SimplePublicKeyParams |
SimplePublicKeyParams is a template for public keys with only one parameter: size. More... | |
class | SimpleSymmetricKeyParams |
SimpleSymmetricKeyParams is a template for symmetric keys with only one parameter: size. More... | |
class | SimpleTag |
provides a tag type for simple types More... | |
class | StatusDatasetItem |
concept check for an item in a Status Dataset More... | |
class | StreamTransportImpl |
implementation detail of a Boost.Asio-based stream-oriented transport More... | |
class | StreamTransportWithResolverImpl |
implementation detail of a Boost.Asio-based stream-oriented transport with resolver support More... | |
class | StringHelperError |
class | Tag |
Base class for packet tags that can hold any arbitrary information. More... | |
class | TagHost |
Base class to store tag information (e.g., inside Interest and Data packets) More... | |
class | TcpCanonizeProvider |
class | TcpTransport |
a transport using TCP socket More... | |
class | Transport |
provides TLV-block delivery service More... | |
class | UdpCanonizeProvider |
class | UdpDevCanonizeProvider |
class | UnixTransport |
a transport using Unix stream socket More... | |
class | WireDecodable |
a concept check for TLV abstraction with .wireDecode method and constructible from Block More... | |
class | WireEncodable |
a concept check for TLV abstraction with .wireEncode method More... | |
class | WireEncodableWithEncodingBuffer |
a concept check for TLV abstraction with .wireEncode method More... | |
Typedefs | |
using | BufferPtr = shared_ptr< Buffer > |
using | ConstBufferPtr = shared_ptr< const Buffer > |
typedef function< void(const Interest &, const Data &)> | DataCallback |
Callback invoked when expressed Interest gets satisfied with a Data packet. More... | |
typedef function< void(const Interest &, const lp::Nack &)> | NackCallback |
Callback invoked when Nack is sent in response to expressed Interest. More... | |
typedef function< void(const Interest &)> | TimeoutCallback |
Callback invoked when expressed Interest times out. More... | |
typedef function< void(const InterestFilter &, const Interest &)> | InterestCallback |
Callback invoked when incoming Interest matches the specified InterestFilter. More... | |
typedef function< void(const Name &)> | RegisterPrefixSuccessCallback |
Callback invoked when registerPrefix or setInterestFilter command succeeds. More... | |
typedef function< void(const Name &, const std::string &)> | RegisterPrefixFailureCallback |
Callback invoked when registerPrefix or setInterestFilter command fails. More... | |
typedef function< void()> | UnregisterPrefixSuccessCallback |
Callback invoked when unregisterPrefix or unsetInterestFilter command succeeds. More... | |
typedef function< void(const std::string &)> | UnregisterPrefixFailureCallback |
Callback invoked when unregisterPrefix or unsetInterestFilter command fails. More... | |
using | PartialName = Name |
Represents an arbitrary sequence of name components. More... | |
using | CanonizeProviders = boost::mpl::vector< UdpCanonizeProvider *, TcpCanonizeProvider *, EtherCanonizeProvider *, DevCanonizeProvider *, UdpDevCanonizeProvider * > |
using | CanonizeProviderTable = std::map< std::string, shared_ptr< CanonizeProvider >> |
typedef SimplePublicKeyParams< detail::RsaKeyParamsInfo > | RsaKeyParams |
RsaKeyParams carries parameters for RSA key. More... | |
typedef SimplePublicKeyParams< detail::EcKeyParamsInfo > | EcKeyParams |
EcKeyParams carries parameters for EC key. More... | |
typedef SimpleSymmetricKeyParams< detail::AesKeyParamsInfo > | AesKeyParams |
AesKeyParams carries parameters for AES key. More... | |
typedef RegexTopMatcher | Regex |
Enumerations | |
enum | PendingInterestOrigin { PendingInterestOrigin::APP, PendingInterestOrigin::FORWARDER } |
Indicates where a pending Interest came from. More... | |
enum | KeyIdType { KeyIdType::USER_SPECIFIED = 0, KeyIdType::SHA256 = 1, KeyIdType::RANDOM = 2 } |
The type of KeyId component in a key name. More... | |
enum | KeyType { KeyType::NONE = 0, KeyType::RSA = 1, KeyType::EC = 2, KeyType::AES = 128 } |
The type of a cryptographic key. More... | |
enum | KeyClass { KeyClass::NONE, KeyClass::PUBLIC, KeyClass::PRIVATE, KeyClass::SYMMETRIC } |
enum | DigestAlgorithm { DigestAlgorithm::NONE = 0, DigestAlgorithm::SHA224 = 2, DigestAlgorithm::SHA256 = 1, DigestAlgorithm::SHA384 = 3, DigestAlgorithm::SHA512 = 4 } |
enum | BlockCipherAlgorithm { BlockCipherAlgorithm::NONE, BlockCipherAlgorithm::AES_CBC } |
enum | CipherOperator { CipherOperator::DECRYPT = 0, CipherOperator::ENCRYPT = 1 } |
enum | AclType { AclType::NONE, AclType::PUBLIC, AclType::PRIVATE } |
Functions | |
template size_t | Data::wireEncode< encoding::EncoderTag > (EncodingBuffer &, bool) const |
template size_t | Data::wireEncode< encoding::EstimatorTag > (EncodingEstimator &, bool) const |
bool | operator== (const Data &lhs, const Data &rhs) |
std::ostream & | operator<< (std::ostream &os, const Data &data) |
bool | operator!= (const Data &lhs, const Data &rhs) |
template size_t | DelegationList::wireEncode< encoding::EncoderTag > (EncodingBuffer &, uint32_t) const |
template size_t | DelegationList::wireEncode< encoding::EstimatorTag > (EncodingEstimator &, uint32_t) const |
bool | operator== (const DelegationList &lhs, const DelegationList &rhs) |
compare whether two DelegationLists are equal More... | |
std::ostream & | operator<< (std::ostream &os, const DelegationList &dl) |
bool | operator!= (const DelegationList &lhs, const DelegationList &rhs) |
bool | operator== (const Delegation &lhs, const Delegation &rhs) |
bool | operator< (const Delegation &lhs, const Delegation &rhs) |
bool | operator<= (const Delegation &lhs, const Delegation &rhs) |
std::ostream & | operator<< (std::ostream &os, const Delegation &del) |
bool | operator!= (const Delegation &lhs, const Delegation &rhs) |
bool | operator> (const Delegation &lhs, const Delegation &rhs) |
bool | operator>= (const Delegation &lhs, const Delegation &rhs) |
template<typename Field , typename Tag , typename Packet > | |
void | addFieldFromTag (lp::Packet &lpPacket, const Packet &packet) |
template<typename Tag , typename Field , typename Packet > | |
void | addTagFromField (Packet &packet, const lp::Packet &lpPacket) |
std::ostream & | operator<< (std::ostream &os, PendingInterestOrigin origin) |
bool | operator== (const Block &lhs, const Block &rhs) |
Compare whether two Blocks have same TLV-TYPE, TLV-LENGTH, and TLV-VALUE. More... | |
bool | operator!= (const Block &lhs, const Block &rhs) |
bool | operator== (const Exclude::ExcludeComponent &a, const Exclude::ExcludeComponent &b) |
bool | operator> (const Exclude::ExcludeComponent &a, const Exclude::ExcludeComponent &b) |
std::ostream & | operator<< (std::ostream &os, const Exclude::Range &range) |
NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (Exclude) | |
std::ostream & | operator<< (std::ostream &os, const Exclude &exclude) |
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (Exclude) | |
template<typename NetPkt > | |
static void | extractLpLocalFields (NetPkt &netPacket, const lp::Packet &lpPacket) |
extract local fields from NDNLPv2 packet and tag onto a network layer packet More... | |
std::ostream & | operator<< (std::ostream &os, const InterestFilter &filter) |
NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (Interest) | |
std::ostream & | operator<< (std::ostream &os, const Interest &interest) |
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (Interest) | |
bool | operator== (const Interest &lhs, const Interest &rhs) |
bool | operator!= (const Interest &lhs, const Interest &rhs) |
NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (KeyLocator) | |
std::ostream & | operator<< (std::ostream &os, const KeyLocator &keyLocator) |
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (KeyLocator) | |
NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (MetaInfo) | |
std::ostream & | operator<< (std::ostream &os, const MetaInfo &info) |
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (MetaInfo) | |
NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (Name) | |
std::ostream & | operator<< (std::ostream &os, const Name &name) |
Print URI representation of a name. More... | |
std::istream & | operator>> (std::istream &is, Name &name) |
Parse URI from stream as Name. More... | |
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (Name) | |
bool | operator== (const Name &lhs, const Name &rhs) |
bool | operator!= (const Name &lhs, const Name &rhs) |
bool | operator<= (const Name &lhs, const Name &rhs) |
bool | operator< (const Name &lhs, const Name &rhs) |
bool | operator>= (const Name &lhs, const Name &rhs) |
bool | operator> (const Name &lhs, const Name &rhs) |
std::ostream & | operator<< (std::ostream &os, const FaceUri &uri) |
static const CanonizeProvider * | getCanonizeProvider (const std::string &scheme) |
std::ostream & | operator<< (std::ostream &os, KeyIdType keyIdType) |
std::ostream & | operator<< (std::ostream &os, KeyType keyType) |
std::ostream & | operator<< (std::ostream &os, KeyClass keyClass) |
std::ostream & | operator<< (std::ostream &os, DigestAlgorithm algorithm) |
std::ostream & | operator<< (std::ostream &os, BlockCipherAlgorithm algorithm) |
std::ostream & | operator<< (std::ostream &os, CipherOperator op) |
std::ostream & | operator<< (std::ostream &os, AclType aclType) |
NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (Selectors) | |
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (Selectors) | |
NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (SignatureInfo) | |
bool | operator== (const SignatureInfo &lhs, const SignatureInfo &rhs) |
std::ostream & | operator<< (std::ostream &os, const SignatureInfo &info) |
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (SignatureInfo) | |
bool | operator!= (const SignatureInfo &lhs, const SignatureInfo &rhs) |
bool | operator== (const Signature &lhs, const Signature &rhs) |
bool | operator!= (const Signature &lhs, const Signature &rhs) |
template<typename T > | |
constexpr bool | operator== (const optional< T > &lhs, const optional< T > &rhs) |
template<typename T > | |
constexpr bool | operator!= (const optional< T > &lhs, const optional< T > &rhs) |
template<typename T > | |
constexpr bool | operator< (const optional< T > &lhs, const optional< T > &rhs) |
template<typename T > | |
constexpr bool | operator<= (const optional< T > &lhs, const optional< T > &rhs) |
template<typename T > | |
constexpr bool | operator> (const optional< T > &lhs, const optional< T > &rhs) |
template<typename T > | |
constexpr bool | operator>= (const optional< T > &lhs, const optional< T > &rhs) |
template<typename T > | |
constexpr optional< typename std::decay< T >::type > | make_optional (T &&value) |
template<typename T , typename... Args> | |
constexpr optional< T > | make_optional (Args &&...args) |
template<typename CharT , typename Traits , typename DelimT > | |
ostream_joiner< typename std::decay< DelimT >::type, CharT, Traits > | make_ostream_joiner (std::basic_ostream< CharT, Traits > &os, DelimT &&delimiter) |
template<typename T , typename... Args> | |
unique_ptr< T > | make_unique (Args &&...args) |
template<typename V > | |
std::string | to_string (const V &v) |
template<typename T , typename Compare > | |
constexpr const T & | clamp (const T &v, const T &lo, const T &hi, Compare comp) |
template<typename T > | |
constexpr const T & | clamp (const T &v, const T &lo, const T &hi) |
std::ostream & | operator<< (std::ostream &os, const RegexMatcher ®ex) |
std::ostream & | operator<< (std::ostream &os, const AsHex &hex) |
void | printHex (std::ostream &os, uint64_t num, bool wantUpperCase=false) |
Output the hex representation of num to the output stream os . More... | |
void | printHex (std::ostream &os, const uint8_t *buffer, size_t length, bool wantUpperCase=true) |
Output the hex representation of the bytes in buffer to the output stream os . More... | |
void | printHex (std::ostream &os, const Buffer &buffer, bool wantUpperCase=true) |
Output the hex representation of the bytes in buffer to the output stream os . More... | |
std::string | toHex (const uint8_t *buffer, size_t length, bool wantUpperCase=true) |
Return a string containing the hex representation of the bytes in buffer . More... | |
std::string | toHex (const Buffer &buffer, bool wantUpperCase=true) |
Return a string containing the hex representation of the bytes in buffer . More... | |
int | fromHexChar (char c) |
Convert the hex character to an integer from 0 to 15, or -1 if not a hex character. More... | |
shared_ptr< Buffer > | fromHex (const std::string &hexString) |
Convert the hex string to buffer. More... | |
std::string | unescape (const std::string &str) |
Decode a percent-encoded string. More... | |
Copyright (c) 2011-2015 Regents of the University of California.
Copyright (c) 2013-2014 Regents of the University of California.
Copyright (c) 2014-2016 Regents of the University of California, Arizona Board of Regents, Colorado State University, University Pierre & Marie Curie, Sorbonne University, Washington University in St.
Copyright (c) 2013-2017 Regents of the University of California, Arizona Board of Regents, Colorado State University, University Pierre & Marie Curie, Sorbonne University, Washington University in St.
Copyright (c) 2014-2017 Regents of the University of California, Arizona Board of Regents, Colorado State University, University Pierre & Marie Curie, Sorbonne University, Washington University in St.
Copyright (c) 2013-2015 Regents of the University of California.
Copyright (c) 2013-2016 Regents of the University of California.
Copyright (c) 2013-2017 Regents of the University of California.
Copyright (c) 2014-2017, Regents of the University of California, Arizona Board of Regents, Colorado State University, University Pierre & Marie Curie, Sorbonne University, Washington University in St.
This file is part of ndnSIM. See AUTHORS for complete list of ndnSIM authors and contributors.
ndnSIM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ndnSIM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with ndnSIM, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.
Louis, Beijing Institute of Technology, The University of Memphis.
This file is part of NFD (Named Data Networking Forwarding Daemon). See AUTHORS.md for complete list of NFD authors and contributors.
NFD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
NFD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with NFD, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.
This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
ndn-cxx library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received copies of the GNU General Public License and GNU Lesser General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.
See AUTHORS.md for complete list of ndn-cxx authors and contributors.
This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
ndn-cxx library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received copies of the GNU General Public License and GNU Lesser General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.
See AUTHORS.md for complete list of ndn-cxx authors and contributors.
This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
ndn-cxx library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received copies of the GNU General Public License and GNU Lesser General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.
See AUTHORS.md for complete list of ndn-cxx authors and contributors.
Louis, Beijing Institute of Technology, The University of Memphis.
This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
ndn-cxx library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received copies of the GNU General Public License and GNU Lesser General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.
See AUTHORS.md for complete list of ndn-cxx authors and contributors.
This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
ndn-cxx library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received copies of the GNU General Public License and GNU Lesser General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.
See AUTHORS.md for complete list of ndn-cxx authors and contributors.
This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
ndn-cxx library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received copies of the GNU General Public License and GNU Lesser General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.
See AUTHORS.md for complete list of ndn-cxx authors and contributors.
This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
ndn-cxx library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received copies of the GNU General Public License and GNU Lesser General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.
See AUTHORS.md for complete list of ndn-cxx authors and contributors.
This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
ndn-cxx library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received copies of the GNU General Public License and GNU Lesser General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.
See AUTHORS.md for complete list of ndn-cxx authors and contributors.
using ndn::BufferPtr = typedef shared_ptr<Buffer> |
Definition at line 88 of file buffer.hpp.
using ndn::ConstBufferPtr = typedef shared_ptr<const Buffer> |
Definition at line 89 of file buffer.hpp.
typedef function<void(const Interest&, const Data&)> ndn::DataCallback |
typedef function<void(const Interest&, const lp::Nack&)> ndn::NackCallback |
typedef function<void(const Interest&)> ndn::TimeoutCallback |
typedef function<void(const InterestFilter&, const Interest&)> ndn::InterestCallback |
Callback invoked when incoming Interest matches the specified InterestFilter.
typedef function<void(const Name&)> ndn::RegisterPrefixSuccessCallback |
typedef function<void(const Name&, const std::string&)> ndn::RegisterPrefixFailureCallback |
typedef function<void()> ndn::UnregisterPrefixSuccessCallback |
typedef function<void(const std::string&)> ndn::UnregisterPrefixFailureCallback |
using ndn::PartialName = typedef Name |
using ndn::CanonizeProviders = typedef boost::mpl::vector<UdpCanonizeProvider*, TcpCanonizeProvider*, EtherCanonizeProvider*, DevCanonizeProvider*, UdpDevCanonizeProvider*> |
Definition at line 590 of file face-uri.cpp.
using ndn::CanonizeProviderTable = typedef std::map<std::string, shared_ptr<CanonizeProvider>> |
Definition at line 591 of file face-uri.cpp.
RsaKeyParams carries parameters for RSA key.
Definition at line 203 of file key-params.hpp.
EcKeyParams carries parameters for EC key.
Definition at line 206 of file key-params.hpp.
AesKeyParams carries parameters for AES key.
Definition at line 288 of file key-params.hpp.
typedef RegexTopMatcher ndn::Regex |
|
strong |
Indicates where a pending Interest came from.
Enumerator | |
---|---|
APP |
Interest was received from this app via Face::expressInterest API. |
FORWARDER |
Definition at line 35 of file pending-interest.hpp.
|
strong |
The type of KeyId component in a key name.
Definition at line 58 of file security-common.hpp.
|
strong |
The type of a cryptographic key.
Definition at line 85 of file security-common.hpp.
|
strong |
Enumerator | |
---|---|
NONE | |
PUBLIC | |
PRIVATE | |
SYMMETRIC |
Definition at line 95 of file security-common.hpp.
|
strong |
Enumerator | |
---|---|
NONE | |
SHA224 | |
SHA256 | |
SHA384 | |
SHA512 |
Definition at line 105 of file security-common.hpp.
|
strong |
Enumerator | |
---|---|
NONE | |
AES_CBC |
Definition at line 116 of file security-common.hpp.
|
strong |
Enumerator | |
---|---|
DECRYPT | |
ENCRYPT |
Definition at line 124 of file security-common.hpp.
|
strong |
Enumerator | |
---|---|
NONE | |
PUBLIC | |
PRIVATE |
Definition at line 132 of file security-common.hpp.
template size_t ndn::Data::wireEncode< encoding::EncoderTag > | ( | EncodingBuffer & | , |
bool | |||
) | const |
template size_t ndn::Data::wireEncode< encoding::EstimatorTag > | ( | EncodingEstimator & | , |
bool | |||
) | const |
Definition at line 265 of file data.cpp.
References ndn::Data::getContent(), ndn::Data::getMetaInfo(), ndn::Data::getName(), and ndn::Data::getSignature().
Referenced by ndn::bad_optional_access::bad_optional_access(), ndn::Data::getFinalBlockId(), and operator==().
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
const Data & | data | ||
) |
Definition at line 274 of file data.cpp.
References ndn::Data::getContent(), ndn::Data::getMetaInfo(), ndn::Data::getName(), ndn::Data::getSignature(), ndn::Signature::getType(), ndn::Signature::getValue(), and ndn::Block::value_size().
Referenced by ndn::AsHex::AsHex(), ndn::MetaInfo::Error::Error(), ndn::Data::getFinalBlockId(), ndn::InterestFilter::getRegexFilter(), ndn::KeyLocator::operator!=(), operator!=(), operator>(), operator>=(), and ndn::Interest::setMustBeFresh().
Definition at line 259 of file data.hpp.
Referenced by ndn::bad_optional_access::bad_optional_access(), and operator!=().
template size_t ndn::DelegationList::wireEncode< encoding::EncoderTag > | ( | EncodingBuffer & | , |
uint32_t | |||
) | const |
template size_t ndn::DelegationList::wireEncode< encoding::EstimatorTag > | ( | EncodingEstimator & | , |
uint32_t | |||
) | const |
bool ndn::operator== | ( | const DelegationList & | lhs, |
const DelegationList & | rhs | ||
) |
compare whether two DelegationLists are equal
Definition at line 235 of file delegation-list.cpp.
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
const DelegationList & | dl | ||
) |
Definition at line 241 of file delegation-list.cpp.
References ndn::DelegationList::begin(), ndn::DelegationList::end(), and make_ostream_joiner().
|
inline |
Definition at line 251 of file delegation-list.hpp.
References operator<<().
bool ndn::operator== | ( | const Delegation & | lhs, |
const Delegation & | rhs | ||
) |
Definition at line 29 of file delegation.cpp.
References ndn::Delegation::name, and ndn::Delegation::preference.
bool ndn::operator< | ( | const Delegation & | lhs, |
const Delegation & | rhs | ||
) |
Definition at line 36 of file delegation.cpp.
References ndn::Delegation::name, and ndn::Delegation::preference.
Referenced by operator!=(), and operator<().
bool ndn::operator<= | ( | const Delegation & | lhs, |
const Delegation & | rhs | ||
) |
Definition at line 43 of file delegation.cpp.
References ndn::Delegation::name, and ndn::Delegation::preference.
Referenced by operator!=(), and operator<=().
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
const Delegation & | del | ||
) |
Definition at line 50 of file delegation.cpp.
References ndn::Delegation::name, and ndn::Delegation::preference.
|
inline |
Definition at line 42 of file delegation.hpp.
References operator<(), and operator<=().
|
inline |
Definition at line 54 of file delegation.hpp.
Referenced by ndn::bad_optional_access::bad_optional_access(), and operator>().
|
inline |
Definition at line 60 of file delegation.hpp.
References operator<<().
Referenced by ndn::bad_optional_access::bad_optional_access(), and operator>=().
void ndn::addFieldFromTag | ( | lp::Packet & | lpPacket, |
const Packet & | packet | ||
) |
Definition at line 32 of file lp-field-tag.hpp.
References ndn::lp::Packet::add().
void ndn::addTagFromField | ( | Packet & | packet, |
const lp::Packet & | lpPacket | ||
) |
Definition at line 42 of file lp-field-tag.hpp.
References ndn::lp::Packet::get(), and ndn::lp::Packet::has().
std::ostream& ndn::operator<< | ( | std::ostream & | os, |
PendingInterestOrigin | origin | ||
) |
Definition at line 42 of file pending-interest.hpp.
Compare whether two Blocks have same TLV-TYPE, TLV-LENGTH, and TLV-VALUE.
Definition at line 503 of file block.cpp.
References ndn::Block::type(), ndn::Block::value(), and ndn::Block::value_size().
bool ndn::operator== | ( | const Exclude::ExcludeComponent & | a, |
const Exclude::ExcludeComponent & | b | ||
) |
Definition at line 45 of file exclude.cpp.
References ndn::Exclude::ExcludeComponent::component, and ndn::Exclude::ExcludeComponent::isNegInf.
bool ndn::operator> | ( | const Exclude::ExcludeComponent & | a, |
const Exclude::ExcludeComponent & | b | ||
) |
Definition at line 52 of file exclude.cpp.
References ndn::Exclude::ExcludeComponent::component, and ndn::Exclude::ExcludeComponent::isNegInf.
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
const Exclude::Range & | range | ||
) |
Definition at line 81 of file exclude.cpp.
References ndn::Exclude::Range::from, ndn::Exclude::Range::fromInfinity, ndn::Exclude::Range::isSingular(), ndn::Exclude::Range::to, and ndn::Exclude::Range::toInfinity.
ndn::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | Exclude | ) |
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
const Exclude & | exclude | ||
) |
Definition at line 329 of file exclude.cpp.
References make_ostream_joiner().
ndn::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | Exclude | ) |
|
static |
extract local fields from NDNLPv2 packet and tag onto a network layer packet
Definition at line 307 of file face.cpp.
References ndn::tlv::Data, ndn::lp::Packet::get(), ndn::lp::Packet::has(), ndn::tlv::Interest, and NDN_LOG_DEBUG.
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
const InterestFilter & | filter | ||
) |
Definition at line 66 of file interest-filter.cpp.
References ndn::InterestFilter::getPrefix(), ndn::InterestFilter::getRegexFilter(), and ndn::InterestFilter::hasRegexFilter().
ndn::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | Interest | ) |
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
const Interest & | interest | ||
) |
Definition at line 353 of file interest.cpp.
References DEFAULT_CHILD_SELECTOR, DEFAULT_INTEREST_LIFETIME, ndn::Exclude::empty(), ndn::Interest::getChildSelector(), ndn::Interest::getExclude(), ndn::Interest::getInterestLifetime(), ndn::Interest::getMaxSuffixComponents(), ndn::Interest::getMinSuffixComponents(), ndn::Interest::getMustBeFresh(), ndn::Interest::getName(), ndn::Interest::getNonce(), and ndn::Interest::hasNonce().
ndn::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | Interest | ) |
Definition at line 347 of file interest.hpp.
References ndn::Interest::wireEncode().
Definition at line 353 of file interest.hpp.
ndn::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | KeyLocator | ) |
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
const KeyLocator & | keyLocator | ||
) |
Definition at line 190 of file key-locator.cpp.
References ndn::KeyLocator::getKeyDigest(), ndn::KeyLocator::getName(), ndn::KeyLocator::getType(), ndn::KeyLocator::KeyLocator_KeyDigest, ndn::KeyLocator::KeyLocator_Name, ndn::KeyLocator::KeyLocator_None, ndn::KeyLocator::KeyLocator_Unknown, toHex(), ndn::Block::value(), and ndn::Block::value_size().
ndn::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | KeyLocator | ) |
ndn::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | MetaInfo | ) |
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
const MetaInfo & | info | ||
) |
Definition at line 240 of file meta-info.cpp.
References ndn::name::Component::empty(), ndn::MetaInfo::getAppMetaInfo(), ndn::MetaInfo::getFinalBlockId(), ndn::MetaInfo::getFreshnessPeriod(), ndn::MetaInfo::getType(), and ndn::name::Component::toUri().
ndn::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | MetaInfo | ) |
ndn::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | Name | ) |
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
const Name & | name | ||
) |
Print URI representation of a name.
Definition at line 309 of file name.cpp.
References ndn::Name::empty().
std::istream & ndn::operator>> | ( | std::istream & | is, |
Name & | name | ||
) |
Parse URI from stream as Name.
Definition at line 324 of file name.cpp.
References ndn::Name::Name().
Referenced by operator>().
ndn::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | Name | ) |
Definition at line 546 of file name.hpp.
References ndn::Name::equals().
Definition at line 552 of file name.hpp.
References ndn::Name::equals().
Definition at line 558 of file name.hpp.
References ndn::Name::compare().
Definition at line 564 of file name.hpp.
References ndn::Name::compare().
Definition at line 570 of file name.hpp.
References ndn::Name::compare().
Definition at line 576 of file name.hpp.
References ndn::Name::compare(), operator<<(), and operator>>().
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
const FaceUri & | uri | ||
) |
Definition at line 214 of file face-uri.cpp.
|
static |
Definition at line 621 of file face-uri.cpp.
Referenced by ndn::FaceUri::canCanonize(), ndn::FaceUri::canonize(), and ndn::FaceUri::isCanonical().
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
KeyIdType | keyIdType | ||
) |
Definition at line 29 of file security-common.cpp.
References RANDOM, SHA256, and USER_SPECIFIED.
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
KeyType | keyType | ||
) |
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
KeyClass | keyClass | ||
) |
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
DigestAlgorithm | algorithm | ||
) |
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
BlockCipherAlgorithm | algorithm | ||
) |
Definition at line 93 of file security-common.cpp.
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
CipherOperator | op | ||
) |
Definition at line 105 of file security-common.cpp.
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
AclType | aclType | ||
) |
Definition at line 117 of file security-common.cpp.
ndn::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | Selectors | ) |
ndn::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | Selectors | ) |
ndn::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | SignatureInfo | ) |
bool ndn::operator== | ( | const SignatureInfo & | lhs, |
const SignatureInfo & | rhs | ||
) |
Definition at line 220 of file signature-info.cpp.
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
const SignatureInfo & | info | ||
) |
Definition at line 229 of file signature-info.cpp.
References ndn::SignatureInfo::getKeyLocator(), ndn::SignatureInfo::getSignatureType(), and ndn::SignatureInfo::hasKeyLocator().
ndn::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | SignatureInfo | ) |
|
inline |
Definition at line 171 of file signature-info.hpp.
References ndn::SignatureInfo::operator<<.
Definition at line 68 of file signature.cpp.
References ndn::Signature::getSignatureInfo(), and ndn::Signature::getValue().
Definition at line 162 of file signature.hpp.
constexpr bool ndn::operator== | ( | const optional< T > & | lhs, |
const optional< T > & | rhs | ||
) |
Definition at line 292 of file backports-optional.hpp.
References operator==().
constexpr bool ndn::operator!= | ( | const optional< T > & | lhs, |
const optional< T > & | rhs | ||
) |
Definition at line 299 of file backports-optional.hpp.
References operator!=().
constexpr bool ndn::operator< | ( | const optional< T > & | lhs, |
const optional< T > & | rhs | ||
) |
Definition at line 306 of file backports-optional.hpp.
References operator<().
constexpr bool ndn::operator<= | ( | const optional< T > & | lhs, |
const optional< T > & | rhs | ||
) |
Definition at line 313 of file backports-optional.hpp.
References operator<=().
constexpr bool ndn::operator> | ( | const optional< T > & | lhs, |
const optional< T > & | rhs | ||
) |
Definition at line 320 of file backports-optional.hpp.
References operator>().
constexpr bool ndn::operator>= | ( | const optional< T > & | lhs, |
const optional< T > & | rhs | ||
) |
Definition at line 327 of file backports-optional.hpp.
References operator>=().
constexpr optional<typename std::decay<T>::type> ndn::make_optional | ( | T && | value | ) |
Definition at line 334 of file backports-optional.hpp.
constexpr optional<T> ndn::make_optional | ( | Args &&... | args | ) |
Definition at line 341 of file backports-optional.hpp.
References in_place.
|
inline |
Definition at line 117 of file backports-ostream-joiner.hpp.
Referenced by ndn::nfd::operator<<(), and operator<<().
|
inline |
Definition at line 73 of file backports.hpp.
References to_string().
|
inline |
Definition at line 84 of file backports.hpp.
References clamp().
Referenced by nfd::fw::AccessStrategy::AccessStrategy(), nfd::fw::asf::AsfStrategy::AsfStrategy(), nfd::fw::BestRouteStrategy::BestRouteStrategy(), nfd::fw::BestRouteStrategy2::BestRouteStrategy2(), ndn::security::transform::BlockCipher::BlockCipher(), ndn::security::v2::validator_config::Rule::check(), nfd::ethernet::checkFrameHeader(), nfd::fw::ClientControlStrategy::ClientControlStrategy(), nfd::rib::FibUpdater::computeAndSendFibUpdates(), ndn::lp::DecodeHelper< TlvType, std::pair< Buffer::const_iterator, Buffer::const_iterator > >::decode(), ndn::lp::FieldDecl< LOCATION, VALUE, TYPE, REPEATABLE >::decode(), ndn::security::transform::PrivateKey::decrypt(), ndn::DigestSha256::DigestSha256(), nfd::face::EthernetTransport::doClose(), ndn::security::transform::PublicKey::encrypt(), ndn::FaceUri::FaceUri(), ndn::FaceUri::fromFd(), ndn::name::Component::fromImplicitSha256Digest(), ndn::FaceUri::fromUdpDev(), ndn::random::generateSecureBytes(), ndn::Block::get(), ndn::SignatureInfo::getTypeSpecificTlv(), nfd::face::EthernetChannel::listen(), ndn::net::NetworkMonitorImplRtnl::listNetworkInterfaces(), make_unique(), ndn::security::v2::validator_config::Rule::match(), nfd::fw::MulticastStrategy::MulticastStrategy(), nfd::fw::NccStrategy::NccStrategy(), nfd::rib::RibManager::onRibUpdateFailure(), nfd::strategy_choice::operator<<(), nfd::ConfigFile::parse(), ndn::Block::parse(), ndn::encoding::readNonNegativeIntegerAs(), nfd::CommandAuthenticator::setConfigFile(), ndn::Signature::setValue(), ndn::SignatureSha256WithEcdsa::SignatureSha256WithEcdsa(), ndn::SignatureSha256WithRsa::SignatureSha256WithRsa(), ndn::security::v2::Validator::validate(), ndn::lp::Packet::wireDecode(), ndn::mgmt::ControlResponse::wireDecode(), ndn::nfd::NextHopRecord::wireDecode(), ndn::DelegationList::wireDecode(), ndn::SignatureInfo::wireDecode(), ndn::nfd::Route::wireDecode(), ndn::nfd::FibEntry::wireDecode(), ndn::nfd::RibEntry::wireDecode(), and ndn::DelegationList::wireEncode().
constexpr const T& ndn::clamp | ( | const T & | v, |
const T & | lo, | ||
const T & | hi, | ||
Compare | comp | ||
) |
Definition at line 95 of file backports.hpp.
constexpr const T& ndn::clamp | ( | const T & | v, |
const T & | lo, | ||
const T & | hi | ||
) |
Definition at line 102 of file backports.hpp.
Referenced by to_string().
|
inline |
Definition at line 104 of file regex-matcher.hpp.
References ndn::RegexMatcher::getExpr().
std::ostream & ndn::operator<< | ( | std::ostream & | os, |
const AsHex & | hex | ||
) |
Definition at line 35 of file string-helper.cpp.
References printHex().
void ndn::printHex | ( | std::ostream & | os, |
uint64_t | num, | ||
bool | wantUpperCase = false |
||
) |
Output the hex representation of num
to the output stream os
.
os | Output stream |
num | Number to print in hexadecimal format |
wantUpperCase | if true, print uppercase hex chars; the default is to use lowercase |
The output string is a continuous sequence of hex characters without any whitespace separators.
Definition at line 42 of file string-helper.cpp.
Referenced by ndn::AsHex::AsHex(), operator<<(), ndn::util::operator<<(), printHex(), toHex(), and ndn::name::Component::toUri().
void ndn::printHex | ( | std::ostream & | os, |
const uint8_t * | buffer, | ||
size_t | length, | ||
bool | wantUpperCase = true |
||
) |
Output the hex representation of the bytes in buffer
to the output stream os
.
os | Output stream |
buffer | Pointer to an array of bytes |
length | Size of the array |
wantUpperCase | if true (the default) print uppercase hex chars |
Examples:
Each octet is always represented as two hex characters ("00" for octet==0).
The output string is a continuous sequence of hex characters without any whitespace separators.
Definition at line 53 of file string-helper.cpp.
References ndn::security::transform::hexEncode(), and ndn::security::transform::streamSink().
void ndn::printHex | ( | std::ostream & | os, |
const Buffer & | buffer, | ||
bool | wantUpperCase = true |
||
) |
Output the hex representation of the bytes in buffer
to the output stream os
.
os | Output stream |
buffer | Buffer of bytes to print in hexadecimal format |
wantUpperCase | if true (the default) print uppercase hex chars |
Definition at line 61 of file string-helper.cpp.
References printHex().
std::string ndn::toHex | ( | const uint8_t * | buffer, |
size_t | length, | ||
bool | wantUpperCase = true |
||
) |
Return a string containing the hex representation of the bytes in buffer
.
buffer | Pointer to an array of bytes |
length | Size of the array |
wantUpperCase | if true (the default) use uppercase hex chars |
Examples:
Each octet is always represented as two hex characters ("00" for octet==0).
The output string is a continuous sequence of hex characters without any whitespace separators.
Definition at line 67 of file string-helper.cpp.
References printHex().
Referenced by ndn::AsHex::AsHex(), operator<<(), toHex(), and ndn::util::Sha256::toString().
std::string ndn::toHex | ( | const Buffer & | buffer, |
bool | wantUpperCase = true |
||
) |
Return a string containing the hex representation of the bytes in buffer
.
buffer | Buffer of bytes to convert to hexadecimal format |
wantUpperCase | if true (the default) use uppercase hex chars |
Definition at line 75 of file string-helper.cpp.
References toHex().
int ndn::fromHexChar | ( | char | c | ) |
Convert the hex character to an integer from 0 to 15, or -1 if not a hex character.
Definition at line 81 of file string-helper.cpp.
Referenced by ndn::AsHex::AsHex(), and unescape().
shared_ptr< Buffer > ndn::fromHex | ( | const std::string & | hexString | ) |
Convert the hex string to buffer.
hexString | sequence of pairs of hex numbers (lower and upper case can be mixed) without any whitespace separators (e.g., "48656C6C6F2C20776F726C6421") |
StringHelperError | if input is invalid |
Definition at line 94 of file string-helper.cpp.
References ndn::OBufferStream::buf(), ndn::security::transform::hexDecode(), and ndn::security::transform::streamSink().
Referenced by ndn::AsHex::AsHex(), and ndn::name::Component::fromEscapedString().
std::string ndn::unescape | ( | const std::string & | str | ) |
Decode a percent-encoded string.
When % is not followed by two hex characters, the output is not transformed.
Examples:
Definition at line 110 of file string-helper.cpp.
References fromHexChar().
Referenced by ndn::AsHex::AsHex(), ndn::name::Component::fromEscapedString(), and ndn::IpHostCanonizeProvider< boost::asio::ip::tcp >::IpHostCanonizeProvider().
Definition at line 27 of file delegation-list.cpp.
Definition at line 28 of file delegation-list.cpp.
const size_t ndn::MAX_SIZE_OF_BLOCK_FROM_STREAM = MAX_NDN_PACKET_SIZE |
const size_t ndn::MAX_NDN_PACKET_SIZE = 8800 |
practical limit of network layer packet size
If a packet is longer than this size, library and application MAY drop it.
Definition at line 39 of file tlv.hpp.
Referenced by ndn::mgmt::StatusDatasetContext::append(), ndn::StreamTransportImpl< BaseTransport, Protocol >::asyncReceive(), ndn::StreamTransportImpl< BaseTransport, Protocol >::handleAsyncReceive(), nfd::face::StreamTransport< Protocol >::handleReceive(), face::Face::Impl::onEmptyPitOrNoRegisteredPrefixes(), nfd::face::LpReliability::piggyback(), and nfd::face::StreamTransport< Protocol >::startReceive().
Definition at line 107 of file exclude.cpp.
Definition at line 108 of file exclude.cpp.
Definition at line 109 of file exclude.cpp.
Definition at line 32 of file interest.cpp.
Definition at line 33 of file interest.cpp.
Definition at line 34 of file interest.cpp.
const unspecified_duration_type ndn::DEFAULT_INTEREST_LIFETIME = time::milliseconds(4000) |
default value for InterestLifetime
Definition at line 38 of file interest.hpp.
Referenced by operator<<(), nfd::pit::FaceRecord::update(), ndn::Interest::wireDecode(), and ndn::Interest::wireEncode().
Definition at line 29 of file key-locator.cpp.
Definition at line 30 of file key-locator.cpp.
Definition at line 31 of file key-locator.cpp.
Definition at line 29 of file meta-info.cpp.
Definition at line 30 of file meta-info.cpp.
Definition at line 31 of file meta-info.cpp.
const time::milliseconds ndn::DEFAULT_FRESHNESS_PERIOD = time::milliseconds::zero() |
Definition at line 34 of file meta-info.hpp.
Referenced by ndn::MetaInfo::wireDecode(), and ndn::MetaInfo::wireEncode().
|
static |
Definition at line 26 of file key-params.cpp.
|
static |
Definition at line 27 of file key-params.cpp.
Referenced by ndn::detail::RsaKeyParamsInfo::getDefaultSize().
|
static |
Definition at line 28 of file key-params.cpp.
Referenced by ndn::detail::EcKeyParamsInfo::checkKeySize().
|
static |
Definition at line 29 of file key-params.cpp.
Referenced by ndn::detail::AesKeyParamsInfo::checkKeySize().
Definition at line 29 of file selectors.cpp.
Definition at line 30 of file selectors.cpp.
Definition at line 31 of file selectors.cpp.
const int ndn::DEFAULT_CHILD_SELECTOR = 0 |
Definition at line 31 of file selectors.hpp.
Referenced by ndn::Selectors::empty(), operator<<(), ndn::Selectors::wireDecode(), and ndn::Selectors::wireEncode().
Definition at line 29 of file signature-info.cpp.
Definition at line 30 of file signature-info.cpp.
Definition at line 31 of file signature-info.cpp.
constexpr in_place_t ndn::in_place {} |
Definition at line 98 of file backports-optional.hpp.
Referenced by make_optional().
constexpr nullopt_t ndn::nullopt {0} |
Definition at line 108 of file backports-optional.hpp.
Referenced by ndn::DelegationList::erase(), nfd::getSignerFromTag(), nfd::face::getV4Address(), nfd::rib::ClientToNlsrReadvertisePolicy::handleNewRoute(), ndn::DelegationList::insert(), ndn::io::loadBlock(), nfd::rib::RibManager::onRibUpdateFailure(), nfd::fw::Strategy::parseInstanceName(), ndn::PendingInterest::recordNack(), ndn::ip::scopeNameFromId(), ndn::nfd::FaceStatus::unsetExpirationPeriod(), ndn::nfd::Route::unsetExpirationPeriod(), ndn::nfd::FaceQueryFilter::unsetFaceId(), ndn::nfd::FaceQueryFilter::unsetFacePersistency(), ndn::nfd::FaceQueryFilter::unsetFaceScope(), ndn::nfd::FaceQueryFilter::unsetLinkType(), ndn::nfd::FaceStatus::wireDecode(), ndn::nfd::FaceQueryFilter::wireDecode(), and ndn::nfd::Route::wireDecode().
|
static |
Definition at line 85 of file regex-component-matcher.hpp.
Referenced by ndn::RegexComponentMatcher::compile(), and ndn::RegexComponentMatcher::match().