OpenSDN source code
|
#include <icmpv6_proto.h>
Public Types | |
typedef std::map< uint32_t, InterfaceIcmpv6PathPreferenceInfo > | WaitForTrafficIntfMap |
typedef std::set< uint32_t > | NDTransmittedIntfMap |
Public Member Functions | |
Icmpv6PathPreferenceState (Icmpv6VrfState *vrf_state, uint32_t vrf_id, IpAddress vm_ip_addr, uint8_t plen) | |
~Icmpv6PathPreferenceState () | |
bool | SendNeighborSolicit () |
bool | SendNeighborSolicit (WaitForTrafficIntfMap &wait_for_traffic_map, NDTransmittedIntfMap &nd_transmitted_map) |
void | SendNeighborSolicitForAllIntf (const AgentRoute *route) |
void | StartTimer () |
void | HandleNA (uint32_t itf) |
Icmpv6VrfState * | vrf_state () |
const IpAddress & | ip () const |
MacAddress | mac (void) const |
bool | IntfPresentInIpMap (uint32_t id) |
bool | IntfPresentInEvpnMap (uint32_t id) |
uint32_t | IntfRetryCountInIpMap (uint32_t id) |
uint32_t | IntfRetryCountInEvpnMap (uint32_t id) |
Static Public Attributes | |
static const uint32_t | kMaxRetry = 30 * 5 |
static const uint32_t | kTimeout = 2000 |
static const uint32_t | kTimeoutMultiplier = 5 |
static const uint32_t | kNSTryCount = 9 |
Private Attributes | |
Icmpv6VrfState * | vrf_state_ |
Timer * | ns_req_timer_ |
uint32_t | vrf_id_ |
IpAddress | vm_ip_ |
MacAddress | mac_ |
uint8_t | plen_ |
IpAddress | svc_ip_ |
WaitForTrafficIntfMap | l3_wait_for_traffic_map_ |
WaitForTrafficIntfMap | evpn_wait_for_traffic_map_ |
tbb::atomic< int > | refcount_ |
Friends | |
void | intrusive_ptr_add_ref (Icmpv6PathPreferenceState *ps) |
void | intrusive_ptr_release (Icmpv6PathPreferenceState *ps) |
Definition at line 263 of file icmpv6_proto.h.
typedef std::set<uint32_t> Icmpv6PathPreferenceState::NDTransmittedIntfMap |
Definition at line 274 of file icmpv6_proto.h.
typedef std::map<uint32_t, InterfaceIcmpv6PathPreferenceInfo> Icmpv6PathPreferenceState::WaitForTrafficIntfMap |
Definition at line 273 of file icmpv6_proto.h.
Icmpv6PathPreferenceState::Icmpv6PathPreferenceState | ( | Icmpv6VrfState * | vrf_state, |
uint32_t | vrf_id, | ||
IpAddress | vm_ip_addr, | ||
uint8_t | plen | ||
) |
Definition at line 453 of file icmpv6_proto.cc.
Icmpv6PathPreferenceState::~Icmpv6PathPreferenceState | ( | ) |
void Icmpv6PathPreferenceState::HandleNA | ( | uint32_t | itf | ) |
Definition at line 377 of file icmpv6_proto.cc.
|
inline |
Definition at line 303 of file icmpv6_proto.h.
|
inline |
Definition at line 295 of file icmpv6_proto.h.
|
inline |
Definition at line 315 of file icmpv6_proto.h.
|
inline |
Definition at line 311 of file icmpv6_proto.h.
|
inline |
Definition at line 289 of file icmpv6_proto.h.
|
inline |
Definition at line 293 of file icmpv6_proto.h.
bool Icmpv6PathPreferenceState::SendNeighborSolicit | ( | ) |
Definition at line 533 of file icmpv6_proto.cc.
bool Icmpv6PathPreferenceState::SendNeighborSolicit | ( | WaitForTrafficIntfMap & | wait_for_traffic_map, |
NDTransmittedIntfMap & | nd_transmitted_map | ||
) |
void Icmpv6PathPreferenceState::SendNeighborSolicitForAllIntf | ( | const AgentRoute * | route | ) |
void Icmpv6PathPreferenceState::StartTimer | ( | ) |
|
inline |
Definition at line 285 of file icmpv6_proto.h.
|
friend |
Definition at line 440 of file icmpv6_proto.cc.
|
friend |
Definition at line 444 of file icmpv6_proto.cc.
|
private |
Definition at line 330 of file icmpv6_proto.h.
|
static |
Definition at line 265 of file icmpv6_proto.h.
|
static |
Definition at line 271 of file icmpv6_proto.h.
|
static |
Definition at line 267 of file icmpv6_proto.h.
|
static |
Definition at line 269 of file icmpv6_proto.h.
|
private |
Definition at line 329 of file icmpv6_proto.h.
|
private |
Definition at line 326 of file icmpv6_proto.h.
|
private |
Definition at line 323 of file icmpv6_proto.h.
|
private |
Definition at line 327 of file icmpv6_proto.h.
|
private |
Definition at line 331 of file icmpv6_proto.h.
|
private |
Definition at line 328 of file icmpv6_proto.h.
|
private |
Definition at line 325 of file icmpv6_proto.h.
|
private |
Definition at line 324 of file icmpv6_proto.h.
|
private |
Definition at line 322 of file icmpv6_proto.h.