⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 localrepair.h

📁 AODV
💻 H
字号:
/************************************************************************			       ---AODV-UIUC---			       This software can be used under GNU General Public License.Author: Binita Gupta <binita@uiuc.edu>	University of Illinois, Urbana-Champaign************************************************************************/#ifndef _LOCAL_REPAIR_H_#define _LOCAL_REPAIR_H_class local_repair_entry{	u_int32_t	dest_ip;	public:	u_int32_t	getDestIP() { return dest_ip;}	void	setDestIP(u_int32_t dst) { dest_ip = dst; }};/* this contains the list of nodes which can be repaired locally, * every entry contains the destination IP of the locally repairable node */class localRepair{	list<local_repair_entry>	local_repair_list;	public:	void	addToList(u_int32_t ip);	void	deleteFromList(list<local_repair_entry>::iterator iter);	void	deleteFromList(u_int32_t dest);	list<local_repair_entry>::iterator findInList(u_int32_t dst_ip);};#endif

⌨️ 快捷键说明

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