⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ospstatistics.h

📁 mgcp协议源代码。支持多种编码:g711
💻 H
字号:
/**########################################################################*########################################################################*########################################################################*                                                               *   COPYRIGHT (c) 1998, 1999 by TransNexus, LLC                          *                                                                    *   This software contains proprietary and confidential information  *   of TransNexus, LLC. Except as may be set forth in the license    *   agreement under which this software is supplied, use, disclosure, *   or reproduction is prohibited without the prior, express, written*   consent of TransNexus, LLC.                                      *                                     *******#########################################################################*#########################################################################*#########################################################################*//* * ospstatistics.h - Statistics elements. */#ifndef _OSPSTATISTICS_H#define _OSPSTATISTICS_H#include "osp.h"/* Basic structure for TN statistics */typedef struct{    OSPTBOOL        ospmHasSentStats;    unsigned        ospmLossPacketsSent;    unsigned        ospmLossFractionSent;    OSPTBOOL        ospmHasReceivedStats;    unsigned        ospmLossPacketsReceived;    unsigned        ospmLossFractionReceived;    OSPTBOOL        ospmHasOneWay;    OSPTDELAY       ospmOneWay;    OSPTBOOL        ospmHasRoundTrip;    OSPTDELAY       ospmRoundTrip;}OSPTSTATISTICS;#ifdef __cplusplusextern "C" {#endif    /* Function Prototypes */    void            OSPPStatisticsDelete(OSPTSTATISTICS **);    signed          OSPPStatisticsGetFracReceived(OSPTSTATISTICS  *);    signed          OSPPStatisticsGetFracSent(OSPTSTATISTICS  *);    unsigned        OSPPStatisticsGetOneWayMinimum(OSPTSTATISTICS  *);    unsigned        OSPPStatisticsGetOneWayMean(OSPTSTATISTICS  *);    unsigned        OSPPStatisticsGetOneWaySamples(OSPTSTATISTICS  *);    float           OSPPStatisticsGetOneWayVariance(OSPTSTATISTICS  *);    unsigned        OSPPStatisticsGetPktReceived(OSPTSTATISTICS  *);    unsigned        OSPPStatisticsGetPktSent(OSPTSTATISTICS  *);    unsigned        OSPPStatisticsGetRoundTripMinimum(OSPTSTATISTICS  *);    unsigned        OSPPStatisticsGetRoundTripMean(OSPTSTATISTICS  *);    unsigned        OSPPStatisticsGetRoundTripSamples(OSPTSTATISTICS  *);    float           OSPPStatisticsGetRoundTripVariance(OSPTSTATISTICS  *);    OSPTBOOL        OSPPStatisticsHasLossReceived(OSPTSTATISTICS *);    OSPTBOOL        OSPPStatisticsHasLossSent(OSPTSTATISTICS *);    OSPTBOOL        OSPPStatisticsHasOneWay(OSPTSTATISTICS *);    OSPTBOOL        OSPPStatisticsHasRoundTrip(OSPTSTATISTICS *);    int             OSPPStatisticsLossReceivedToElement(OSPTSTATISTICS *,                                                         OSPTXMLELEM    **);    int             OSPPStatisticsLossSentToElement(OSPTSTATISTICS *,                                                     OSPTXMLELEM    **);    OSPTSTATISTICS  *OSPPStatisticsNew(void);    int             OSPPStatisticsOneWayToElement(OSPTSTATISTICS  *,                                                  OSPTXMLELEM     **);    int             OSPPStatisticsRoundTripToElement(OSPTSTATISTICS  *,                                                    OSPTXMLELEM     **);    int             OSPPStatisticsReportUsage(OSPTSTATISTICS **, unsigned,                                               signed, unsigned, signed);    void            OSPPStatisticsSetReceivedStatistics(OSPTSTATISTICS *,                                                   unsigned, signed);    void            OSPPStatisticsSetSentStatistics(OSPTSTATISTICS *,                                                   unsigned, signed);    int             OSPPStatisticsToElement(OSPTSTATISTICS  *,                                            OSPTXMLELEM     **);#ifdef __cplusplus}#endif#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -