Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.6.0.3
Data Structures | Typedefs | Functions
openapi_routing_stats.h File Reference
#include <stdio.h>
#include <stddef.h>
#include <sys/un.h>
#include "openapi_common.h"
#include "openapi_ip_route_table.h"

Go to the source code of this file.

Data Structures

struct  openEcmpRouteProtocolCount_s
 
struct  openRouteStats_s
 

Typedefs

typedef struct openEcmpRouteProtocolCount_s openEcmpRouteProtocolCount_t
 
typedef struct openRouteStats_s openRouteStats_t
 

Functions

open_error_t openapiGetReportableRouteStats (openapiClientHandle_t *client_handle, uint64_t *ipv4Mask, uint64_t *ipv6Mask)
 Get the IPv4/IPv6 reportable route stats masks. More...
 
open_error_t openapiIpMapDynamicProtoNextGet (openapiClientHandle_t *client_handle, uint32_t *protoId)
 Iterate through the protocols that have been dynamically registered at run time. More...
 
open_error_t openapiIpMapProtoNameGet (openapiClientHandle_t *client_handle, uint32_t protoId, open_buffdesc *protoName)
 Get the name for a given protocol. More...
 
open_error_t openapiIpMapProtoNameLenGet (openapiClientHandle_t *client_handle, uint32_t *len)
 Get the max protocol name length. More...
 
open_error_t openapiIpMapProtoRouteTypeNextGet (openapiClientHandle_t *client_handle, uint32_t protoId, uint32_t *routeType)
 Iterate through the route types with a given protocol ID. More...
 
open_error_t openapiIpMapRouteTypeNameGet (openapiClientHandle_t *client_handle, uint32_t routeType, open_buffdesc *routeTypeName)
 Get the name for a given route type. More...
 
open_error_t openapiIpMapRouteTypeNameLenGet (openapiClientHandle_t *client_handle, uint32_t *len)
 Get the max route type name length. More...
 
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. More...
 
open_error_t openapiIpv4NumRoutingProtocolsGet (openapiClientHandle_t *client_handle, uint32_t *count)
 Get the number of IPv4 routing protocols. More...
 
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. More...
 
open_error_t openapiIpv6EcmpRouteProtocolCountsGet (openapiClientHandle_t *client_handle, open_buffdesc *counts)
 Get a table containing ECMP counts for each IPv6 routing protocol. More...
 
open_error_t openapiIpv6NumRoutingProtocolsGet (openapiClientHandle_t *client_handle, uint32_t *count)
 Get the number of IPv6 routing protocols. More...
 
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. More...
 
open_error_t openapiNumEcmpRoutesGet (openapiClientHandle_t *client_handle, uint32_t *count)
 Get the number of ECMP Routes. More...
 
open_error_t openapiNumIpv6PrefixesGet (openapiClientHandle_t *client_handle, uint32_t *count)
 Get the number of IPv6 prefixes. More...