NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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 Endpoint &localEndpoint)
 computes maximum payload size in a UDP packet More...
 
Endpoint getDefaultMulticastGroup ()
 
Endpoint getDefaultMulticastGroupV6 ()
 

Typedef Documentation

◆ Endpoint

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

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

Function Documentation

◆ computeMtu()

ssize_t nfd::udp::computeMtu ( const 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().

◆ getDefaultMulticastGroup()

Endpoint nfd::udp::getDefaultMulticastGroup ( )
inline
Returns
default IPv4 multicast group: 224.0.23.170:56363

Definition at line 44 of file udp-protocol.hpp.

◆ getDefaultMulticastGroupV6()

Endpoint nfd::udp::getDefaultMulticastGroupV6 ( )
inline
Returns
default IPv6 multicast group: [FF02::1234]:56363

Definition at line 52 of file udp-protocol.hpp.