📄 rrfwd.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/09/20 10:32:08 $* $Source: M:/psisrc/routing/incl/rcs/rrfwd.h $* $Revision: 1.5 $************************************************************************** File Description: forwarding entry definition *************************************************************************/#ifndef _fwd_h#define _fwd_h/* a forwarding destination */typedef struct fwdent{ struct sn_addr fe_addr; /* next hop addr */ int fe_cid; /* output circ id */#ifdef PDU_CNVT word fe_cnvt; /* conversion flags */#endif /* PDU_CNVT */}fent, *fent_pt;/* means no route */#define INVALID_CIRC -1/* this is a way to locate an adjacency from a fent */#define FE_ADJ(fe) (adj_pt)((byte *)fe - ( (byte *)&((adj_pt)fe)->adj_fe - (byte *)fe ))/* conversion/encapsulation function flags */#define CVT_P4 0x0001 /* convert to decnet phase4 *//* this is a way to locate an atalk arp ent from a fent */#define FE_ARP(fe) (aarpent_pt)((byte *)fe - ( (byte *)&((aarpent_pt)fe)->ae_fent - (byte *)fe ))#endif /* _fwd_h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -