NetSim Source Code Help
Loading...
Searching...
No Matches
OSPF_Neighbor.h
Go to the documentation of this file.
1#pragma once
2/************************************************************************************
3* Copyright (C) 2020 *
4* TETCOS, Bangalore. India *
5* *
6* Tetcos owns the intellectual property rights in the Product and its content. *
7* The copying, redistribution, reselling or publication of any or all of the *
8* Product or its content without express prior written consent of Tetcos is *
9* prohibited. Ownership and / or any other right relating to the software and all *
10* intellectual property rights therein shall remain at all times with Tetcos. *
11* *
12* Author: Shashi Kant Suman *
13* *
14* ---------------------------------------------------------------------------------*/
15
16#ifndef _NETSIM_OSPF_NEIGHBOR_H_
17#define _NETSIM_OSPF_NEIGHBOR_H_
18#ifdef __cplusplus
19extern "C" {
20#endif
21
23 {
32 };
33 static char strNeighborState[][50] = { "DOWN",
34 "Init",
35 "Attempt",
36 "ExStart",
37 "2-Way",
38 "Exchange",
39 "Full",
40 "Loading" };
41
43 {
46
48
51
64
65 ptrOSPFLIST neighLSReqList; // Link state request list
66 ptrOSPFLIST neighDBSummaryList; // Database summary list
67 ptrOSPFLIST neighLSRxtList; // Link state retransmission list
73 };
74
76 {
82
83#ifdef __cplusplus
84}
85#endif
86#endif //_NETSIM_OSPF_NEIGHBOR_H_
unsigned int NETSIM_ID
Definition: Animation.h:45
#define UINT64
Definition: Linux.h:37
#define UINT
Definition: Linux.h:38
#define UINT8
Definition: Linux.h:31
struct stru_lsrxtTimerDetails * ptrLSRXTTIMERDETAILS
enum_ospf_neighbor_state
Definition: OSPF_Neighbor.h:23
@ OSPFNEIGHSTATE_Exchange
Definition: OSPF_Neighbor.h:29
@ OSPFNEIGHSTATE_Loading
Definition: OSPF_Neighbor.h:31
@ OSPFNEIGHSTATE_2Way
Definition: OSPF_Neighbor.h:28
@ OSPFNEIGHSTATE_Full
Definition: OSPF_Neighbor.h:30
@ OSPFNEIGHSTATE_ExStart
Definition: OSPF_Neighbor.h:27
@ OSPFNEIGHSTATE_Attempt
Definition: OSPF_Neighbor.h:26
@ OSPFNEIGHSTATE_Init
Definition: OSPF_Neighbor.h:25
@ OSPFNEIGHSTATE_DOWN
Definition: OSPF_Neighbor.h:24
struct stru_lsrxtTimerDetails LSRXTTIMERDETAILS
static char strNeighborState[][50]
Definition: OSPF_Neighbor.h:33
enum enum_ospf_neighbor_state OSPFNEIGHSTATE
Definition: OSPF_Typedef.h:34
void * ptrOSPFLIST
Definition: OSPF_Typedef.h:50
enum enum_ospf_msg OSPFMSG
Definition: OSPF_Typedef.h:38
NETSIM_IPAddress neighborIP
Definition: OSPF_Neighbor.h:77
ptrOSPFLIST neighLSRxtList
Definition: OSPF_Neighbor.h:67
ptrOSPFLIST linkStateSendList
Definition: OSPF_Neighbor.h:68
ptrOSPFPACKETHDR lastrecvDDPacket
Definition: OSPF_Neighbor.h:54
OSPFID neighborDesignateBackupRouter
Definition: OSPF_Neighbor.h:62
ptrOSPFPACKETHDR lastSentDDPacket
Definition: OSPF_Neighbor.h:55
OSPFNEIGHSTATE state
Definition: OSPF_Neighbor.h:47
OSPFID neighborDesignateRouter
Definition: OSPF_Neighbor.h:61
ptrOSPFLIST neighDBSummaryList
Definition: OSPF_Neighbor.h:66
ptrOSPFLIST neighLSReqList
Definition: OSPF_Neighbor.h:65
NETSIM_IPAddress neighborIPAddr
Definition: OSPF_Neighbor.h:58
NETSIM_ID devInterface
Definition: OSPF_Neighbor.h:45