38 #ifndef OPENAPI_ROUTING_STATS_H_INCLUDED
39 #define OPENAPI_ROUTING_STATS_H_INCLUDED
55 uint32_t bestRoutesHigh;
59 uint32_t leakedRoutes;
65 uint32_t rfc5549Routes;
68 uint32_t rejectRoutes;
79 uint32_t activeLocals;
84 uint32_t nextHopsHigh;
88 uint32_t nextHopGroups;
89 uint32_t nhGroupsHigh;
92 uint32_t ecmpGroupsHigh;
98 uint32_t hwFailureRoutes;
100 uint32_t kernelFailedAdds;
109 uint32_t numEcmpRoutes;
open_error_t openapiIpv4NumRoutingProtocolsGet(openapiClientHandle_t *client_handle, uint32_t *count)
Get the number of IPv4 routing protocols.
open_error_t openapiIpMapRouteTypeNameGet(openapiClientHandle_t *client_handle, uint32_t routeType, open_buffdesc *routeTypeName)
Get the name for a given route type.
open_error_t openapiNumEcmpRoutesGet(openapiClientHandle_t *client_handle, uint32_t *count)
Get the number of ECMP Routes.
open_error_t openapiIpv6EcmpRouteProtocolCountsGet(openapiClientHandle_t *client_handle, open_buffdesc *counts)
Get a table containing ECMP counts for each IPv6 routing protocol.
open_error_t openapiNumIpv6PrefixesGet(openapiClientHandle_t *client_handle, uint32_t *count)
Get the number of IPv6 prefixes.
open_error_t openapiIpMapRouteTypeNameLenGet(openapiClientHandle_t *client_handle, uint32_t *len)
Get the max route type name length.
open_error_t openapiIpMapDynamicProtoNextGet(openapiClientHandle_t *client_handle, uint32_t *protoId)
Iterate through the protocols that have been dynamically registered at run time.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiIpv4EcmpRouteProtocolCountsGet(openapiClientHandle_t *client_handle, open_buffdesc *vrf, open_buffdesc *counts)
Get a table containing ECMP counts for each IPv4 routing protocol.
OPEN_AF_t
OPEN uses these enumerators to indicate address family, IPV4 or IPV6.
open_error_t openapiIpv6NumRoutingProtocolsGet(openapiClientHandle_t *client_handle, uint32_t *count)
Get the number of IPv6 routing protocols.
open_error_t openapiIpMapProtoNameLenGet(openapiClientHandle_t *client_handle, uint32_t *len)
Get the max protocol name length.
OPEN_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
open_error_t openapiIpMapProtoNameGet(openapiClientHandle_t *client_handle, uint32_t protoId, open_buffdesc *protoName)
Get the name for a given protocol.
open_error_t openapiIpv6RouteTableStatsGet(openapiClientHandle_t *client_handle, OPEN_BOOL_t bestRoutes, openRouteStats_t *routeStats, open_buffdesc *numRoutes, open_buffdesc *ecmpHisto, open_buffdesc *prefixesNo)
Report IPv6 routing table statistics.
open_error_t openapiIpMapProtoRouteTypeNextGet(openapiClientHandle_t *client_handle, uint32_t protoId, uint32_t *routeType)
Iterate through the route types with a given protocol ID.
open_error_t openapiIpv4RouteTableStatsGet(openapiClientHandle_t *client_handle, open_buffdesc *vrfName, OPEN_BOOL_t bestRoutes, openRouteStats_t *routeStats, open_buffdesc *numRoutes, open_buffdesc *ecmpHisto)
Report IPv4 routing table statistics.
open_error_t openapiGetReportableRouteStats(openapiClientHandle_t *client_handle, uint64_t *ipv4Mask, uint64_t *ipv6Mask)
Get the IPv4/IPv6 reportable route stats masks.