NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
udp-protocol.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_DAEMON_FACE_UDP_PROTOCOL_HPP
27
#define NFD_DAEMON_FACE_UDP_PROTOCOL_HPP
28
29
#include "
core/common.hpp
"
30
31
namespace
nfd
{
32
namespace
udp {
33
34
typedef
boost::asio::ip::udp::endpoint
Endpoint
;
35
38
ssize_t
39
computeMtu
(
const
Endpoint& localEndpoint);
40
43
inline
Endpoint
44
getDefaultMulticastGroup
()
45
{
46
// 224.0.23.170:56363
47
return
{boost::asio::ip::address_v4(0xE00017AA), 56363};
48
}
49
50
}
// namespace udp
51
}
// namespace nfd
52
53
#endif // NFD_DAEMON_FACE_UDP_PROTOCOL_HPP
common.hpp
nfd::udp::computeMtu
ssize_t computeMtu(const Endpoint &localEndpoint)
computes maximum payload size in a UDP packet
Definition:
udp-protocol.cpp:32
nfd::udp::getDefaultMulticastGroup
Endpoint getDefaultMulticastGroup()
Definition:
udp-protocol.hpp:44
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::udp::Endpoint
boost::asio::ip::udp::endpoint Endpoint
Definition:
udp-protocol.hpp:34
ndnSIM
NFD
daemon
face
udp-protocol.hpp
Generated on Thu Nov 2 2017 03:30:29 for ndnSIM by
1.8.11