NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::udp Namespace Reference

Typedefs

typedef boost::asio::ip::udp::endpoint Endpoint
 

Functions

ssize_t computeMtu (const boost::asio::ip::udp::endpoint &localEndpoint)
 computes maximum payload size in a UDP packet More...
 

Typedef Documentation

◆ Endpoint

typedef boost::asio::ip::udp::endpoint nfd::udp::Endpoint

Definition at line 34 of file udp-channel.hpp.

Function Documentation

◆ computeMtu()

ssize_t nfd::udp::computeMtu ( const boost::asio::ip::udp::endpoint &  localEndpoint)

computes maximum payload size in a UDP packet

Definition at line 32 of file udp-protocol.cpp.

Referenced by nfd::face::MulticastUdpTransport::MulticastUdpTransport(), and nfd::face::UnicastUdpTransport::UnicastUdpTransport().