OpenNSL API Guide and Reference Manual
Data Fields
opennsl_l3_egress_s Struct Reference

L3 Egress Structure. More...

#include <l3.h>

Data Fields

opennsl_if_t encap_id
 Encapsulation index.
 
uint32 flags
 Interface flags (OPENNSL_L3_TGID, OPENNSL_L3_L2TOCPU).
 
uint32 flags2
 See OPENNSL_L3_FLAGS2_xxx flag definitions.
 
opennsl_if_t intf
 L3 interface (source MAC, tunnel).
 
opennsl_mac_t mac_addr
 Next hop forwarding destination mac.
 
opennsl_module_t module
 
opennsl_port_t port
 Port packet switched to (if !OPENNSL_L3_TGID).
 
int qos_map_id
 General QOS map id.
 
uint32 reserved1
 
opennsl_if_t reserved10
 
opennsl_multicast_t reserved11
 
int reserved12
 
int reserved13
 
int reserved14
 
int reserved15
 
uint32 reserved16
 
uint16 reserved17
 
opennsl_vntag_t reserved18
 
opennsl_reserved_enum_t reserved19
 
opennsl_mpls_label_t reserved2
 
opennsl_etag_t reserved20
 
opennsl_reserved_enum_t reserved21
 
uint32 reserved22
 
uint32 reserved23
 
uint32 reserved24
 
opennsl_flow_logical_field_t reserved25 [OPENNSL_FLOW_MAX_NOF_LOGICAL_FIELDS]
 
uint32 reserved26
 
int reserved27
 
int reserved28
 
opennsl_l3_ingress_urpf_mode_t reserved29
 
opennsl_mpls_egress_action_t reserved3
 
int reserved4
 
int reserved5
 
uint8 reserved6
 
uint8 reserved7
 
uint8 reserved8
 
opennsl_failover_t reserved9
 
opennsl_trunk_t trunk
 Trunk packet switched to (if OPENNSL_L3_TGID).
 
opennsl_vlan_t vlan
 Next hop vlan id.
 

Detailed Description

L3 Egress Structure.

Description of an L3 forwarding destination.

Definition at line 127 of file l3.h.

Field Documentation

opennsl_if_t opennsl_l3_egress_s::encap_id

Encapsulation index.

Definition at line 149 of file l3.h.

Referenced by example_create_l3_egress(), and example_l3_egress_create().

uint32 opennsl_l3_egress_s::flags

Interface flags (OPENNSL_L3_TGID, OPENNSL_L3_L2TOCPU).

Definition at line 128 of file l3.h.

Referenced by example_create_l3_egress(), and example_l3_egress_create().

uint32 opennsl_l3_egress_s::flags2

See OPENNSL_L3_FLAGS2_xxx flag definitions.

Definition at line 130 of file l3.h.

Referenced by example_l3_egress_create().

opennsl_if_t opennsl_l3_egress_s::intf

L3 interface (source MAC, tunnel).

Definition at line 132 of file l3.h.

Referenced by example_create_l3_egress(), and example_l3_egress_create().

opennsl_mac_t opennsl_l3_egress_s::mac_addr

Next hop forwarding destination mac.

Definition at line 133 of file l3.h.

Referenced by example_create_l3_egress(), and example_l3_egress_create().

opennsl_module_t opennsl_l3_egress_s::module

Definition at line 135 of file l3.h.

Referenced by example_create_l3_egress().

opennsl_port_t opennsl_l3_egress_s::port

Port packet switched to (if !OPENNSL_L3_TGID).

Definition at line 136 of file l3.h.

Referenced by example_create_l3_egress(), and example_l3_egress_create().

int opennsl_l3_egress_s::qos_map_id

General QOS map id.

Definition at line 148 of file l3.h.

Referenced by example_l3_egress_create().

uint32 opennsl_l3_egress_s::reserved1

Definition at line 140 of file l3.h.

opennsl_if_t opennsl_l3_egress_s::reserved10

Definition at line 151 of file l3.h.

opennsl_multicast_t opennsl_l3_egress_s::reserved11

Definition at line 152 of file l3.h.

int opennsl_l3_egress_s::reserved12

Definition at line 153 of file l3.h.

int opennsl_l3_egress_s::reserved13

Definition at line 154 of file l3.h.

int opennsl_l3_egress_s::reserved14

Definition at line 155 of file l3.h.

int opennsl_l3_egress_s::reserved15

Definition at line 156 of file l3.h.

uint32 opennsl_l3_egress_s::reserved16

Definition at line 157 of file l3.h.

uint16 opennsl_l3_egress_s::reserved17

Definition at line 158 of file l3.h.

opennsl_vntag_t opennsl_l3_egress_s::reserved18

Definition at line 159 of file l3.h.

opennsl_reserved_enum_t opennsl_l3_egress_s::reserved19

Definition at line 160 of file l3.h.

opennsl_mpls_label_t opennsl_l3_egress_s::reserved2

Definition at line 141 of file l3.h.

opennsl_etag_t opennsl_l3_egress_s::reserved20

Definition at line 161 of file l3.h.

opennsl_reserved_enum_t opennsl_l3_egress_s::reserved21

Definition at line 162 of file l3.h.

uint32 opennsl_l3_egress_s::reserved22

Definition at line 163 of file l3.h.

uint32 opennsl_l3_egress_s::reserved23

Definition at line 164 of file l3.h.

uint32 opennsl_l3_egress_s::reserved24

Definition at line 165 of file l3.h.

Definition at line 166 of file l3.h.

uint32 opennsl_l3_egress_s::reserved26

Definition at line 167 of file l3.h.

int opennsl_l3_egress_s::reserved27

Definition at line 168 of file l3.h.

int opennsl_l3_egress_s::reserved28

Definition at line 169 of file l3.h.

opennsl_l3_ingress_urpf_mode_t opennsl_l3_egress_s::reserved29

Definition at line 170 of file l3.h.

opennsl_mpls_egress_action_t opennsl_l3_egress_s::reserved3

Definition at line 142 of file l3.h.

int opennsl_l3_egress_s::reserved4

Definition at line 143 of file l3.h.

int opennsl_l3_egress_s::reserved5

Definition at line 144 of file l3.h.

uint8 opennsl_l3_egress_s::reserved6

Definition at line 145 of file l3.h.

uint8 opennsl_l3_egress_s::reserved7

Definition at line 146 of file l3.h.

uint8 opennsl_l3_egress_s::reserved8

Definition at line 147 of file l3.h.

opennsl_failover_t opennsl_l3_egress_s::reserved9

Definition at line 150 of file l3.h.

opennsl_trunk_t opennsl_l3_egress_s::trunk

Trunk packet switched to (if OPENNSL_L3_TGID).

Definition at line 138 of file l3.h.

opennsl_vlan_t opennsl_l3_egress_s::vlan

Next hop vlan id.

Definition at line 134 of file l3.h.

Referenced by example_create_l3_egress(), and example_l3_egress_create().


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