OpenNSL API Guide and Reference Manual
Data Fields
opennsl_tunnel_terminator_s Struct Reference

L3 tunneling terminator. More...

#include <tunnelX.h>

Data Fields

opennsl_ip_t dip
 DIP for tunnel header match.
 
opennsl_ip6_t dip6
 DIP for tunnel header match (IPv6).
 
opennsl_ip6_t dip6_mask
 Destination IP mask (IPv6).
 
opennsl_ip_t dip_mask
 Destination IP mask.
 
uint32 flags
 Configuration flags.
 
int inlif_counting_profile
 In LIF counting profile.
 
uint32 multicast_flag
 VXLAN Multicast trigger flags.
 
opennsl_pbmp_t pbmp
 Port bitmap for this tunnel.
 
int qos_map_id
 QoS DSCP map this tunnel.
 
opennsl_gport_t remote_port
 Remote termination.
 
int reserved1
 
opennsl_multicast_t reserved2
 
opennsl_failover_t reserved3
 
opennsl_failover_t reserved4
 
opennsl_gport_t reserved5
 
int reserved6
 
int reserved7
 
opennsl_ip_t sip
 SIP for tunnel header match.
 
opennsl_ip6_t sip6
 SIP for tunnel header match (IPv6).
 
opennsl_ip6_t sip6_mask
 Source IP mask (IPv6).
 
opennsl_ip_t sip_mask
 Source IP mask.
 
opennsl_gport_t tunnel_id
 Tunnel id.
 
opennsl_if_t tunnel_if
 hierarchical interface.
 
opennsl_tunnel_type_t type
 Tunnel type.
 
uint32 udp_dst_port
 UDP dst port for UDP packets.
 
uint32 udp_src_port
 UDP src port for UDP packets.
 
opennsl_vlan_t vlan
 The VLAN ID for IPMC lookup or WLAN tunnel.
 
opennsl_vrf_t vrf
 Virtual router instance.
 

Detailed Description

L3 tunneling terminator.

Definition at line 40 of file tunnelX.h.

Field Documentation

opennsl_ip_t opennsl_tunnel_terminator_s::dip

DIP for tunnel header match.

Definition at line 45 of file tunnelX.h.

Referenced by example_ip_tunnel_term_print_key(), and example_vxlan_tunnel_terminator_create().

opennsl_ip6_t opennsl_tunnel_terminator_s::dip6

DIP for tunnel header match (IPv6).

Definition at line 49 of file tunnelX.h.

opennsl_ip6_t opennsl_tunnel_terminator_s::dip6_mask

Destination IP mask (IPv6).

Definition at line 51 of file tunnelX.h.

opennsl_ip_t opennsl_tunnel_terminator_s::dip_mask

Destination IP mask.

Definition at line 47 of file tunnelX.h.

Referenced by example_ip_tunnel_term_print_key(), and example_vxlan_tunnel_terminator_create().

uint32 opennsl_tunnel_terminator_s::flags

Configuration flags.

Definition at line 41 of file tunnelX.h.

int opennsl_tunnel_terminator_s::inlif_counting_profile

In LIF counting profile.

Definition at line 68 of file tunnelX.h.

uint32 opennsl_tunnel_terminator_s::multicast_flag

VXLAN Multicast trigger flags.

Definition at line 42 of file tunnelX.h.

opennsl_pbmp_t opennsl_tunnel_terminator_s::pbmp

Port bitmap for this tunnel.

Definition at line 55 of file tunnelX.h.

int opennsl_tunnel_terminator_s::qos_map_id

QoS DSCP map this tunnel.

Definition at line 67 of file tunnelX.h.

opennsl_gport_t opennsl_tunnel_terminator_s::remote_port

Remote termination.

Definition at line 58 of file tunnelX.h.

int opennsl_tunnel_terminator_s::reserved1

Definition at line 60 of file tunnelX.h.

opennsl_multicast_t opennsl_tunnel_terminator_s::reserved2

Definition at line 61 of file tunnelX.h.

opennsl_failover_t opennsl_tunnel_terminator_s::reserved3

Definition at line 62 of file tunnelX.h.

opennsl_failover_t opennsl_tunnel_terminator_s::reserved4

Definition at line 63 of file tunnelX.h.

opennsl_gport_t opennsl_tunnel_terminator_s::reserved5

Definition at line 64 of file tunnelX.h.

int opennsl_tunnel_terminator_s::reserved6

Definition at line 66 of file tunnelX.h.

int opennsl_tunnel_terminator_s::reserved7

Definition at line 69 of file tunnelX.h.

opennsl_ip_t opennsl_tunnel_terminator_s::sip

SIP for tunnel header match.

Definition at line 44 of file tunnelX.h.

Referenced by example_ip_tunnel_term_print_key(), and example_vxlan_tunnel_terminator_create().

opennsl_ip6_t opennsl_tunnel_terminator_s::sip6

SIP for tunnel header match (IPv6).

Definition at line 48 of file tunnelX.h.

opennsl_ip6_t opennsl_tunnel_terminator_s::sip6_mask

Source IP mask (IPv6).

Definition at line 50 of file tunnelX.h.

opennsl_ip_t opennsl_tunnel_terminator_s::sip_mask

Source IP mask.

Definition at line 46 of file tunnelX.h.

Referenced by example_ip_tunnel_term_print_key(), and example_vxlan_tunnel_terminator_create().

opennsl_gport_t opennsl_tunnel_terminator_s::tunnel_id

Tunnel id.

Definition at line 59 of file tunnelX.h.

Referenced by example_vxlan_tunnel_terminator_create().

opennsl_if_t opennsl_tunnel_terminator_s::tunnel_if

hierarchical interface.

Definition at line 65 of file tunnelX.h.

Referenced by example_ip_tunnel_term_print_key(), and example_vxlan_tunnel_terminator_create().

opennsl_tunnel_type_t opennsl_tunnel_terminator_s::type

Tunnel type.

Definition at line 54 of file tunnelX.h.

Referenced by example_vxlan_tunnel_terminator_create().

uint32 opennsl_tunnel_terminator_s::udp_dst_port

UDP dst port for UDP packets.

Definition at line 52 of file tunnelX.h.

uint32 opennsl_tunnel_terminator_s::udp_src_port

UDP src port for UDP packets.

Definition at line 53 of file tunnelX.h.

opennsl_vlan_t opennsl_tunnel_terminator_s::vlan

The VLAN ID for IPMC lookup or WLAN tunnel.

Definition at line 56 of file tunnelX.h.

opennsl_vrf_t opennsl_tunnel_terminator_s::vrf

Virtual router instance.

Definition at line 43 of file tunnelX.h.


The documentation for this struct was generated from the following file: