join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
join::Ndp Class Reference

neighbor discovery protocol class. More...

#include <ndp_protocol.hpp>

Public Types

using Transport = Icmp
 
using Endpoint = typename Transport::Endpoint
 
using Socket = typename Transport::Socket
 
using Client = BasicNdpClient<Ndp>
 
using Server = BasicNdpServer<Ndp>
 

Public Member Functions

constexpr Ndp () noexcept
 construct the NDP protocol instance.
 
constexpr int family () const noexcept
 get the protocol IP address family.
 
constexpr int type () const noexcept
 get the protocol communication semantic.
 
constexpr int protocol () const noexcept
 get the protocol type.
 

Static Public Attributes

static constexpr int hopLimit = 255
 hop limit every neighbor discovery message is sent and received with, RFC 4861 section 6.1.
 
static constexpr size_t maxMsgSize = 65535
 maximum NDP message size, the biggest payload an IPv6 packet can carry.
 

Detailed Description

neighbor discovery protocol class.

Member Typedef Documentation

◆ Client

◆ Endpoint

◆ Server

◆ Socket

◆ Transport

Constructor & Destructor Documentation

◆ Ndp()

join::Ndp::Ndp ( )
inlineconstexprnoexcept

construct the NDP protocol instance.

Member Function Documentation

◆ family()

int join::Ndp::family ( ) const
inlineconstexprnoexcept

get the protocol IP address family.

Returns
the protocol IP address family.

◆ protocol()

int join::Ndp::protocol ( ) const
inlineconstexprnoexcept

get the protocol type.

Returns
the protocol type.

◆ type()

int join::Ndp::type ( ) const
inlineconstexprnoexcept

get the protocol communication semantic.

Returns
the protocol communication semantic.

Member Data Documentation

◆ hopLimit

int join::Ndp::hopLimit = 255
staticconstexpr

hop limit every neighbor discovery message is sent and received with, RFC 4861 section 6.1.

◆ maxMsgSize

size_t join::Ndp::maxMsgSize = 65535
staticconstexpr

maximum NDP message size, the biggest payload an IPv6 packet can carry.


The documentation for this class was generated from the following file: