original files of m241
This commit is contained in:
@@ -0,0 +1,125 @@
|
||||
/*
|
||||
******************************************************************************
|
||||
* HEADER FILE
|
||||
*
|
||||
* Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: mpls.h,v $ $Revision: 1.3 $
|
||||
* $Source: /home/interpeak/CVSRoot/ipxinc/include/linux/mpls.h,v $
|
||||
* $Author: lob $ $Date: 2005-07-20 09:40:43 $
|
||||
* $State: Exp $ $Locker: $
|
||||
*
|
||||
* INTERPEAK_COPYRIGHT_STRING
|
||||
* Design and implementation by Jonas Rendel <Jonas.Rendel@interpeak.se>
|
||||
******************************************************************************
|
||||
*/
|
||||
#ifndef IP_LINUX_MPLS_H
|
||||
#define IP_LINUX_MPLS_H
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 1 DESCRIPTION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 2 CONFIGURATION
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#include "ipcom_config.h"
|
||||
#include "ipmpls.h"
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 3 INCLUDE FILES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 4 DEFINES
|
||||
****************************************************************************
|
||||
*/
|
||||
#define SIOCGLABELSPACEMPLS IPMPLS_SIOCGLABELSPACEMPLS
|
||||
#define SIOCSLABELSPACEMPLS IPMPLS_SIOCSLABELSPACEMPLS
|
||||
#define SIOCMPLSTUNNELADD IPMPLS_SIOCMPLSTUNNELADD
|
||||
#define SIOCMPLSTUNNELDEL IPMPLS_SIOCMPLSTUNNELDEL
|
||||
#define SIOCMPLSNHLFESETMTU IPMPLS_SIOCMPLSNHLFESETMTU
|
||||
#define SIOCMPLSNHLFEADD IPMPLS_SIOCMPLSNHLFEADD
|
||||
#define SIOCMPLSNHLFEDEL IPMPLS_SIOCMPLSNHLFEDEL
|
||||
#define SIOCMPLSNHLFEGET IPMPLS_SIOCMPLSNHLFEGET
|
||||
#define SIOCMPLSILMADD IPMPLS_SIOCMPLSILMADD
|
||||
#define SIOCMPLSILMDEL IPMPLS_SIOCMPLSILMDEL
|
||||
#define SIOCMPLSILMGET IPMPLS_SIOCMPLSILMGET
|
||||
|
||||
#define SIOCMPLSXCADD IPMPLS_SIOCMPLSXCADD
|
||||
#define SIOCMPLSXCDEL IPMPLS_SIOCMPLSXCDEL
|
||||
#define SIOCMPLSXCGET IPMPLS_SIOCMPLSXCGET
|
||||
#define SIOCMPLSILMFLUSH IPMPLS_SIOCMPLSILMFLUSH
|
||||
#define SIOCMPLSNHLFEFLUSH IPMPLS_SIOCMPLSNHLFEFLUSH
|
||||
#define SIOCSMPLSININSTR IPMPLS_SIOCSMPLSININSTR
|
||||
#define SIOCGMPLSININSTR IPMPLS_SIOCGMPLSININSTR
|
||||
#define SIOCSMPLSOUTINSTR IPMPLS_SIOCSMPLSOUTINSTR
|
||||
#define SIOCGMPLSOUTINSTR IPMPLS_SIOCGMPLSOUTINSTR
|
||||
|
||||
#define SIOCMPLSTUNNELADDOUT IPMPLS_SIOCMPLSTUNNELADDOUT
|
||||
#define SIOCMPLSTUNNELDELOUT IPMPLS_SIOCMPLSTUNNELDELOUT
|
||||
|
||||
#define MPLS_OP_NOP IPMPLS_OP_NOP
|
||||
#define MPLS_OP_POP IPMPLS_OP_POP
|
||||
#define MPLS_OP_PEEK IPMPLS_OP_PEEK
|
||||
#define MPLS_OP_PUSH IPMPLS_OP_PUSH
|
||||
#define MPLS_OP_DLV IPMPLS_OP_DLV
|
||||
#define MPLS_OP_FWD IPMPLS_OP_FWD
|
||||
#define MPLS_OP_SET IPMPLS_OP_SET
|
||||
#define MPLS_OP_SET_RX IPMPLS_OP_SET_RX
|
||||
#define MPLS_OP_SET_RTAB IPMPLS_OP_SET_RTAB
|
||||
|
||||
#define MPLS_IN IPMPLS_IN
|
||||
#define MPLS_OUT IPMPLS_OUT
|
||||
|
||||
#define MPLS_LABEL_TYPE_GEN IPMPLS_LABEL_TYPE_GEN
|
||||
#define MPLS_LABEL_TYPE_KEY IPMPLS_LABEL_TYPE_KEY
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 5 TYPES
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#define mpls_label Ipmpls_label
|
||||
#define mpls_nexthop_info Ipmpls_nexthop_info
|
||||
#define mni_addr a.sa
|
||||
#define mpls_instr_elem Ipmpls_instr_elem
|
||||
|
||||
#define mpls_instr_req Ipmpls_instr_req
|
||||
#define mpls_instruction_req Ipmpls_instr_req
|
||||
#define mir_instruction mir_instr
|
||||
#define mir_instruction_length mir_instr_length
|
||||
|
||||
#define mpls_labelspace_req Ipmpls_labelspace_req
|
||||
#define mpls_out_label_req Ipmpls_out_label_req
|
||||
#define mpls_in_label_req Ipmpls_in_label_req
|
||||
#define mpls_xconnect_req Ipmpls_xconnect_req
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* 6 FUNCTIONS
|
||||
****************************************************************************
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
****************************************************************************
|
||||
* END OF FILE
|
||||
****************************************************************************
|
||||
*/
|
||||
Reference in New Issue
Block a user