aodv_route_table_stat.h

来自「it source code for Aodv simulation」· C头文件 代码 · 共 77 行

H
77
字号
/** Aodv_Route_Table_Stat.h             **//****************************************//*              Written	                *//*                 by                   *//*            Lyes Guemari              *//*                                   	*//*   National Inst. of Stands & Tech    *//*       Washington, D.C., U.S.A.      	*//****************************************//** Include directives                **/#include <opnet.h>#include "Aodv_List.h"#include "Aodv_Route_Table_Entry.h"#ifndef AODV_ROUTE_TABLE_STAT_H#define AODV_ROUTE_TABLE_STAT_H#define N_MAX 55/** Structure definitions             **/typedef  Aodv_Route_Table_Entry * Aodv_Route_Table_Stat;/** Function declarations             **/extern Aodv_Route_Table_Stataodv_rt_create();extern int aodv_rt_size (Aodv_Route_Table_Stat );extern Aodv_Route_Table_Entry* aodv_rt_create_entry (Aodv_Route_Table_Stat , int dest_ip_addr);extern Boolean aodv_rt_lookup_entry (Aodv_Route_Table_Stat , int dest_ip_addr);extern int aodv_rt_lookup_dest_seq_nb (Aodv_Route_Table_Stat , int dest_ip_addr);extern int aodv_rt_entry_broken (Aodv_Route_Table_Stat , int dest_ip_addr);extern int aodv_rt_entry_under_repair (Aodv_Route_Table_Stat , int dest_ip_addr);extern void aodv_rt_entry_schedule_intrpt (Aodv_Route_Table_Stat , int dest, double expi_time);extern void aodv_rt_entry_cancel_intrpt (Aodv_Route_Table_Stat , int );extern void aodv_rt_entry_reschedule_intrpt (Aodv_Route_Table_Stat , int dest, double expi_time);extern void aodv_rt_entry_extend_intrpt (Aodv_Route_Table_Stat , int dest, double expi_time);extern Boolean aodv_rt_lookup_active_entry (Aodv_Route_Table_Stat , int dest_ip_addr);extern Boolean aodv_rt_lookup_fresh_enough_active_entry (Aodv_Route_Table_Stat , int dest_ip_addr, int dest_seq_nb);extern voidaodv_rt_delete_entry (Aodv_Route_Table_Stat , int dest_ip_addr);extern Aodv_Route_Table_Entry* aodv_rt_access_entry (Aodv_Route_Table_Stat , int dest_ip_addr);extern voidaodv_rt_print (Aodv_Route_Table_Stat, int current_node_ip_addr);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?