OpenNSL API Guide and Reference Manual
Data Fields
opennsl_l3_route_s Struct Reference

L3 Route Structure. More...

#include <l3.h>

Data Fields

uint32 l3a_flags
 See OPENNSL_L3_xxx flag definitions.
 
opennsl_if_t l3a_intf
 L3 interface associated with route.
 
opennsl_ip6_t l3a_ip6_mask
 IP subnet mask (IPv6).
 
opennsl_ip6_t l3a_ip6_net
 IP subnet address (IPv6).
 
opennsl_ip_t l3a_ip_mask
 IP subnet mask (IPv4).
 
opennsl_port_t l3a_port_tgid
 Port or trunk group ID.
 
opennsl_cos_t l3a_pri
 Priority (COS).
 
opennsl_ip_t l3a_subnet
 IP subnet address (IPv4).
 
opennsl_vrf_t l3a_vrf
 Virtual router instance.
 
uint32 reserved1
 
int reserved10
 
opennsl_if_t reserved11
 
int reserved12
 
opennsl_multicast_t reserved13
 
opennsl_gport_t reserved14
 
uint32 reserved15
 
uint32 reserved16
 
opennsl_flow_logical_field_t reserved17 [OPENNSL_FLOW_MAX_NOF_LOGICAL_FIELDS]
 
uint32 reserved18
 
uint32 reserved2
 
opennsl_ip_t reserved3
 
opennsl_mac_t reserved4
 
opennsl_module_t reserved5
 
opennsl_port_t reserved6
 
opennsl_vlan_t reserved7
 
uint32 reserved8
 
opennsl_mpls_label_t reserved9
 

Detailed Description

L3 Route Structure.

Contains information required for manipulating L3 route table entries.

The OPENNSL_L3_IP6 flag in l3a_flags must be set to specify whether the IPv4 or IPv6 addresses are valid.

Definition at line 234 of file l3.h.

Field Documentation

uint32 opennsl_l3_route_s::l3a_flags

See OPENNSL_L3_xxx flag definitions.

Definition at line 235 of file l3.h.

Referenced by example_route_add(), and example_set_default_route().

opennsl_if_t opennsl_l3_route_s::l3a_intf

L3 interface associated with route.

Definition at line 243 of file l3.h.

Referenced by example_route_add(), and example_set_default_route().

opennsl_ip6_t opennsl_l3_route_s::l3a_ip6_mask

IP subnet mask (IPv6).

Definition at line 242 of file l3.h.

opennsl_ip6_t opennsl_l3_route_s::l3a_ip6_net

IP subnet address (IPv6).

Definition at line 240 of file l3.h.

opennsl_ip_t opennsl_l3_route_s::l3a_ip_mask

IP subnet mask (IPv4).

Definition at line 241 of file l3.h.

Referenced by example_route_add(), and example_set_default_route().

opennsl_port_t opennsl_l3_route_s::l3a_port_tgid

Port or trunk group ID.

Definition at line 247 of file l3.h.

Referenced by example_route_add(), and example_set_default_route().

opennsl_cos_t opennsl_l3_route_s::l3a_pri

Priority (COS).

Definition at line 250 of file l3.h.

opennsl_ip_t opennsl_l3_route_s::l3a_subnet

IP subnet address (IPv4).

Definition at line 239 of file l3.h.

Referenced by example_route_add(), and example_set_default_route().

opennsl_vrf_t opennsl_l3_route_s::l3a_vrf

Virtual router instance.

Definition at line 238 of file l3.h.

Referenced by example_route_add().

uint32 opennsl_l3_route_s::reserved1

Definition at line 236 of file l3.h.

int opennsl_l3_route_s::reserved10

Definition at line 253 of file l3.h.

opennsl_if_t opennsl_l3_route_s::reserved11

Definition at line 254 of file l3.h.

int opennsl_l3_route_s::reserved12

Definition at line 255 of file l3.h.

opennsl_multicast_t opennsl_l3_route_s::reserved13

Definition at line 256 of file l3.h.

opennsl_gport_t opennsl_l3_route_s::reserved14

Definition at line 257 of file l3.h.

uint32 opennsl_l3_route_s::reserved15

Definition at line 258 of file l3.h.

uint32 opennsl_l3_route_s::reserved16

Definition at line 259 of file l3.h.

Definition at line 260 of file l3.h.

uint32 opennsl_l3_route_s::reserved18

Definition at line 261 of file l3.h.

uint32 opennsl_l3_route_s::reserved2

Definition at line 237 of file l3.h.

opennsl_ip_t opennsl_l3_route_s::reserved3

Definition at line 244 of file l3.h.

opennsl_mac_t opennsl_l3_route_s::reserved4

Definition at line 245 of file l3.h.

opennsl_module_t opennsl_l3_route_s::reserved5

Definition at line 246 of file l3.h.

opennsl_port_t opennsl_l3_route_s::reserved6

Definition at line 248 of file l3.h.

opennsl_vlan_t opennsl_l3_route_s::reserved7

Definition at line 249 of file l3.h.

uint32 opennsl_l3_route_s::reserved8

Definition at line 251 of file l3.h.

opennsl_mpls_label_t opennsl_l3_route_s::reserved9

Definition at line 252 of file l3.h.


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