Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.9.0.2
Data Fields

Data Fields

open_inet_addr_t destPfx
 Destination prefix and prefix length.
 
uint8_t discardRoute
 if not 0, this is a discard route.
 
uint8_t leakedRoute
 Flag to indicate if this route is leaked from another VR.
 
uint32_t metric
 Route metric.
 
uint8_t mplsRoute
 
uint32_t numNextHops
 Number of nexthops in the route.
 
uint8_t pfxLen
 
uint8_t pref
 Route preference (also called administrative distance).
 
uint32_t protoId
 Protocol ID assigned by FASTPATH to the routing protocol that added this route.
 
uint8_t rejectRoute
 if not 0, this is a reject route.
 
uint8_t rfc5549Route
 
uint8_t routeType
 Type of route.
 
uint8_t syncdbRoute
 
uint8_t unnumberedRoute
 
uint32_t vrfId
 VRF Identifier.
 

Detailed Description

Examples:
openr_example.c.

Definition at line 256 of file openapi_routing.h.

Field Documentation

open_inet_addr_t openRoute_s::destPfx

Destination prefix and prefix length.

Prefix length range is determined by the address family.

Examples:
openr_example.c.

Definition at line 260 of file openapi_routing.h.

uint8_t openRoute_s::discardRoute

if not 0, this is a discard route.

Matching packets are dropped and not forwarded by hardware. No ICMP Error Message will be generated for the such rejected packets.

Definition at line 283 of file openapi_routing.h.

uint8_t openRoute_s::leakedRoute

Flag to indicate if this route is leaked from another VR.

Definition at line 297 of file openapi_routing.h.

uint32_t openRoute_s::metric

Route metric.

Examples:
openr_example.c.

Definition at line 291 of file openapi_routing.h.

uint8_t openRoute_s::pref

Route preference (also called administrative distance).

[0 to 255]. 0 is reserved for local (connected) routes. A route with a preference of 255 is considered unreachable and is not installed in the forwarding table.

Examples:
openr_example.c.

Definition at line 288 of file openapi_routing.h.

uint32_t openRoute_s::protoId

Protocol ID assigned by FASTPATH to the routing protocol that added this route.

The protoId uniquely identifies a routing protocol. Different route types may be originated by the same routing protocol

Examples:
openr_example.c.

Definition at line 271 of file openapi_routing.h.

uint8_t openRoute_s::rejectRoute

if not 0, this is a reject route.

Matching packets are dropped and not forwarded by software. ICMP Error Message will be generated for the such rejected packets.

Examples:
openr_example.c.

Definition at line 279 of file openapi_routing.h.

uint8_t openRoute_s::routeType

Type of route.

Specifies both the protocol and its internal type, such as "OSPF intra-area route" or "external BGP route."

Examples:
openr_example.c.

Definition at line 265 of file openapi_routing.h.


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