26 #ifndef NFD_DAEMON_FACE_UDP_PROTOCOL_HPP
27 #define NFD_DAEMON_FACE_UDP_PROTOCOL_HPP
31 #include <boost/asio/ip/udp.hpp>
35 using Endpoint = boost::asio::ip::udp::endpoint;
49 return {boost::asio::ip::address_v4(0xE00017AA), 56363};
58 return {boost::asio::ip::address_v6({0xFF, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
59 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x34}), 56363};
Endpoint getDefaultMulticastGroup()
Returns the default IPv4 multicast group: 224.0.23.170:56363
ssize_t computeMtu(const Endpoint &localEndpoint)
Computes the maximum payload size in a UDP packet.
Endpoint getDefaultMulticastGroupV6()
Returns the default IPv6 multicast group: [FF02::1234]:56363
boost::asio::ip::udp::endpoint Endpoint