stats.h
net/opt.h
net/arch/cc.h
net/memp.h
src/sys/net/net/bot.c
src/sys/net/net/shell.c
src/sys/net/net/sys_arch.c
src/sys/include/net/stats.h
ubixos/types.h
sys/_types.h
net/lwipopts.h
net/memp.h
net/opt.h
net/debug.h
net/arch/cc.h
src/sys/include/net/stats.h
src/sys/net/net/sys_arch.c
src/sys/net/net/bot.c
src/sys/net/net/shell.c
void void stats_init (void) stats_init void

    /*
    *Copyright(c)2001,SwedishInstituteofComputerScience.
    *Allrightsreserved.
    *
    *Redistributionanduseinsourceandbinaryforms,withorwithout
    *modification,arepermittedprovidedthatthefollowingconditions
    *aremet:
    *1.Redistributionsofsourcecodemustretaintheabovecopyright
    *notice,thislistofconditionsandthefollowingdisclaimer.
    *2.Redistributionsinbinaryformmustreproducetheabovecopyright
    *notice,thislistofconditionsandthefollowingdisclaimerinthe
    *documentationand/orothermaterialsprovidedwiththedistribution.
    *3.NeitherthenameoftheInstitutenorthenamesofitscontributors
    *maybeusedtoendorseorpromoteproductsderivedfromthissoftware
    *withoutspecificpriorwrittenpermission.
    *
    *THISSOFTWAREISPROVIDEDBYTHEINSTITUTEANDCONTRIBUTORS``ASIS''AND
    *ANYEXPRESSORIMPLIEDWARRANTIES,INCLUDING,BUTNOTLIMITEDTO,THE
    *IMPLIEDWARRANTIESOFMERCHANTABILITYANDFITNESSFORAPARTICULARPURPOSE
    *AREDISCLAIMED.INNOEVENTSHALLTHEINSTITUTEORCONTRIBUTORSBELIABLE
    *FORANYDIRECT,INDIRECT,INCIDENTAL,SPECIAL,EXEMPLARY,ORCONSEQUENTIAL
    *DAMAGES(INCLUDING,BUTNOTLIMITEDTO,PROCUREMENTOFSUBSTITUTEGOODS
    *ORSERVICES;LOSSOFUSE,DATA,ORPROFITS;ORBUSINESSINTERRUPTION)
    *HOWEVERCAUSEDANDONANYTHEORYOFLIABILITY,WHETHERINCONTRACT,STRICT
    *LIABILITY,ORTORT(INCLUDINGNEGLIGENCEOROTHERWISE)ARISINGINANYWAY
    *OUTOFTHEUSEOFTHISSOFTWARE,EVENIFADVISEDOFTHEPOSSIBILITYOF
    *SUCHDAMAGE.
    *
    *ThisfileispartofthelwIPTCP/IPstack.
    *
    *Author:AdamDunkels<adam@sics.se>
    *
    *$Id: stats_8h.xml 88 2016-01-12 00:11:29Z reddawg $
    */
    #ifndef__LWIP_STATS_H__
    #define__LWIP_STATS_H__

    #include"net/opt.h"
    #include"net/arch/cc.h"

    #include"net/memp.h"

    #ifdefSTATS

    structstats_proto{
    uInt16xmit;/*Transmittedpackets.*/
    uInt16rexmit;/*Retransmittedpackets.*/
    uInt16recv;/*Receivedpackets.*/
    uInt16fw;/*Forwardedpackets.*/
    uInt16drop;/*Droppedpackets.*/
    uInt16chkerr;/*Checksumerror.*/
    uInt16lenerr;/*Invalidlengtherror.*/
    uInt16memerr;/*Outofmemoryerror.*/
    uInt16rterr;/*Routingerror.*/
    uInt16proterr;/*Protocolerror.*/
    uInt16opterr;/*Errorinoptions.*/
    uInt16err;/*Miscerror.*/
    uInt16cachehit;
    };

    structstats_mem{
    uInt16avail;
    uInt16used;
    uInt16max;
    uInt16err;
    uInt16reclaimed;
    };

    structstats_pbuf{
    uInt16avail;
    uInt16used;
    uInt16max;
    uInt16err;
    uInt16reclaimed;

    uInt16alloc_locked;
    uInt16refresh_locked;
    };

    structstats_syselem{
    uInt16used;
    uInt16max;
    uInt16err;
    };

    structstats_sys{
    structstats_syselemsem;
    structstats_syselemmbox;
    };

    structstats_{
    structstats_protolink;
    structstats_protoip;
    structstats_protoicmp;
    structstats_protoudp;
    structstats_prototcp;
    structstats_pbufpbuf;
    structstats_memmem;
    structstats_memmemp[MEMP_MAX];
    structstats_syssys;
    };

    externstructstats_stats;

    #endif/*STATS*/

    voidstats_init(void);
    #endif/*__LWIP_STATS_H__*/