38 #ifndef OPENAPI_IP_ROUTE_TABLE_H_INCLUDED
39 #define OPENAPI_IP_ROUTE_TABLE_H_INCLUDED
43 #define OPEN_API_ROUTE_PREF_MIN 0
44 #define OPEN_API_ROUTE_PREF_MAX 255
45 #define OPEN_API_ROUTE_NEXT_HOP_INTF_BUF_MIN ((16 * 60) + 1)
46 #define OPEN_API_ROUTE_NEXT_HOP_ADDR_BUF_MIN ((16 * 20) + 1)
128 uint32_t *routePref);
open_error_t openapiIpRouteNextHopAddrGet(openapiClientHandle_t *client_handle, uint32_t *routeDest, uint32_t *routeMask, OPEN_RTO_PROTOCOL_INDICES_t *routeProto, uint32_t *routePref, open_buffdesc *nextHopAddr)
Gets the comma separated list of the IP addresses of the next hop of this route.
OSPFV3 nssa type 2 ext route.
OSPF NSSA External Type 1.
Learnt from external third party entity via netlink.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiIpRouteNextHopIntfGet(openapiClientHandle_t *client_handle, uint32_t *routeDest, uint32_t *routeMask, OPEN_RTO_PROTOCOL_INDICES_t *routeProto, uint32_t *routePref, open_buffdesc *nextHopIntf)
Gets the comma separated list of the local interfaces through which the next hop of this route should...
OSPFv3 NSSA External Type 2.
OPEN_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
open_error_t openapiIpRouteAgeGet(openapiClientHandle_t *client_handle, uint32_t *routeDest, uint32_t *routeMask, OPEN_RTO_PROTOCOL_INDICES_t *routeProto, uint32_t *routePref, uint32_t *routeAge)
Gets the number of seconds since this route was last updated or otherwise determined to be correct...
open_error_t openapiIpRouteMetricGet(openapiClientHandle_t *client_handle, uint32_t *routeDest, uint32_t *routeMask, OPEN_RTO_PROTOCOL_INDICES_t *routeProto, uint32_t *routePref, uint32_t *metric)
Gets the primary routing metric for this route.
OSPFV3 nssa type 1 ext route.
OPEN_RTO_PROTOCOL_INDICES_t
OSPFv3 NSSA External Type 1.
OSPF NSSA External Type 2.
open_error_t openapiIpRouteHwFailureGet(openapiClientHandle_t *client_handle, uint32_t *routeDest, uint32_t *routeMask, OPEN_RTO_PROTOCOL_INDICES_t *routeProto, uint32_t *routePref, OPEN_BOOL_t *hwFailure)
Gets the hardware failure flag for this route.
OPEN_RTO6_ROUTE_TYPE_INDICES_t
open_error_t openapiIpRouteEntryGetNext(openapiClientHandle_t *client_handle, uint32_t *routeDest, uint32_t *routeMask, OPEN_RTO_PROTOCOL_INDICES_t *routeProto, uint32_t *routePref)
Gets the next route entry for the specified route destination.
local BGP routes, e.g., reject routes for aggregates