#include "main.h"
#include "OSPF.h"
#include "OSPF_Msg.h"
#include "OSPF_Neighbor.h"
#include "OSPF_Enum.h"
#include "OSPF_Interface.h"
#include "OSPF_List.h"
Go to the source code of this file.
|
| static void | ospf_neighbor_attempt_adjacency (ptrOSPF_NEIGHBOR neigh) |
| |
| static void | ospf_neighbor_change_state (ptrOSPF_NEIGHBOR neigh, OSPFNEIGHSTATE state) |
| |
| ptrOSPF_NEIGHBOR | OSPF_NEIGHBOR_FIND (ptrOSPF_IF ospf, OSPFID id) |
| |
| ptrOSPF_NEIGHBOR | OSPF_NEIGHBOR_FIND_BY_IP (ptrOSPF_IF thisInterface, NETSIM_IPAddress ip) |
| |
| ptrOSPF_NEIGHBOR | ospf_neighbor_new (NETSIM_IPAddress ip, OSPFID rid) |
| |
| void | ospf_neighbor_add (ptrOSPF_IF ospf, ptrOSPF_NEIGHBOR neigh) |
| |
| void | ospf_neighbor_remove (ptrOSPF_PDS ospf, ptrOSPF_IF thisInterface, ptrOSPF_NEIGHBOR neigh) |
| |
| void | ospf_neighbor_handle_1way_event () |
| |
| static bool | is_adjacency_should_established (ptrOSPF_IF ospf, ptrOSPF_NEIGHBOR neigh) |
| |
| static void | ospf_handle_2wayReceived_event_in_init_state (ptrOSPF_IF ospf, ptrOSPF_NEIGHBOR neigh) |
| |
| void | ospf_neighbor_handle_2wayReceived_event () |
| |
| void | ospf_neighbor_handle_helloReceived_event () |
| |
| static void | ospf_neighbor_addToRxtList (ptrOSPF_PDS ospf, ptrOSPF_IF thisInterface, ptrOSPF_NEIGHBOR neigh, ptrOSPFLSAHDR lsa) |
| |
| static void | ospf_neighbor_update_DBSummaryList (ptrOSPF_PDS ospf, ptrOSPF_IF thisInterface, ptrOSPF_NEIGHBOR neigh, ptrOSPFLIST list) |
| |
| static void | ospf_neighbor_create_DBSummaryList (ptrOSPF_PDS pds, ptrOSPF_IF ospf, ptrOSPF_NEIGHBOR neigh) |
| |
| void | ospf_neighbor_handle_negotiationDone_event () |
| |
| void | ospf_neighbor_handle_exchangeDone_event () |
| |
| void | ospf_neighbor_handle_start_event () |
| |
| static void | restart_inactivity_timer (ptrOSPF_IF ospf, ptrOSPF_NEIGHBOR neigh) |
| |
| void | ospf_neighbor_handle_inactivityTimer_event () |
| |
| bool | ospf_is_router_fullAdjacentWithDR (ptrOSPF_IF ospf) |
| |
| bool | ospf_is_dr_router_fulladjacentwithAnother (ptrOSPF_IF ospf) |
| |
| bool | ospf_neighbor_isAnyNeighborInExchangeOrLoadingState (ptrOSPF_PDS ospf) |
| |
| ptrOSPFLSAHDR | ospf_neighbor_searchSendList (ptrOSPFLIST list, ptrOSPFLSAHDR lsa) |
| |
| void | ospf_neighbor_insertToSendList (ptrOSPFLIST list, ptrOSPFLSAHDR lsa, double time) |
| |
| NETSIM_ID | ospf_neighbor_getInterfaceIdforThisNeighbor (ptrOSPF_PDS ospf, NETSIM_IPAddress neighIPaddr) |
| |
| void | ospf_neighbor_handle_LoadingDoneEvent () |
| |
| void | ospf_neighbor_handle_KillNbrEvent () |
| |
◆ is_neighbor_backupDR
| #define is_neighbor_backupDR |
( |
|
ospf, |
|
|
|
neigh |
|
) |
| (!OSPFID_COMPARE(ospf->backupDesignaterRouter,neigh->neighborId)) |
◆ is_neighbor_DR
| #define is_neighbor_DR |
( |
|
ospf, |
|
|
|
neigh |
|
) |
| (!OSPFID_COMPARE(ospf->designaterRouter,neigh->neighborId)) |
◆ is_adjacency_should_established()
◆ ospf_handle_2wayReceived_event_in_init_state()
◆ ospf_is_dr_router_fulladjacentwithAnother()
| bool ospf_is_dr_router_fulladjacentwithAnother |
( |
ptrOSPF_IF |
ospf | ) |
|
◆ ospf_is_router_fullAdjacentWithDR()
| bool ospf_is_router_fullAdjacentWithDR |
( |
ptrOSPF_IF |
ospf | ) |
|
◆ ospf_neighbor_add()
◆ ospf_neighbor_addToRxtList()
◆ ospf_neighbor_attempt_adjacency()
◆ ospf_neighbor_change_state()
◆ ospf_neighbor_create_DBSummaryList()
◆ OSPF_NEIGHBOR_FIND()
◆ OSPF_NEIGHBOR_FIND_BY_IP()
◆ ospf_neighbor_getInterfaceIdforThisNeighbor()
◆ ospf_neighbor_handle_1way_event()
| void ospf_neighbor_handle_1way_event |
( |
| ) |
|
◆ ospf_neighbor_handle_2wayReceived_event()
| void ospf_neighbor_handle_2wayReceived_event |
( |
| ) |
|
◆ ospf_neighbor_handle_exchangeDone_event()
| void ospf_neighbor_handle_exchangeDone_event |
( |
| ) |
|
◆ ospf_neighbor_handle_helloReceived_event()
| void ospf_neighbor_handle_helloReceived_event |
( |
| ) |
|
◆ ospf_neighbor_handle_inactivityTimer_event()
| void ospf_neighbor_handle_inactivityTimer_event |
( |
| ) |
|
◆ ospf_neighbor_handle_KillNbrEvent()
| void ospf_neighbor_handle_KillNbrEvent |
( |
| ) |
|
◆ ospf_neighbor_handle_LoadingDoneEvent()
| void ospf_neighbor_handle_LoadingDoneEvent |
( |
| ) |
|
◆ ospf_neighbor_handle_negotiationDone_event()
| void ospf_neighbor_handle_negotiationDone_event |
( |
| ) |
|
◆ ospf_neighbor_handle_start_event()
| void ospf_neighbor_handle_start_event |
( |
| ) |
|
◆ ospf_neighbor_insertToSendList()
◆ ospf_neighbor_isAnyNeighborInExchangeOrLoadingState()
| bool ospf_neighbor_isAnyNeighborInExchangeOrLoadingState |
( |
ptrOSPF_PDS |
ospf | ) |
|
◆ ospf_neighbor_new()
◆ ospf_neighbor_remove()
◆ ospf_neighbor_searchSendList()
◆ ospf_neighbor_update_DBSummaryList()
◆ restart_inactivity_timer()