OpenNSL API Guide and Reference Manual
|
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 |
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.
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 |
opennsl_ip6_t opennsl_l3_route_s::l3a_ip6_net |
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 |
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 |
opennsl_if_t opennsl_l3_route_s::reserved11 |
opennsl_multicast_t opennsl_l3_route_s::reserved13 |
opennsl_gport_t opennsl_l3_route_s::reserved14 |
opennsl_flow_logical_field_t opennsl_l3_route_s::reserved17[OPENNSL_FLOW_MAX_NOF_LOGICAL_FIELDS] |
opennsl_ip_t opennsl_l3_route_s::reserved3 |
opennsl_mac_t opennsl_l3_route_s::reserved4 |
opennsl_module_t opennsl_l3_route_s::reserved5 |
opennsl_port_t opennsl_l3_route_s::reserved6 |
opennsl_vlan_t opennsl_l3_route_s::reserved7 |
opennsl_mpls_label_t opennsl_l3_route_s::reserved9 |