OpenNSL API Guide and Reference Manual
Data Fields
opennsl_l3_host_s Struct Reference

L3 Host Structure. More...

#include <l3.h>

Data Fields

uint32 l3a_flags
 See OPENNSL_L3_xxx flag definitions.
 
opennsl_if_t l3a_intf
 L3 intf associated with this address.
 
opennsl_ip6_t l3a_ip6_addr
 Destination host IP address (IPv6).
 
opennsl_ip_t l3a_ip_addr
 Destination host IP address (IPv4).
 
opennsl_mac_t l3a_nexthop_mac
 Next hop MAC addr.
 
opennsl_port_t l3a_port_tgid
 Port/TGID packet is switched to.
 
opennsl_cos_t l3a_pri
 New priority in packet.
 
opennsl_vrf_t l3a_vrf
 Virtual router instance.
 
uint32 reserved1
 
opennsl_flow_logical_field_t reserved10 [OPENNSL_FLOW_MAX_NOF_LOGICAL_FIELDS]
 
uint32 reserved11
 
opennsl_module_t reserved2
 
opennsl_port_t reserved3
 
int reserved4
 
int reserved5
 
opennsl_if_t reserved6
 
opennsl_if_t reserved7
 
uint32 reserved8
 
uint32 reserved9
 

Detailed Description

L3 Host Structure.

Contains information required for manipulating L3 host 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 203 of file l3.h.

Field Documentation

uint32 opennsl_l3_host_s::l3a_flags

See OPENNSL_L3_xxx flag definitions.

Definition at line 204 of file l3.h.

Referenced by example_add_host(), and example_host_add().

opennsl_if_t opennsl_l3_host_s::l3a_intf

L3 intf associated with this address.

Definition at line 210 of file l3.h.

Referenced by example_add_host(), and example_host_add().

opennsl_ip6_t opennsl_l3_host_s::l3a_ip6_addr

Destination host IP address (IPv6).

Definition at line 208 of file l3.h.

opennsl_ip_t opennsl_l3_host_s::l3a_ip_addr

Destination host IP address (IPv4).

Definition at line 207 of file l3.h.

Referenced by example_add_host(), and example_host_add().

opennsl_mac_t opennsl_l3_host_s::l3a_nexthop_mac

Next hop MAC addr.

Definition at line 211 of file l3.h.

opennsl_port_t opennsl_l3_host_s::l3a_port_tgid

Port/TGID packet is switched to.

Definition at line 213 of file l3.h.

Referenced by example_add_host(), and example_host_add().

opennsl_cos_t opennsl_l3_host_s::l3a_pri

New priority in packet.

Definition at line 209 of file l3.h.

opennsl_vrf_t opennsl_l3_host_s::l3a_vrf

Virtual router instance.

Definition at line 206 of file l3.h.

Referenced by example_host_add().

uint32 opennsl_l3_host_s::reserved1

Definition at line 205 of file l3.h.

Definition at line 221 of file l3.h.

uint32 opennsl_l3_host_s::reserved11

Definition at line 222 of file l3.h.

opennsl_module_t opennsl_l3_host_s::reserved2

Definition at line 212 of file l3.h.

opennsl_port_t opennsl_l3_host_s::reserved3

Definition at line 214 of file l3.h.

int opennsl_l3_host_s::reserved4

Definition at line 215 of file l3.h.

int opennsl_l3_host_s::reserved5

Definition at line 216 of file l3.h.

opennsl_if_t opennsl_l3_host_s::reserved6

Definition at line 217 of file l3.h.

opennsl_if_t opennsl_l3_host_s::reserved7

Definition at line 218 of file l3.h.

uint32 opennsl_l3_host_s::reserved8

Definition at line 219 of file l3.h.

uint32 opennsl_l3_host_s::reserved9

Definition at line 220 of file l3.h.


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