|
Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.4.4.5
|
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 |
Definition at line 248 of file openapi_routing.h.
| open_inet_addr_t openRoute_s::destPfx |
Destination prefix and prefix length.
Prefix length range is determined by the address family.
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 |
| 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.
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
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.
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."
Definition at line 257 of file openapi_routing.h.