📄 ldptlv.h
字号:
/********************************************************************/
/* Product Name: mpls pack1.0 */
/* Module Name: ldp_cr */
/* File Name: ldptlv.h */
/* Author Name: shi.zhaohui */
/* Creat Date: 06/21/2002 */
/* Version : 1.0 */
/* History : */
/********************************************************************/
#ifndef LDPTLV_H
#define LPDTLV_H
#include "_noalign.h"
/* cbflag 1: mplsldpfecentry; 2: mplsldpcrlsp
#define LSPCB_FEC 1
#define LSPCB_CR 2
*/
#define MPLS_LOOP_MEM_PVTLV
typedef struct
{
unsigned long lsrid;
struct lsridattr *next;
}MPLS_PACK lsridattr;
typedef struct
{
unsigned short fecTlvExists:1;
unsigned short hopCountTlvExists:1;
unsigned short pathVecTlvExists:1;
unsigned short lspidTlvExists:1;
unsigned short erTlvExists:1;
unsigned short trafficTlvExists:1;
unsigned short pinningTlvExists:1;
unsigned short recClassTlvExists:1;
unsigned short preemptTlvExists:1;
}MPLS_PACK lblmsg_tlv_flags;
typedef union
{
lblmsg_tlv_flags flags;
unsigned short mark;
}MPLS_PACK lblmsgTlvExists;
#include "_restore.h"
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -