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