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

Data Fields

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

Detailed Description

Examples:
openr_example.c.

Definition at line 248 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 252 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 271 of file openapi_routing.h.

uint8_t openRoute_s::leakedRoute

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

Definition at line 285 of file openapi_routing.h.

uint32_t openRoute_s::metric

Route metric.

Examples:
openr_example.c.

Definition at line 279 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 276 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 263 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 267 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 257 of file openapi_routing.h.


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