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 
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) 2014-2015, Regents of the University of California, Arizona Board of Regents...
Definition: algorithm.hpp:32
ssize_t computeMtu(const boost::asio::ip::udp::endpoint &localEndpoint)
computes maximum payload size in a UDP packet