nfd::udp Namespace Reference

Typedefs

using Endpoint = boost::asio::ip::udp::endpoint
 

Functions

ssize_t computeMtu (const Endpoint &localEndpoint)
 Computes the maximum payload size in a UDP packet. More...
 
Endpoint getDefaultMulticastGroup ()
 Returns the default IPv4 multicast group: 224.0.23.170:56363 More...
 
Endpoint getDefaultMulticastGroupV6 ()
 Returns the default IPv6 multicast group: [FF02::1234]:56363 More...
 

Typedef Documentation

◆ Endpoint

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

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

Function Documentation

◆ computeMtu()

ssize_t nfd::udp::computeMtu ( const Endpoint localEndpoint)

Computes the maximum payload size in a UDP packet.

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

◆ getDefaultMulticastGroup()

Endpoint nfd::udp::getDefaultMulticastGroup ( )
inline

Returns the default IPv4 multicast group: 224.0.23.170:56363

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

◆ getDefaultMulticastGroupV6()

Endpoint nfd::udp::getDefaultMulticastGroupV6 ( )
inline

Returns the default IPv6 multicast group: [FF02::1234]:56363

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