34 MessageHandler *messageHandler = neighbor->getInterface()->getArea()->getRouter()->getMessageHandler();
37 messageHandler->clearTimer(neighbor->getPollTimer());
38 neighbor->getInterface()->sendHelloPacket(neighbor->getAddress(),
ttl);
39 messageHandler->startTimer(neighbor->getInactivityTimer(), neighbor->getRouterDeadInterval());
40 changeState(neighbor,
new NeighborStateAttempt,
this);
43 MessageHandler *messageHandler = neighbor->getInterface()->getArea()->getRouter()->getMessageHandler();
44 messageHandler->clearTimer(neighbor->getPollTimer());
45 messageHandler->startTimer(neighbor->getInactivityTimer(), neighbor->getRouterDeadInterval());
50 neighbor->getInterface()->sendHelloPacket(neighbor->getAddress(),
ttl);
51 MessageHandler *messageHandler = neighbor->getInterface()->getArea()->getRouter()->getMessageHandler();
52 messageHandler->startTimer(neighbor->getPollTimer(), neighbor->getInterface()->getPollInterval());
#define VIRTUAL_LINK_TTL
Definition: OSPFcommon.h:45
void changeState(Neighbor *neighbor, NeighborState *newState, NeighborState *currentState)
Definition: OSPFNeighborState.cc:28
Definition: OSPFInterface.h:60
Definition: OSPFNeighbor.h:42
Definition: OSPFNeighbor.h:54
Definition: OSPFNeighbor.h:43
uint8_t ttl
Definition: TCP_NSC.cc:87