OpenNSL API Guide and Reference Manual
Data Fields
opennsl_tunnel_initiator_s Struct Reference

L3 tunneling initiator. More...

#include <tunnelX.h>

Data Fields

uint32 aux_data
 Tunnel associated data.
 
opennsl_ip_t dip
 Tunnel header DIP (IPv4).
 
opennsl_ip6_t dip6
 Tunnel header DIP (IPv6).
 
opennsl_mac_t dmac
 Destination MAC address.
 
int dscp
 Tunnel header DSCP value.
 
int dscp_map
 DSCP-map ID.
 
opennsl_tunnel_dscp_select_t dscp_sel
 Tunnel header DSCP select.
 
opennsl_reserved_enum_t encap_access
 Encapsulation Access stage.
 
uint32 flags
 Configuration flags.
 
uint32 flow_label
 Tunnel header flow label (IPv6).
 
uint16 ip4_id
 IPv4 ID.
 
opennsl_if_t l3_intf_id
 l3 Interface ID.
 
int mtu
 WLAN MTU.
 
int outlif_counting_profile
 Out LIF counting profile.
 
uint8 pkt_cfi
 Tunnel CFI.
 
uint8 pkt_pri
 Tunnel priority.
 
opennsl_ip_t sip
 Tunnel header SIP (IPv4).
 
opennsl_ip6_t sip6
 Tunnel header SIP (IPv6).
 
opennsl_mac_t smac
 WLAN outer MAC.
 
uint16 span_id
 Erspan Span ID.
 
uint16 tpid
 Tunnel TPID.
 
int ttl
 Tunnel header TTL.
 
opennsl_gport_t tunnel_id
 Tunnel ID.
 
opennsl_tunnel_type_t type
 Tunnel type.
 
uint16 udp_dst_port
 Destination UDP port.
 
uint16 udp_src_port
 Source UDP port.
 
opennsl_vlan_t vlan
 Tunnel VLAN.
 

Detailed Description

L3 tunneling initiator.

Definition at line 84 of file tunnelX.h.

Field Documentation

uint32 opennsl_tunnel_initiator_s::aux_data

Tunnel associated data.

Definition at line 109 of file tunnelX.h.

opennsl_ip_t opennsl_tunnel_initiator_s::dip

Tunnel header DIP (IPv4).

Definition at line 89 of file tunnelX.h.

Referenced by example_vxlan_egress_tunnel_create().

opennsl_ip6_t opennsl_tunnel_initiator_s::dip6

Tunnel header DIP (IPv6).

Definition at line 92 of file tunnelX.h.

opennsl_mac_t opennsl_tunnel_initiator_s::dmac

Destination MAC address.

Definition at line 88 of file tunnelX.h.

int opennsl_tunnel_initiator_s::dscp

Tunnel header DSCP value.

Definition at line 95 of file tunnelX.h.

Referenced by example_vxlan_egress_tunnel_create().

int opennsl_tunnel_initiator_s::dscp_map

DSCP-map ID.

Definition at line 96 of file tunnelX.h.

opennsl_tunnel_dscp_select_t opennsl_tunnel_initiator_s::dscp_sel

Tunnel header DSCP select.

Definition at line 94 of file tunnelX.h.

Referenced by example_vxlan_egress_tunnel_create().

opennsl_reserved_enum_t opennsl_tunnel_initiator_s::encap_access

Encapsulation Access stage.

Definition at line 111 of file tunnelX.h.

uint32 opennsl_tunnel_initiator_s::flags

Configuration flags.

Definition at line 85 of file tunnelX.h.

Referenced by example_ip_tunnel_add(), and example_vxlan_egress_tunnel_create().

uint32 opennsl_tunnel_initiator_s::flow_label

Tunnel header flow label (IPv6).

Definition at line 93 of file tunnelX.h.

uint16 opennsl_tunnel_initiator_s::ip4_id

IPv4 ID.

Definition at line 106 of file tunnelX.h.

opennsl_if_t opennsl_tunnel_initiator_s::l3_intf_id

l3 Interface ID.

Definition at line 107 of file tunnelX.h.

int opennsl_tunnel_initiator_s::mtu

WLAN MTU.

Definition at line 101 of file tunnelX.h.

int opennsl_tunnel_initiator_s::outlif_counting_profile

Out LIF counting profile.

Definition at line 110 of file tunnelX.h.

Referenced by example_vxlan_egress_tunnel_create().

uint8 opennsl_tunnel_initiator_s::pkt_cfi

Tunnel CFI.

Definition at line 105 of file tunnelX.h.

uint8 opennsl_tunnel_initiator_s::pkt_pri

Tunnel priority.

Definition at line 104 of file tunnelX.h.

opennsl_ip_t opennsl_tunnel_initiator_s::sip

Tunnel header SIP (IPv4).

Definition at line 90 of file tunnelX.h.

Referenced by example_vxlan_egress_tunnel_create().

opennsl_ip6_t opennsl_tunnel_initiator_s::sip6

Tunnel header SIP (IPv6).

Definition at line 91 of file tunnelX.h.

opennsl_mac_t opennsl_tunnel_initiator_s::smac

WLAN outer MAC.

Definition at line 100 of file tunnelX.h.

uint16 opennsl_tunnel_initiator_s::span_id

Erspan Span ID.

Definition at line 108 of file tunnelX.h.

uint16 opennsl_tunnel_initiator_s::tpid

Tunnel TPID.

Definition at line 103 of file tunnelX.h.

int opennsl_tunnel_initiator_s::ttl

Tunnel header TTL.

Definition at line 87 of file tunnelX.h.

Referenced by example_vxlan_egress_tunnel_create().

opennsl_gport_t opennsl_tunnel_initiator_s::tunnel_id

Tunnel ID.

Definition at line 97 of file tunnelX.h.

Referenced by example_ip_tunnel_add(), and example_vxlan_egress_tunnel_create().

opennsl_tunnel_type_t opennsl_tunnel_initiator_s::type

Tunnel type.

Definition at line 86 of file tunnelX.h.

Referenced by example_vxlan_egress_tunnel_create().

uint16 opennsl_tunnel_initiator_s::udp_dst_port

Destination UDP port.

Definition at line 98 of file tunnelX.h.

uint16 opennsl_tunnel_initiator_s::udp_src_port

Source UDP port.

Definition at line 99 of file tunnelX.h.

opennsl_vlan_t opennsl_tunnel_initiator_s::vlan

Tunnel VLAN.

Definition at line 102 of file tunnelX.h.

Referenced by example_vxlan_egress_tunnel_create().


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