#include <ndp_entry.h>
|
| | NdpEntry (boost::asio::io_context &io, Icmpv6Handler *handler, NdpKey &key, const VrfEntry *vrf, const Interface *itf) |
| |
| virtual | ~NdpEntry () |
| |
| const NdpKey & | key () const |
| |
| const Interface * | get_interface () const |
| |
| void | StartRetransmitTimer () |
| |
| void | StartReachableTimer () |
| |
| void | StartDelayTimer () |
| |
| void | DeleteAllTimers () |
| |
| const std::string & | StateName () const |
| |
| const std::string & | LastStateName () const |
| |
| int | retry_count () const |
| |
| void | retry_count_inc () |
| |
| void | retry_count_clear () |
| |
| void | retry_count_set (int rc) |
| |
| int | retransmit_time () const |
| |
| void | set_retransmit_time (int t) |
| |
| int | reachable_time () const |
| |
| void | set_reachable_time (int t) |
| |
| void | set_state (State state) |
| |
| State | get_state () const |
| |
| const std::string | last_state_change_at () const |
| |
| const uint64_t | last_state_change_usecs_at () const |
| |
| void | set_last_event (const std::string &event) |
| |
| const std::string & | last_event () const |
| |
| MacAddress | mac () const |
| |
| void | set_mac (MacAddress mac) |
| |
| void | set_last_notification_in (int code, int subcode, const std::string &reason) |
| |
| void | set_last_notification_out (int code, int subcode, const std::string &reason) |
| |
| void | reset_last_info () |
| |
| void | LogEvent (std::string event_name, std::string msg, SandeshLevel::type log_level=SandeshLevel::SYS_DEBUG) |
| |
| bool | RetransmitTimerExpired () |
| |
| bool | ReachableTimerExpired () |
| |
| bool | DelayTimerExpired () |
| |
| bool | EnqueuePktOut () |
| |
| bool | EnqueueTestStateChange (State state, int retry_count) |
| |
| bool | EnqueueRetransmitTimerExpired () |
| |
| bool | EnqueueReachableTimerExpired () |
| |
| bool | EnqueueDelayTimerExpired () |
| |
| bool | EnqueueNaIn (nd_neighbor_advert na, MacAddress mac) |
| |
| bool | EnqueueSolNaIn (nd_neighbor_advert na, MacAddress mac) |
| |
| bool | EnqueueUnsolNaIn (nd_neighbor_advert na, MacAddress mac) |
| |
| bool | EnqueueNsIn (nd_neighbor_solicit ns, MacAddress mac) |
| |
| template<typename Ev > |
| bool | Enqueue (const Ev &event) |
| |
| bool | DequeueEvent (EventContainer ec) |
| |
| void | DequeueEventDone (bool done) |
| |
| void | UpdateFlapCount () |
| |
| Timer * | retransmit_timer () |
| |
| Timer * | reachable_timer () |
| |
| Timer * | delay_timer () |
| |
| bool | DeleteNdpRoute () |
| |
| bool | IsResolved () |
| |
| void | Resync (bool policy, const VnListType &vnlist, const SecurityGroupList &sg, const TagList &tag) |
| |
| void | HandleNsRequest (nd_neighbor_solicit ns, MacAddress mac) |
| |
| void | SendNeighborSolicit (bool send_unicast=false) |
| |
| void | SendNeighborAdvert (bool solicited) |
| |
Definition at line 37 of file ndp_entry.h.
◆ EventCB
◆ State
| Enumerator |
|---|
| NOSTATE | |
| INCOMPLETE | |
| REACHABLE | |
| STALE | |
| DELAY | |
| PROBE | |
Definition at line 48 of file ndp_entry.h.
◆ NdpEntry()
◆ ~NdpEntry()
◆ AddNdpRoute()
| void NdpEntry::AddNdpRoute |
( |
bool |
resolved | ) |
|
|
private |
◆ delay_timer()
| Timer* NdpEntry::delay_timer |
( |
| ) |
|
|
inline |
◆ DelayTimerExpired()
| bool NdpEntry::DelayTimerExpired |
( |
| ) |
|
◆ DeleteAllTimers()
| void NdpEntry::DeleteAllTimers |
( |
| ) |
|
◆ DeleteNdpRoute()
| bool NdpEntry::DeleteNdpRoute |
( |
| ) |
|
◆ DequeueEvent()
◆ DequeueEventDone()
| void NdpEntry::DequeueEventDone |
( |
bool |
done | ) |
|
◆ DISALLOW_COPY_AND_ASSIGN()
| NdpEntry::DISALLOW_COPY_AND_ASSIGN |
( |
NdpEntry |
| ) |
|
|
private |
◆ Enqueue()
template<typename Ev >
| bool NdpEntry::Enqueue |
( |
const Ev & |
event | ) |
|
◆ EnqueueDelayTimerExpired()
| bool NdpEntry::EnqueueDelayTimerExpired |
( |
| ) |
|
◆ EnqueueNaIn()
| bool NdpEntry::EnqueueNaIn |
( |
nd_neighbor_advert |
na, |
|
|
MacAddress |
mac |
|
) |
| |
◆ EnqueueNsIn()
| bool NdpEntry::EnqueueNsIn |
( |
nd_neighbor_solicit |
ns, |
|
|
MacAddress |
mac |
|
) |
| |
◆ EnqueuePktOut()
| bool NdpEntry::EnqueuePktOut |
( |
| ) |
|
◆ EnqueueReachableTimerExpired()
| bool NdpEntry::EnqueueReachableTimerExpired |
( |
| ) |
|
◆ EnqueueRetransmitTimerExpired()
| bool NdpEntry::EnqueueRetransmitTimerExpired |
( |
| ) |
|
◆ EnqueueSolNaIn()
| bool NdpEntry::EnqueueSolNaIn |
( |
nd_neighbor_advert |
na, |
|
|
MacAddress |
mac |
|
) |
| |
◆ EnqueueTestStateChange()
| bool NdpEntry::EnqueueTestStateChange |
( |
State |
state, |
|
|
int |
retry_count |
|
) |
| |
◆ EnqueueUnsolNaIn()
| bool NdpEntry::EnqueueUnsolNaIn |
( |
nd_neighbor_advert |
na, |
|
|
MacAddress |
mac |
|
) |
| |
◆ get_interface()
| const Interface* NdpEntry::get_interface |
( |
| ) |
const |
|
inline |
◆ get_state()
| State NdpEntry::get_state |
( |
| ) |
const |
|
inline |
◆ HandleNsRequest()
| void NdpEntry::HandleNsRequest |
( |
nd_neighbor_solicit |
ns, |
|
|
MacAddress |
mac |
|
) |
| |
◆ IsDerived()
| bool NdpEntry::IsDerived |
( |
| ) |
|
|
private |
◆ IsResolved()
| bool NdpEntry::IsResolved |
( |
| ) |
|
◆ key()
| const NdpKey& NdpEntry::key |
( |
| ) |
const |
|
inline |
◆ last_event()
| const std::string& NdpEntry::last_event |
( |
| ) |
const |
|
inline |
◆ last_state_change_at()
| const string NdpEntry::last_state_change_at |
( |
| ) |
const |
◆ last_state_change_usecs_at()
| const uint64_t NdpEntry::last_state_change_usecs_at |
( |
| ) |
const |
◆ LastStateName()
| const string & NdpEntry::LastStateName |
( |
| ) |
const |
◆ LogEvent()
| void NdpEntry::LogEvent |
( |
std::string |
event_name, |
|
|
std::string |
msg, |
|
|
SandeshLevel::type |
log_level = SandeshLevel::SYS_DEBUG |
|
) |
| |
◆ mac()
◆ reachable_time()
| int NdpEntry::reachable_time |
( |
| ) |
const |
|
inline |
◆ reachable_timer()
| Timer* NdpEntry::reachable_timer |
( |
| ) |
|
|
inline |
◆ ReachableTimerExpired()
| bool NdpEntry::ReachableTimerExpired |
( |
| ) |
|
◆ reset_last_info()
| void NdpEntry::reset_last_info |
( |
| ) |
|
◆ Resync()
◆ retransmit_time()
| int NdpEntry::retransmit_time |
( |
| ) |
const |
|
inline |
◆ retransmit_timer()
| Timer* NdpEntry::retransmit_timer |
( |
| ) |
|
|
inline |
◆ RetransmitTimerExpired()
| bool NdpEntry::RetransmitTimerExpired |
( |
| ) |
|
◆ retry_count()
| int NdpEntry::retry_count |
( |
| ) |
const |
|
inline |
◆ retry_count_clear()
| void NdpEntry::retry_count_clear |
( |
| ) |
|
|
inline |
◆ retry_count_inc()
| void NdpEntry::retry_count_inc |
( |
| ) |
|
|
inline |
◆ retry_count_set()
| void NdpEntry::retry_count_set |
( |
int |
rc | ) |
|
|
inline |
◆ SendNeighborAdvert()
| void NdpEntry::SendNeighborAdvert |
( |
bool |
solicited | ) |
|
◆ SendNeighborSolicit()
| void NdpEntry::SendNeighborSolicit |
( |
bool |
send_unicast = false | ) |
|
◆ set_last_event()
| void NdpEntry::set_last_event |
( |
const std::string & |
event | ) |
|
◆ set_last_notification_in()
| void NdpEntry::set_last_notification_in |
( |
int |
code, |
|
|
int |
subcode, |
|
|
const std::string & |
reason |
|
) |
| |
◆ set_last_notification_out()
| void NdpEntry::set_last_notification_out |
( |
int |
code, |
|
|
int |
subcode, |
|
|
const std::string & |
reason |
|
) |
| |
◆ set_mac()
◆ set_reachable_time()
| void NdpEntry::set_reachable_time |
( |
int |
t | ) |
|
|
inline |
◆ set_retransmit_time()
| void NdpEntry::set_retransmit_time |
( |
int |
t | ) |
|
|
inline |
◆ set_state()
| void NdpEntry::set_state |
( |
State |
state | ) |
|
◆ StartDelayTimer()
| void NdpEntry::StartDelayTimer |
( |
| ) |
|
◆ StartReachableTimer()
| void NdpEntry::StartReachableTimer |
( |
| ) |
|
◆ StartRetransmitTimer()
| void NdpEntry::StartRetransmitTimer |
( |
| ) |
|
◆ StateName()
| const string & NdpEntry::StateName |
( |
| ) |
const |
◆ UpdateFlapCount()
| void NdpEntry::UpdateFlapCount |
( |
| ) |
|
◆ delay_time_
| int NdpEntry::delay_time_ |
|
private |
◆ delay_timer_
| Timer* NdpEntry::delay_timer_ |
|
private |
◆ deleted_
◆ handler_
◆ interface_
◆ io_
| boost::asio::io_context& NdpEntry::io_ |
|
private |
◆ key_
◆ kMaxRetries
| const int NdpEntry::kMaxRetries = 3 |
|
static |
◆ kMaxUnicastRetries
| const int NdpEntry::kMaxUnicastRetries = 3 |
|
static |
◆ last_event_
| std::string NdpEntry::last_event_ |
|
private |
◆ last_event_at_
| uint64_t NdpEntry::last_event_at_ |
|
private |
◆ last_notification_in_
| std::pair<int, int> NdpEntry::last_notification_in_ |
|
private |
◆ last_notification_in_at_
| uint64_t NdpEntry::last_notification_in_at_ |
|
private |
◆ last_notification_in_error_
| std::string NdpEntry::last_notification_in_error_ |
|
private |
◆ last_notification_out_
| std::pair<int, int> NdpEntry::last_notification_out_ |
|
private |
◆ last_notification_out_at_
| uint64_t NdpEntry::last_notification_out_at_ |
|
private |
◆ last_notification_out_error_
| std::string NdpEntry::last_notification_out_error_ |
|
private |
◆ last_state_
| State NdpEntry::last_state_ |
|
private |
◆ last_state_change_at_
| uint64_t NdpEntry::last_state_change_at_ |
|
private |
◆ mac_
◆ nh_vrf_
◆ reachable_time_
| int NdpEntry::reachable_time_ |
|
private |
◆ reachable_timer_
| Timer* NdpEntry::reachable_timer_ |
|
private |
◆ retransmit_time_
| int NdpEntry::retransmit_time_ |
|
private |
◆ retransmit_timer_
| Timer* NdpEntry::retransmit_timer_ |
|
private |
◆ retry_count_
| int NdpEntry::retry_count_ |
|
private |
◆ state_
◆ work_queue_
The documentation for this class was generated from the following files: