NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
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 "common.hpp"
30 
31 namespace nfd {
32 namespace udp {
33 
36 ssize_t
37 computeMtu(const boost::asio::ip::udp::endpoint& localEndpoint);
38 
39 } // namespace udp
40 } // namespace nfd
41 
42 #endif // NFD_DAEMON_FACE_UDP_PROTOCOL_HPP
Copyright (c) 2011-2015 Regents of the University of California.
Definition: ndn-common.hpp:40
ssize_t computeMtu(const boost::asio::ip::udp::endpoint &localEndpoint)
computes maximum payload size in a UDP packet