|
OpenNSL API Guide and Reference Manual
|
MPLS tunnel switch structure. More...
#include <mplsX.h>
Data Fields | |
| opennsl_mpls_switch_action_t | action |
| MPLS label action. | |
| opennsl_mpls_switch_action_t | action_if_bos |
| MPLS label action if BOS. | |
| opennsl_mpls_switch_action_t | action_if_not_bos |
| MPLS label action if not BOS. | |
| uint32 | class_id |
| Class ID. | |
| opennsl_if_t | egress_if |
| Outgoing egress object. | |
| opennsl_mpls_egress_label_t | egress_label |
| Outgoing label information. | |
| opennsl_gport_t | egress_port |
| Outgoing egress port. | |
| int | exp_map |
| EXP-map ID. | |
| opennsl_failover_t | failover_id |
| Failover Object Identifier for protected tunnel. | |
| opennsl_gport_t | failover_tunnel_id |
| Failover Tunnel ID. | |
| uint32 | flags |
| OPENNSL_MPLS_SWITCH_xxx. | |
| opennsl_if_t | ingress_if |
| Ingress Interface object. | |
| int | inlif_counting_profile |
| In LIF counting profile. | |
| int | int_pri |
| Internal priority. | |
| opennsl_mpls_label_t | label |
| Incoming label value. | |
| opennsl_multicast_t | mc_group |
| P2MP Multicast group. | |
| int | mtu |
| MTU. | |
| uint16 | oam_global_context_id |
| OAM global context id passed from ingress to egress XGS chip. | |
| opennsl_policer_t | policer_id |
| Policer ID to be associated with the incoming label. | |
| opennsl_gport_t | port |
| Incoming port. | |
| int | qos_map_id |
| QOS map identifier. | |
| uint32 | reserved1 |
| int | reserved2 |
| int | reserved3 |
| opennsl_mpls_label_t | second_label |
| Incoming second label. | |
| opennsl_gport_t | tunnel_id |
| Tunnel ID. | |
| opennsl_if_t | tunnel_if |
| hierarchical interface, relevant for when action is OPENNSL_MPLS_SWITCH_ACTION_POP. | |
| opennsl_vpn_t | vpn |
| L3 VPN used if action is POP. | |
| opennsl_mpls_switch_action_t opennsl_mpls_tunnel_switch_s::action |
| opennsl_mpls_switch_action_t opennsl_mpls_tunnel_switch_s::action_if_bos |
| opennsl_mpls_switch_action_t opennsl_mpls_tunnel_switch_s::action_if_not_bos |
| opennsl_if_t opennsl_mpls_tunnel_switch_s::egress_if |
| opennsl_mpls_egress_label_t opennsl_mpls_tunnel_switch_s::egress_label |
| opennsl_gport_t opennsl_mpls_tunnel_switch_s::egress_port |
| opennsl_failover_t opennsl_mpls_tunnel_switch_s::failover_id |
| opennsl_gport_t opennsl_mpls_tunnel_switch_s::failover_tunnel_id |
| uint32 opennsl_mpls_tunnel_switch_s::flags |
| opennsl_if_t opennsl_mpls_tunnel_switch_s::ingress_if |
| int opennsl_mpls_tunnel_switch_s::inlif_counting_profile |
| int opennsl_mpls_tunnel_switch_s::int_pri |
| opennsl_mpls_label_t opennsl_mpls_tunnel_switch_s::label |
| opennsl_multicast_t opennsl_mpls_tunnel_switch_s::mc_group |
| uint16 opennsl_mpls_tunnel_switch_s::oam_global_context_id |
| opennsl_policer_t opennsl_mpls_tunnel_switch_s::policer_id |
| opennsl_gport_t opennsl_mpls_tunnel_switch_s::port |
| int opennsl_mpls_tunnel_switch_s::qos_map_id |
| opennsl_mpls_label_t opennsl_mpls_tunnel_switch_s::second_label |
| opennsl_gport_t opennsl_mpls_tunnel_switch_s::tunnel_id |
| opennsl_if_t opennsl_mpls_tunnel_switch_s::tunnel_if |
| opennsl_vpn_t opennsl_mpls_tunnel_switch_s::vpn |