📄 riproute.h
字号:
/** Copyright (c) 1998-2001 by NETsilicon Inc.** This software is copyrighted by and is the sole property of* NETsilicon. All rights, title, ownership, or other interests* in the software remain the property of NETsilicon. This* software may only be used in accordance with the corresponding* license agreement. Any unauthorized use, duplication, transmission,* distribution, or disclosure of this software is expressly forbidden.** This Copyright notice may not be removed or modified without prior* written consent of NETsilicon.** NETsilicon, reserves the right to modify this software* without notice.** NETsilicon* 411 Waverley Oaks Road USA 781.647.1234* Suite 227 http://www.netsilicon.com* Waltham, MA 02452 AmericaSales@netsilicon.com*************************************************************************** $Name: Fusion 6.52 Fusion 6.51 $* $Date: 2001/11/29 16:29:51 $ * $Source: M:/psisrc/routing/incl/rcs/riproute.h $ * $Revision: 1.11 $ **************************************************************************** File Description: overall include file for RIP routing **************************************************************************/#ifndef _RIPROUTE_#define _RIPROUTE_#include "rrport.h"#include "rrtypes.h"#include "rribd.h"#include "rrsnadd.h"#include "rrfwd.h"#include "ipport.h"#include "ip_types.h"#include "iprt.h"#include "iprtypes.h"#if RR_IP#include "rpdu.h"#include "rconst.h"#include "icirc.h"#include "iconst.h"#include "istruct.h"#include "arptbl.h"#include "uconst.h"#include "ustruct.h"#include "updu.h"#include "ipdu.h"#include "apdu.h"#include "ipreasm.h"#include "rrsnmp.h"#include "rip.h"#include "ipmcast.h"#include "inode.h"#include "ipexter.h"#include "ipproto.h"#include "rrproto.h"#else/* RIP ONLY */#include "rrsnmp.h"#include "inode.h"#include "rpdu.h"#include "rconst.h"#include "rip.h"#include "rrproto.h"extern INODE *i_node;#define IP_HLEN 20#define UDP_HLEN 8fnc_prot(int, ripCircuitInit,(rcirc_pt,int))fnc_prot(rcirc_pt, ripCircCreate,(int,int))fnc_prot(int, ripCircDelete,(int))fnc_prot(rcirc_pt, ripCircFromId,(int))fnc_prot(void, ripCircEvent,(int, int, void *,void *))fnc_prot(void, ripinit,(void))fnc_prot(void, RipTic,(void))fnc_prot(void,riptx,(ipna_pt,int, int, rripa, word,int))fnc_prot(int, ripRemLife,(rrtimer_pt))fnc_prot(void,RipTxReq,(ipna_pt,int))fnc_prot(int, RipInPdu,(rripa, ripa_pt, int))fnc_prot(void,riprx,(void *, int,int,rripa, word))fnc_prot(void,RipSpecReq,(rpdu_pt, int,rripa, word))fnc_prot(int, RipMetric, (iproute_ent_pt))fnc_prot(RNEIGH *,ripNeighFind,(rripa,rcirc_pt))fnc_prot(void,RipProcEntry, (ripa_pt, rripa, int,RNEIGH *))fnc_prot(void,RipProcIpa,(ipna_pt, int, rripa,rripa, int,word))fnc_prot(iproute_ent_pt, ipFindRoute, (ipna_pt,int))fnc_prot(int, ipFindBestRoute, (rripa ,rripa *,int *,int *))fnc_prot(int, ipIsBetterRoute,(ipna_pt, int,int))fnc_prot(void, RipAddRoute, (ipna_pt, rripa,rripa, int,int,int,word))fnc_prot(iproute_ent_pt, ipAddRoute, (ipna_pt, rripa, int,int,int,rripa))fnc_prot(int, ipAddStaticRoute,(ipna_pt,rripa,int,int))fnc_prot(int, ipDelStaticRoute,(ipna_pt))fnc_prot(int, ipRedistAddDel,(int, int, int, void *, int*))fnc_prot(void, RipReplaceRoute, (iproute_ent_pt, rripa,rripa,int,int,word))fnc_prot(void, ipReplaceRoute, (iproute_ent_pt, rripa,int,int,rripa))fnc_prot(iproute_ent_pt,ip_rtAlloc,(void))fnc_prot(void, ip_rtFree,(iproute_ent_pt))fnc_prot(void, ripTimeout,(iproute_ent_pt))fnc_prot(void, ripTimerDel,(void *))fnc_prot(void, RipPurgeRoute,(iproute_ent_pt, int))fnc_prot(void, RipPurgeRouteByCirc,(rcirc_pt))fnc_prot(void, RipDelRoute,(iproute_ent_pt))fnc_prot(void, ipDelRoute,(iproute_ent_pt))fnc_prot(void, ipDelExtRoute,(iproute_ent_pt,int))fnc_prot(void, ripRouteDeleted,(iproute_ent_pt))fnc_prot(void, ripDelExtRt,(iproute_ent_pt))fnc_prot(void, ripTrigger,(void))fnc_prot(ibd_pt, ripOfAlloc,(int))fnc_prot(void, ripAddExtRt,(ipna_pt ))fnc_prot(void, udptx,(ibd_pt,int,word,word,rripa,rripa,int,int))fnc_prot(iproute_ent *,ip_btnext,(iproute_ent *,iproute_ent *))fnc_prot(iproute_ent *,ip_btfirst,(iproute_ent *))fnc_prot(ipna_pt, ipGetRTID,(void))fnc_prot(int, udpreg,(word, void(*)(void *,int,int,rripa,word)))fnc_prot(int, ipRegLocalMcast,(rripa))fnc_prot(int, ripIsTrusted,(rripa))fnc_prot(int, ripAuthenticate,(rcirc_pt, ripa_pt,ripa_pt))fnc_prot(iproute_ent_pt,ripFindGarbageList,(rripa,rripa))fnc_prot(void, ripRmGarbageList,(iproute_ent_pt))fnc_prot(iproute_ent_pt, rip2GarbageList,(iproute_ent_pt))#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -