📄 aodv_route_table_stat.h
字号:
/** 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -