|
OpenNSL API Guide and Reference Manual
|
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 |
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.
| 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 |
| 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 |
| 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 |
| opennsl_vrf_t opennsl_l3_host_s::l3a_vrf |
| opennsl_flow_logical_field_t opennsl_l3_host_s::reserved10[OPENNSL_FLOW_MAX_NOF_LOGICAL_FIELDS] |
| opennsl_module_t opennsl_l3_host_s::reserved2 |
| opennsl_port_t opennsl_l3_host_s::reserved3 |
| opennsl_if_t opennsl_l3_host_s::reserved6 |
| opennsl_if_t opennsl_l3_host_s::reserved7 |