<?xml version='1.0' encoding='UTF-8' standalone='no'?> <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.16"> <compounddef id="stats_8h" kind="file" language="C++"> <compoundname>stats.h</compoundname> <includes refid="opt_8h" local="no">net/opt.h</includes> <includes refid="mem_8h" local="no">net/mem.h</includes> <includes refid="memp_8h" local="no">net/memp.h</includes> <includedby refid="memp_8h" local="no">C:/Dev/git/UbixOS/sys/include/net/memp.h</includedby> <includedby refid="netif_8h" local="no">C:/Dev/git/UbixOS/sys/include/net/netif.h</includedby> <includedby refid="core_2init_8c" local="yes">C:/Dev/git/UbixOS/sys/net/core/init.c</includedby> <includedby refid="ip6__frag_8c" local="yes">C:/Dev/git/UbixOS/sys/net/core/ipv6/ip6_frag.c</includedby> <includedby refid="mem_8c" local="yes">C:/Dev/git/UbixOS/sys/net/core/mem.c</includedby> <includedby refid="memp_8c" local="yes">C:/Dev/git/UbixOS/sys/net/core/memp.c</includedby> <includedby refid="netif_8c" local="yes">C:/Dev/git/UbixOS/sys/net/core/netif.c</includedby> <includedby refid="pbuf_8c" local="yes">C:/Dev/git/UbixOS/sys/net/core/pbuf.c</includedby> <includedby refid="bot_8c" local="yes">C:/Dev/git/UbixOS/sys/net/net/bot.c</includedby> <includedby refid="shell_8c" local="yes">C:/Dev/git/UbixOS/sys/net/net/shell.c</includedby> <includedby refid="sys__arch_8c" local="yes">C:/Dev/git/UbixOS/sys/net/net/sys_arch.c</includedby> <includedby refid="ethernetif_8c" local="yes">C:/Dev/git/UbixOS/sys/net/netif/ethernetif.c</includedby> <incdepgraph> <node id="17"> <label>stdarg.h</label> <link refid="stdarg_8h"/> </node> <node id="18"> <label>ubixos/kpanic.h</label> <link refid="kpanic_8h"/> </node> <node id="15"> <label>sys/io.h</label> <link refid="io_8h"/> </node> <node id="22"> <label>net/priv/memp_priv.h</label> <link refid="memp__priv_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="19" relation="include"> </childnode> </node> <node id="8"> <label>sys/select.h</label> <link refid="select_8h"/> <childnode refid="9" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="10" relation="include"> </childnode> <childnode refid="11" relation="include"> </childnode> <childnode refid="12" relation="include"> </childnode> </node> <node id="13"> <label>net/arch/cc.h</label> <link refid="cc_8h"/> <childnode refid="14" relation="include"> </childnode> </node> <node id="12"> <label>sys/_sigset.h</label> <link refid="__sigset_8h"/> <childnode refid="7" relation="include"> </childnode> </node> <node id="19"> <label>net/mem.h</label> <link refid="mem_8h"/> <childnode refid="2" relation="include"> </childnode> </node> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/net/stats.h</label> <link refid="stats_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="19" relation="include"> </childnode> <childnode refid="20" relation="include"> </childnode> </node> <node id="3"> <label>net/lwipopts.h</label> <link refid="lwipopts_8h"/> </node> <node id="6"> <label>sys/types.h</label> <link refid="include_2sys_2types_8h"/> <childnode refid="7" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> </node> <node id="5"> <label>net/arch.h</label> <link refid="arch_8h"/> <childnode refid="6" relation="include"> </childnode> <childnode refid="13" relation="include"> </childnode> <childnode refid="16" relation="include"> </childnode> <childnode refid="18" relation="include"> </childnode> </node> <node id="2"> <label>net/opt.h</label> <link refid="opt_8h"/> <childnode refid="3" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> </node> <node id="16"> <label>lib/kprintf.h</label> <link refid="kprintf_8h"/> <childnode refid="6" relation="include"> </childnode> <childnode refid="17" relation="include"> </childnode> </node> <node id="4"> <label>net/debug.h</label> <link refid="debug_8h"/> <childnode refid="5" relation="include"> </childnode> <childnode refid="2" relation="include"> </childnode> </node> <node id="21"> <label>net/priv/memp_std.h</label> <link refid="memp__std_8h"/> </node> <node id="9"> <label>sys/cdefs.h</label> <link refid="cdefs_8h"/> </node> <node id="14"> <label>ubixos/time.h</label> <link refid="time_8h"/> <childnode refid="6" relation="include"> </childnode> <childnode refid="10" relation="include"> </childnode> <childnode refid="15" relation="include"> </childnode> </node> <node id="7"> <label>sys/_types.h</label> <link refid="__types_8h"/> </node> <node id="10"> <label>sys/_timespec.h</label> <link refid="__timespec_8h"/> <childnode refid="7" relation="include"> </childnode> </node> <node id="11"> <label>sys/_timeval.h</label> <link refid="__timeval_8h"/> <childnode refid="7" relation="include"> </childnode> </node> <node id="20"> <label>net/memp.h</label> <link refid="memp_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="21" relation="include"> </childnode> <childnode refid="22" relation="include"> </childnode> <childnode refid="1" relation="include"> </childnode> </node> </incdepgraph> <invincdepgraph> <node id="5"> <label>C:/Dev/git/UbixOS/sys/net/core/ipv6/ip6_frag.c</label> <link refid="ip6__frag_8c"/> </node> <node id="13"> <label>C:/Dev/git/UbixOS/sys/include/net/igmp.h</label> <link refid="igmp_8h"/> <childnode refid="4" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="14" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> </node> <node id="54"> <label>C:/Dev/git/UbixOS/sys/lib/ogprintf.cc</label> <link refid="ogprintf_8cc"/> </node> <node id="35"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/block.c</label> <link refid="block_8c"/> </node> <node id="71"> <label>C:/Dev/git/UbixOS/sys/net/net/bot.c</label> <link refid="bot_8c"/> </node> <node id="55"> <label>C:/Dev/git/UbixOS/sys/sde/colours.cc</label> <link refid="colours_8cc"/> </node> <node id="20"> <label>C:/Dev/git/UbixOS/sys/init/main.c</label> <link refid="main_8c"/> </node> <node id="70"> <label>C:/Dev/git/UbixOS/sys/net/core/mem.c</label> <link refid="mem_8c"/> </node> <node id="36"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/dirCache.c</label> <link refid="dirCache_8c"/> </node> <node id="42"> <label>C:/Dev/git/UbixOS/sys/arch/armv6/fork.c</label> <link refid="armv6_2fork_8c"/> </node> <node id="57"> <label>C:/Dev/git/UbixOS/sys/sde/sde.cc</label> <link refid="sde_8cc"/> </node> <node id="56"> <label>C:/Dev/git/UbixOS/sys/sde/main.cc</label> <link refid="main_8cc"/> </node> <node id="29"> <label>C:/Dev/git/UbixOS/sys/fs/vfs/inode.c</label> <link refid="inode_8c"/> </node> <node id="47"> <label>C:/Dev/git/UbixOS/sys/isa/atkbd.c</label> <link refid="atkbd_8c"/> </node> <node id="3"> <label>C:/Dev/git/UbixOS/sys/net/api/tcpip.c</label> <link refid="tcpip_8c"/> </node> <node id="69"> <label>C:/Dev/git/UbixOS/sys/include/netif/slipif.h</label> <link refid="slipif_8h"/> </node> <node id="23"> <label>C:/Dev/git/UbixOS/sys/fs/fat/fat.c</label> <link refid="fat_8c"/> </node> <node id="18"> <label>C:/Dev/git/UbixOS/sys/include/net/net.h</label> <link refid="net_8h"/> <childnode refid="19" relation="include"> </childnode> <childnode refid="21" relation="include"> </childnode> <childnode refid="63" relation="include"> </childnode> </node> <node id="28"> <label>C:/Dev/git/UbixOS/sys/fs/vfs/file.c</label> <link refid="file_8c"/> </node> <node id="11"> <label>C:/Dev/git/UbixOS/sys/include/net/icmp.h</label> <link refid="icmp_8h"/> </node> <node id="37"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/directory.c</label> <link refid="directory_8c"/> </node> <node id="12"> <label>C:/Dev/git/UbixOS/sys/include/net/icmp6.h</label> <link refid="icmp6_8h"/> <childnode refid="5" relation="include"> </childnode> </node> <node id="73"> <label>C:/Dev/git/UbixOS/sys/net/net/sys_arch.c</label> <link refid="sys__arch_8c"/> </node> <node id="31"> <label>C:/Dev/git/UbixOS/sys/fs/vfs/vfs.c</label> <link refid="vfs_8c"/> </node> <node id="49"> <label>C:/Dev/git/UbixOS/sys/kernel/endtask.c</label> <link refid="endtask_8c"/> </node> <node id="63"> <label>C:/Dev/git/UbixOS/sys/pci/lnc.c</label> <link refid="lnc_8c"/> </node> <node id="62"> <label>C:/Dev/git/UbixOS/sys/kmods/kmod.c</label> <link refid="kmod_8c"/> </node> <node id="33"> <label>C:/Dev/git/UbixOS/sys/include/ubixfs/ubixfs.h</label> <link refid="include_2ubixfs_2ubixfs_8h"/> <childnode refid="34" relation="include"> </childnode> <childnode refid="35" relation="include"> </childnode> <childnode refid="36" relation="include"> </childnode> <childnode refid="37" relation="include"> </childnode> <childnode refid="24" relation="include"> </childnode> <childnode refid="25" relation="include"> </childnode> <childnode refid="38" relation="include"> </childnode> <childnode refid="19" relation="include"> </childnode> </node> <node id="65"> <label>C:/Dev/git/UbixOS/sys/include/net/priv/tcpip_priv.h</label> <link refid="tcpip__priv_8h"/> <childnode refid="3" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> </node> <node id="48"> <label>C:/Dev/git/UbixOS/sys/isa/ne2k.c</label> <link refid="ne2k_8c"/> </node> <node id="41"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/vitals.h</label> <link refid="vitals_8h"/> <childnode refid="42" relation="include"> </childnode> <childnode refid="34" relation="include"> </childnode> <childnode refid="43" relation="include"> </childnode> <childnode refid="44" relation="include"> </childnode> <childnode refid="45" relation="include"> </childnode> <childnode refid="28" relation="include"> </childnode> <childnode refid="46" relation="include"> </childnode> <childnode refid="31" relation="include"> </childnode> <childnode refid="19" relation="include"> </childnode> <childnode refid="47" relation="include"> </childnode> <childnode refid="48" relation="include"> </childnode> <childnode refid="49" relation="include"> </childnode> <childnode refid="50" relation="include"> </childnode> <childnode refid="51" relation="include"> </childnode> <childnode refid="52" relation="include"> </childnode> <childnode refid="53" relation="include"> </childnode> <childnode refid="54" relation="include"> </childnode> <childnode refid="55" relation="include"> </childnode> <childnode refid="56" relation="include"> </childnode> <childnode refid="57" relation="include"> </childnode> <childnode refid="58" relation="include"> </childnode> <childnode refid="59" relation="include"> </childnode> </node> <node id="27"> <label>C:/Dev/git/UbixOS/sys/fs/ufs/ufs.c</label> <link refid="ufs_8c"/> </node> <node id="1"> <label>C:/Dev/git/UbixOS/sys/include/net/stats.h</label> <link refid="stats_8h"/> <childnode refid="2" relation="include"> </childnode> <childnode refid="10" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="5" relation="include"> </childnode> <childnode refid="70" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="14" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="71" relation="include"> </childnode> <childnode refid="72" relation="include"> </childnode> <childnode refid="73" relation="include"> </childnode> <childnode refid="66" relation="include"> </childnode> </node> <node id="44"> <label>C:/Dev/git/UbixOS/sys/arch/i386/fork.c</label> <link refid="i386_2fork_8c"/> </node> <node id="58"> <label>C:/Dev/git/UbixOS/sys/vmm/paging.c</label> <link refid="paging_8c"/> </node> <node id="21"> <label>C:/Dev/git/UbixOS/sys/include/vfs/vfs.h</label> <link refid="include_2vfs_2vfs_8h"/> <childnode refid="22" relation="include"> </childnode> <childnode refid="23" relation="include"> </childnode> <childnode refid="24" relation="include"> </childnode> <childnode refid="25" relation="include"> </childnode> <childnode refid="26" relation="include"> </childnode> <childnode refid="27" relation="include"> </childnode> <childnode refid="28" relation="include"> </childnode> <childnode refid="29" relation="include"> </childnode> <childnode refid="30" relation="include"> </childnode> <childnode refid="31" relation="include"> </childnode> <childnode refid="32" relation="include"> </childnode> <childnode refid="33" relation="include"> </childnode> <childnode refid="19" relation="include"> </childnode> <childnode refid="41" relation="include"> </childnode> <childnode refid="60" relation="include"> </childnode> <childnode refid="61" relation="include"> </childnode> <childnode refid="62" relation="include"> </childnode> </node> <node id="61"> <label>C:/Dev/git/UbixOS/sys/kernel/ld.c</label> <link refid="ld_8c"/> </node> <node id="45"> <label>C:/Dev/git/UbixOS/sys/arch/i386/systemtask.c</label> <link refid="i386_2systemtask_8c"/> </node> <node id="32"> <label>C:/Dev/git/UbixOS/sys/include/sys/buf.h</label> <link refid="buf_8h"/> <childnode refid="26" relation="include"> </childnode> </node> <node id="24"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/thread.c</label> <link refid="thread_8c"/> </node> <node id="72"> <label>C:/Dev/git/UbixOS/sys/net/net/shell.c</label> <link refid="shell_8c"/> </node> <node id="64"> <label>C:/Dev/git/UbixOS/sys/include/net/tcpip.h</label> <link refid="tcpip_8h"/> <childnode refid="65" relation="include"> </childnode> <childnode refid="9" relation="include"> </childnode> <childnode refid="66" relation="include"> </childnode> </node> <node id="4"> <label>C:/Dev/git/UbixOS/sys/net/core/init.c</label> <link refid="core_2init_8c"/> </node> <node id="66"> <label>C:/Dev/git/UbixOS/sys/net/netif/ethernetif.c</label> <link refid="ethernetif_8c"/> </node> <node id="10"> <label>C:/Dev/git/UbixOS/sys/include/net/netif.h</label> <link refid="netif_8h"/> <childnode refid="11" relation="include"> </childnode> <childnode refid="12" relation="include"> </childnode> <childnode refid="13" relation="include"> </childnode> <childnode refid="15" relation="include"> </childnode> <childnode refid="16" relation="include"> </childnode> <childnode refid="17" relation="include"> </childnode> <childnode refid="18" relation="include"> </childnode> <childnode refid="64" relation="include"> </childnode> <childnode refid="67" relation="include"> </childnode> <childnode refid="69" relation="include"> </childnode> <childnode refid="48" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="14" relation="include"> </childnode> <childnode refid="63" relation="include"> </childnode> </node> <node id="17"> <label>C:/Dev/git/UbixOS/sys/include/net/ip6_frag.h</label> <link refid="ip6__frag_8h"/> <childnode refid="5" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> </node> <node id="30"> <label>C:/Dev/git/UbixOS/sys/fs/vfs/namei.c</label> <link refid="namei_8c"/> </node> <node id="39"> <label>C:/Dev/git/UbixOS/sys/fs/common/gpt.c</label> <link refid="gpt_8c"/> </node> <node id="22"> <label>C:/Dev/git/UbixOS/sys/fs/devfs/devfs.c</label> <link refid="devfs_8c"/> </node> <node id="16"> <label>C:/Dev/git/UbixOS/sys/include/net/ip4_frag.h</label> <link refid="ip4__frag_8h"/> <childnode refid="6" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> </node> <node id="59"> <label>C:/Dev/git/UbixOS/sys/vmm/vmm_memory.c</label> <link refid="vmm__memory_8c"/> </node> <node id="14"> <label>C:/Dev/git/UbixOS/sys/net/core/netif.c</label> <link refid="netif_8c"/> </node> <node id="6"> <label>C:/Dev/git/UbixOS/sys/net/core/memp.c</label> <link refid="memp_8c"/> </node> <node id="8"> <label>C:/Dev/git/UbixOS/sys/net/core/timeouts.c</label> <link refid="timeouts_8c"/> </node> <node id="50"> <label>C:/Dev/git/UbixOS/sys/kernel/syscall.c</label> <link refid="kernel_2syscall_8c"/> </node> <node id="43"> <label>C:/Dev/git/UbixOS/sys/arch/armv6/systemtask.c</label> <link refid="armv6_2systemtask_8c"/> </node> <node id="15"> <label>C:/Dev/git/UbixOS/sys/include/net/ip.h</label> <link refid="ip_8h"/> <childnode refid="16" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="5" relation="include"> </childnode> <childnode refid="14" relation="include"> </childnode> </node> <node id="25"> <label>C:/Dev/git/UbixOS/sys/fs/ubixfs/ubixfs.c</label> <link refid="ubixfs_8c"/> </node> <node id="34"> <label>C:/Dev/git/UbixOS/sys/arch/armv6/syscall.c</label> <link refid="arch_2armv6_2syscall_8c"/> </node> <node id="26"> <label>C:/Dev/git/UbixOS/sys/fs/ufs/ffs.c</label> <link refid="ffs_8c"/> </node> <node id="60"> <label>C:/Dev/git/UbixOS/sys/include/ufs/ffs.h</label> <link refid="ffs_8h"/> <childnode refid="26" relation="include"> </childnode> <childnode refid="27" relation="include"> </childnode> </node> <node id="67"> <label>C:/Dev/git/UbixOS/sys/include/netif/ethernet.h</label> <link refid="f_2ethernet_8h"/> <childnode refid="68" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> <childnode refid="14" relation="include"> </childnode> <childnode refid="9" relation="include"> </childnode> </node> <node id="46"> <label>C:/Dev/git/UbixOS/sys/fs/vfs/mount.c</label> <link refid="mount_8c"/> </node> <node id="68"> <label>C:/Dev/git/UbixOS/sys/include/netif/etharp.h</label> <link refid="f_2etharp_8h"/> </node> <node id="40"> <label>C:/Dev/git/UbixOS/sys/pci/hd.c</label> <link refid="hd_8c"/> </node> <node id="7"> <label>C:/Dev/git/UbixOS/sys/net/core/pbuf.c</label> <link refid="pbuf_8c"/> </node> <node id="9"> <label>C:/Dev/git/UbixOS/sys/net/net/init.c</label> <link refid="net_2init_8c"/> </node> <node id="38"> <label>C:/Dev/git/UbixOS/sys/include/pci/hd.h</label> <link refid="hd_8h"/> <childnode refid="39" relation="include"> </childnode> <childnode refid="19" relation="include"> </childnode> <childnode refid="40" relation="include"> </childnode> </node> <node id="19"> <label>C:/Dev/git/UbixOS/sys/include/ubixos/init.h</label> <link refid="ubixos_2init_8h"/> <childnode refid="20" relation="include"> </childnode> </node> <node id="53"> <label>C:/Dev/git/UbixOS/sys/kernel/vitals.c</label> <link refid="vitals_8c"/> </node> <node id="52"> <label>C:/Dev/git/UbixOS/sys/kernel/ubthread.c</label> <link refid="ubthread_8c"/> </node> <node id="51"> <label>C:/Dev/git/UbixOS/sys/kernel/time.c</label> <link refid="time_8c"/> </node> <node id="2"> <label>C:/Dev/git/UbixOS/sys/include/net/memp.h</label> <link refid="memp_8h"/> <childnode refid="1" relation="include"> </childnode> <childnode refid="3" relation="include"> </childnode> <childnode refid="4" relation="include"> </childnode> <childnode refid="5" relation="include"> </childnode> <childnode refid="6" relation="include"> </childnode> <childnode refid="7" relation="include"> </childnode> <childnode refid="8" relation="include"> </childnode> <childnode refid="9" relation="include"> </childnode> </node> </invincdepgraph> <sectiondef kind="define"> <memberdef kind="define" id="stats_8h_1a558b6a7fcc76a1b26c103c4797c7ce5a" prot="public" static="no"> <name>ETHARP_STATS_DISPLAY</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="377" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="377" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1aea3a36c64f7159af04b7acc985402edc" prot="public" static="no"> <name>ETHARP_STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="376" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="376" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1abc1cea8fb9afffa0e7212f78e96397c0" prot="public" static="no"> <name>ICMP6_STATS_DISPLAY</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="437" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="437" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a8bb9ee6af1218b8d9973815fa866260c" prot="public" static="no"> <name>ICMP6_STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="436" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="436" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a87488399aba1ae313ec48a782d1710d0" prot="public" static="no"> <name>ICMP_STATS_DISPLAY</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="345" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="345" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1ab885363b29506cb4b68d891f5a056e55" prot="public" static="no"> <name>ICMP_STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="344" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="344" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a8ed6ad7a8d32d6738da2f95a9873b1cb" prot="public" static="no"> <name>IGMP_STATS_DISPLAY</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="353" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="353" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1ad4ddb71a8ddf444971069c1569f0cd03" prot="public" static="no"> <name>IGMP_STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="352" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="352" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1adfb7a077b87d62907b2747140f121315" prot="public" static="no"> <name>IP6_FRAG_STATS_DISPLAY</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="445" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="445" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1ac74aa05083bf4034fe2cc1efd5fde36c" prot="public" static="no"> <name>IP6_FRAG_STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="444" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="444" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a022dc55f4c54659d588da17e7ced1e71" prot="public" static="no"> <name>IP6_STATS_DISPLAY</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="429" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="429" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1af38ba685afe9de39bd971c83b443ea37" prot="public" static="no"> <name>IP6_STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="428" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="428" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1adb69913e155d092852bcaa27e599b864" prot="public" static="no"> <name>IP_STATS_DISPLAY</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="361" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="361" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1af0a2079f449ce75c1eb49b8a5c922de8" prot="public" static="no"> <name>IP_STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="360" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="360" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1acd0d1d9dac48c36b5eafcc76ba6414cf" prot="public" static="no"> <name>IPFRAG_STATS_DISPLAY</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="369" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="369" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a2eb4cc22608c8abe8595e90efd56ae81" prot="public" static="no"> <name>IPFRAG_STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="368" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="368" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a1be80e9854df72d7dd9b3e9839ab6132" prot="public" static="no"> <name>LINK_STATS_DISPLAY</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="385" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="385" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a9b28a3eaea720ca831d4b33545b95871" prot="public" static="no"> <name>LINK_STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="384" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="384" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a6ca3d10f92a30f5435aace26fa7d6020" prot="public" static="no"> <name>MEM_STATS_AVAIL</name> <param><defname>x</defname></param> <param><defname>y</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="395" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="395" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a8ff88328a91828b01070a90a1894815f" prot="public" static="no"> <name>MEM_STATS_DEC_USED</name> <param><defname>x</defname></param> <param><defname>y</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="398" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="398" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1ae2f2b54057cfba82517799a4c1441bbe" prot="public" static="no"> <name>MEM_STATS_DISPLAY</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="399" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="399" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1aa6bb9e8fcc38e7febafd7ef682700786" prot="public" static="no"> <name>MEM_STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="396" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="396" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1aefec777cb83885b2f399afb661cf3837" prot="public" static="no"> <name>MEM_STATS_INC_USED</name> <param><defname>x</defname></param> <param><defname>y</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="397" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="397" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1acdadac8ecdb9710b2cbd0a0dc4a9d4c1" prot="public" static="no"> <name>MEMP_STATS_DEC</name> <param><defname>x</defname></param> <param><defname>i</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="407" column="11" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="407" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a7470beb09784d7479501a636079c2211" prot="public" static="no"> <name>MEMP_STATS_DISPLAY</name> <param><defname>i</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="408" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="408" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a9ceeb1ff91122d7f656a64665e43b0b5" prot="public" static="no"> <name>MEMP_STATS_GET</name> <param><defname>x</defname></param> <param><defname>i</defname></param> <initializer>0</initializer> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="409" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="409" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a237a8f1e47af42fb612e936e928a9ced" prot="public" static="no"> <name>MIB2_STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="467" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="467" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a018cf6f11dad2650f0387ac97b7f41e5" prot="public" static="no"> <name>MLD6_STATS_DISPLAY</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="453" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="453" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a0cbb73791354db59a64c6d0300e3b4cb" prot="public" static="no"> <name>MLD6_STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="452" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="452" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a82730a5b7c1639033d62deab1c572a4e" prot="public" static="no"> <name>ND6_STATS_DISPLAY</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="461" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="461" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a5c508f5734163d7ce6ac7c1227500867" prot="public" static="no"> <name>ND6_STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="460" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="460" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a24268eb825e8d4821224b9615f9d7c26" prot="public" static="no"> <name>STATS_DEC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="320" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="320" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1aed60ffa8a5b8bacdcf0f8204bd95a881" prot="public" static="no"> <name>stats_display</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="479" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="479" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a5fc0d790a4aadf108ebdc7f6c58d0113" prot="public" static="no"> <name>stats_display_igmp</name> <param><defname>igmp</defname></param> <param><defname>name</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="481" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="481" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a8fd0f5a8680322d2a9776258c815cdab" prot="public" static="no"> <name>stats_display_mem</name> <param><defname>mem</defname></param> <param><defname>name</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="482" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="482" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a6b8be67cc5fe751f2076de9e9a34c5cc" prot="public" static="no"> <name>stats_display_memp</name> <param><defname>mem</defname></param> <param><defname>index</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="483" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="483" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a0a3b76c2f476e34cde79de0cca51887f" prot="public" static="no"> <name>stats_display_proto</name> <param><defname>proto</defname></param> <param><defname>name</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="480" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="480" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1adb5c64ed647bd5227ab2161b1570b1bb" prot="public" static="no"> <name>stats_display_sys</name> <param><defname>sys</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="484" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="484" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a4c429f98c739943e03372340aa66cdd1" prot="public" static="no"> <name>STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="319" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="319" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1ab0f8725b21324cfed9ea8802841cdbc5" prot="public" static="no"> <name>STATS_INC_USED</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="321" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="321" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a832291112716a16838a0cc49595211b2" prot="public" static="no"> <name>stats_init</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="318" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="318" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a608a7fc721b815f1a5a77125cc1c0b74" prot="public" static="no"> <name>SYS_STATS_DEC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="419" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="419" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1ac82dcbecd8e2683231386511c7bd1b89" prot="public" static="no"> <name>SYS_STATS_DISPLAY</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="421" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="421" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a4a229152af46f4609e7916c3506f1fb5" prot="public" static="no"> <name>SYS_STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="418" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="418" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a506c20693f361bc2cdd2c7d86e780375" prot="public" static="no"> <name>SYS_STATS_INC_USED</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="420" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="420" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a4e99d88049a4180c07076df710a75b32" prot="public" static="no"> <name>TCP_STATS_DISPLAY</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="329" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="329" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1a33fdaa705af04fb9a82f1cf0ba21091d" prot="public" static="no"> <name>TCP_STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="328" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="328" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1aaddc6f77df5f9381ddf4c51f2f4eec65" prot="public" static="no"> <name>UDP_STATS_DISPLAY</name> <param></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="337" column="9" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="337" bodyend="-1"/> </memberdef> <memberdef kind="define" id="stats_8h_1acfc9de2d6edadfa3de3d9dfeb48f76b2" prot="public" static="no"> <name>UDP_STATS_INC</name> <param><defname>x</defname></param> <briefdescription> </briefdescription> <detaileddescription> </detaileddescription> <inbodydescription> </inbodydescription> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h" line="336" column="10" bodyfile="C:/Dev/git/UbixOS/sys/include/net/stats.h" bodystart="336" bodyend="-1"/> </memberdef> </sectiondef> <briefdescription> </briefdescription> <detaileddescription> <para>Statistics API (to be used from TCPIP thread) </para> </detaileddescription> <programlisting> <codeline lineno="1"></codeline> <codeline lineno="6"><highlight class="comment">/*</highlight></codeline> <codeline lineno="7"><highlight class="comment"><sp/>*<sp/>Copyright<sp/>(c)<sp/>2001-2004<sp/>Swedish<sp/>Institute<sp/>of<sp/>Computer<sp/>Science.</highlight></codeline> <codeline lineno="8"><highlight class="comment"><sp/>*<sp/>All<sp/>rights<sp/>reserved.</highlight></codeline> <codeline lineno="9"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="10"><highlight class="comment"><sp/>*<sp/>Redistribution<sp/>and<sp/>use<sp/>in<sp/>source<sp/>and<sp/>binary<sp/>forms,<sp/>with<sp/>or<sp/>without<sp/>modification,</highlight></codeline> <codeline lineno="11"><highlight class="comment"><sp/>*<sp/>are<sp/>permitted<sp/>provided<sp/>that<sp/>the<sp/>following<sp/>conditions<sp/>are<sp/>met:</highlight></codeline> <codeline lineno="12"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="13"><highlight class="comment"><sp/>*<sp/>1.<sp/>Redistributions<sp/>of<sp/>source<sp/>code<sp/>must<sp/>retain<sp/>the<sp/>above<sp/>copyright<sp/>notice,</highlight></codeline> <codeline lineno="14"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>this<sp/>list<sp/>of<sp/>conditions<sp/>and<sp/>the<sp/>following<sp/>disclaimer.</highlight></codeline> <codeline lineno="15"><highlight class="comment"><sp/>*<sp/>2.<sp/>Redistributions<sp/>in<sp/>binary<sp/>form<sp/>must<sp/>reproduce<sp/>the<sp/>above<sp/>copyright<sp/>notice,</highlight></codeline> <codeline lineno="16"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>this<sp/>list<sp/>of<sp/>conditions<sp/>and<sp/>the<sp/>following<sp/>disclaimer<sp/>in<sp/>the<sp/>documentation</highlight></codeline> <codeline lineno="17"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>and/or<sp/>other<sp/>materials<sp/>provided<sp/>with<sp/>the<sp/>distribution.</highlight></codeline> <codeline lineno="18"><highlight class="comment"><sp/>*<sp/>3.<sp/>The<sp/>name<sp/>of<sp/>the<sp/>author<sp/>may<sp/>not<sp/>be<sp/>used<sp/>to<sp/>endorse<sp/>or<sp/>promote<sp/>products</highlight></codeline> <codeline lineno="19"><highlight class="comment"><sp/>*<sp/><sp/><sp/><sp/>derived<sp/>from<sp/>this<sp/>software<sp/>without<sp/>specific<sp/>prior<sp/>written<sp/>permission.</highlight></codeline> <codeline lineno="20"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="21"><highlight class="comment"><sp/>*<sp/>THIS<sp/>SOFTWARE<sp/>IS<sp/>PROVIDED<sp/>BY<sp/>THE<sp/>AUTHOR<sp/>``AS<sp/>IS''<sp/>AND<sp/>ANY<sp/>EXPRESS<sp/>OR<sp/>IMPLIED</highlight></codeline> <codeline lineno="22"><highlight class="comment"><sp/>*<sp/>WARRANTIES,<sp/>INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>THE<sp/>IMPLIED<sp/>WARRANTIES<sp/>OF</highlight></codeline> <codeline lineno="23"><highlight class="comment"><sp/>*<sp/>MERCHANTABILITY<sp/>AND<sp/>FITNESS<sp/>FOR<sp/>A<sp/>PARTICULAR<sp/>PURPOSE<sp/>ARE<sp/>DISCLAIMED.<sp/>IN<sp/>NO<sp/>EVENT</highlight></codeline> <codeline lineno="24"><highlight class="comment"><sp/>*<sp/>SHALL<sp/>THE<sp/>AUTHOR<sp/>BE<sp/>LIABLE<sp/>FOR<sp/>ANY<sp/>DIRECT,<sp/>INDIRECT,<sp/>INCIDENTAL,<sp/>SPECIAL,</highlight></codeline> <codeline lineno="25"><highlight class="comment"><sp/>*<sp/>EXEMPLARY,<sp/>OR<sp/>CONSEQUENTIAL<sp/>DAMAGES<sp/>(INCLUDING,<sp/>BUT<sp/>NOT<sp/>LIMITED<sp/>TO,<sp/>PROCUREMENT</highlight></codeline> <codeline lineno="26"><highlight class="comment"><sp/>*<sp/>OF<sp/>SUBSTITUTE<sp/>GOODS<sp/>OR<sp/>SERVICES;<sp/>LOSS<sp/>OF<sp/>USE,<sp/>DATA,<sp/>OR<sp/>PROFITS;<sp/>OR<sp/>BUSINESS</highlight></codeline> <codeline lineno="27"><highlight class="comment"><sp/>*<sp/>INTERRUPTION)<sp/>HOWEVER<sp/>CAUSED<sp/>AND<sp/>ON<sp/>ANY<sp/>THEORY<sp/>OF<sp/>LIABILITY,<sp/>WHETHER<sp/>IN</highlight></codeline> <codeline lineno="28"><highlight class="comment"><sp/>*<sp/>CONTRACT,<sp/>STRICT<sp/>LIABILITY,<sp/>OR<sp/>TORT<sp/>(INCLUDING<sp/>NEGLIGENCE<sp/>OR<sp/>OTHERWISE)<sp/>ARISING</highlight></codeline> <codeline lineno="29"><highlight class="comment"><sp/>*<sp/>IN<sp/>ANY<sp/>WAY<sp/>OUT<sp/>OF<sp/>THE<sp/>USE<sp/>OF<sp/>THIS<sp/>SOFTWARE,<sp/>EVEN<sp/>IF<sp/>ADVISED<sp/>OF<sp/>THE<sp/>POSSIBILITY</highlight></codeline> <codeline lineno="30"><highlight class="comment"><sp/>*<sp/>OF<sp/>SUCH<sp/>DAMAGE.</highlight></codeline> <codeline lineno="31"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="32"><highlight class="comment"><sp/>*<sp/>This<sp/>file<sp/>is<sp/>part<sp/>of<sp/>the<sp/>lwIP<sp/>TCP/IP<sp/>stack.</highlight></codeline> <codeline lineno="33"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="34"><highlight class="comment"><sp/>*<sp/>Author:<sp/>Adam<sp/>Dunkels<sp/><adam@sics.se></highlight></codeline> <codeline lineno="35"><highlight class="comment"><sp/>*</highlight></codeline> <codeline lineno="36"><highlight class="comment"><sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="37"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>LWIP_HDR_STATS_H</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="38"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LWIP_HDR_STATS_H</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="39"><highlight class="normal"></highlight></codeline> <codeline lineno="40"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="opt_8h" kindref="compound">net/opt.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="41"><highlight class="normal"></highlight></codeline> <codeline lineno="42"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="mem_8h" kindref="compound">net/mem.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="43"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><<ref refid="memp_8h" kindref="compound">net/memp.h</ref>></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="44"><highlight class="normal"></highlight></codeline> <codeline lineno="45"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="46"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="stringliteral">"C"</highlight><highlight class="normal"><sp/>{</highlight></codeline> <codeline lineno="47"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="48"><highlight class="normal"></highlight></codeline> <codeline lineno="49"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>LWIP_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="50"><highlight class="normal"></highlight></codeline> <codeline lineno="51"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>LWIP_STATS_LARGE</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="52"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LWIP_STATS_LARGE<sp/>0</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="53"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="54"><highlight class="normal"></highlight></codeline> <codeline lineno="55"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>LWIP_STATS_LARGE</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="56"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>STAT_COUNTER<sp/><sp/><sp/><sp/><sp/>u32_t</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="57"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>STAT_COUNTER_F<sp/><sp/><sp/>U32_F</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="58"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="59"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>STAT_COUNTER<sp/><sp/><sp/><sp/><sp/>u16_t</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="60"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>STAT_COUNTER_F<sp/><sp/><sp/>U16_F</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="61"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="62"><highlight class="normal"></highlight></codeline> <codeline lineno="64"><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_proto<sp/>{</highlight></codeline> <codeline lineno="65"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>xmit;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Transmitted<sp/>packets.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="66"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>recv;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Received<sp/>packets.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="67"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>fw;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Forwarded<sp/>packets.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="68"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>drop;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Dropped<sp/>packets.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="69"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>chkerr;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Checksum<sp/>error.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="70"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>lenerr;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Invalid<sp/>length<sp/>error.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="71"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>memerr;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Out<sp/>of<sp/>memory<sp/>error.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="72"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>rterr;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Routing<sp/>error.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="73"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>proterr;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Protocol<sp/>error.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="74"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>opterr;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Error<sp/>in<sp/>options.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="75"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>err;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Misc<sp/>error.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="76"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>cachehit;</highlight></codeline> <codeline lineno="77"><highlight class="normal">};</highlight></codeline> <codeline lineno="78"><highlight class="normal"></highlight></codeline> <codeline lineno="80"><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_igmp<sp/>{</highlight></codeline> <codeline lineno="81"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>xmit;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Transmitted<sp/>packets.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="82"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>recv;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Received<sp/>packets.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="83"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>drop;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Dropped<sp/>packets.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="84"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>chkerr;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Checksum<sp/>error.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="85"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>lenerr;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Invalid<sp/>length<sp/>error.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="86"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>memerr;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Out<sp/>of<sp/>memory<sp/>error.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="87"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>proterr;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Protocol<sp/>error.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="88"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>rx_v1;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Received<sp/>v1<sp/>frames.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="89"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>rx_group;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Received<sp/>group-specific<sp/>queries.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="90"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>rx_general;<sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Received<sp/>general<sp/>queries.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="91"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>rx_report;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Received<sp/>reports.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="92"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>tx_join;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Sent<sp/>joins.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="93"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>tx_leave;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Sent<sp/>leaves.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="94"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>tx_report;<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="comment">/*<sp/>Sent<sp/>reports.<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="95"><highlight class="normal">};</highlight></codeline> <codeline lineno="96"><highlight class="normal"></highlight></codeline> <codeline lineno="98"><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_mem<sp/>{</highlight></codeline> <codeline lineno="99"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>defined(LWIP_DEBUG)<sp/>||<sp/>LWIP_STATS_DISPLAY</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="100"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*<ref refid="pci_8c_1a8f8f80d37794cde9472343e4487ba3eb" kindref="member">name</ref>;</highlight></codeline> <codeline lineno="101"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>defined(LWIP_DEBUG)<sp/>||<sp/>LWIP_STATS_DISPLAY<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="102"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>err;</highlight></codeline> <codeline lineno="103"><highlight class="normal"><sp/><sp/><ref refid="mem_8h_1a49bff6e5dd4cb95fe6dc0670962bbf54" kindref="member">mem_size_t</ref><sp/>avail;</highlight></codeline> <codeline lineno="104"><highlight class="normal"><sp/><sp/><ref refid="mem_8h_1a49bff6e5dd4cb95fe6dc0670962bbf54" kindref="member">mem_size_t</ref><sp/>used;</highlight></codeline> <codeline lineno="105"><highlight class="normal"><sp/><sp/><ref refid="mem_8h_1a49bff6e5dd4cb95fe6dc0670962bbf54" kindref="member">mem_size_t</ref><sp/>max;</highlight></codeline> <codeline lineno="106"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>illegal;</highlight></codeline> <codeline lineno="107"><highlight class="normal">};</highlight></codeline> <codeline lineno="108"><highlight class="normal"></highlight></codeline> <codeline lineno="110"><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_syselem<sp/>{</highlight></codeline> <codeline lineno="111"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>used;</highlight></codeline> <codeline lineno="112"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>max;</highlight></codeline> <codeline lineno="113"><highlight class="normal"><sp/><sp/>STAT_COUNTER<sp/>err;</highlight></codeline> <codeline lineno="114"><highlight class="normal">};</highlight></codeline> <codeline lineno="115"><highlight class="normal"></highlight></codeline> <codeline lineno="117"><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_sys<sp/>{</highlight></codeline> <codeline lineno="118"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_syselem<sp/>sem;</highlight></codeline> <codeline lineno="119"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_syselem<sp/><ref refid="ubthread_8c_1a18b6be9ca0cec4b0643171232d6f10de" kindref="member">mutex</ref>;</highlight></codeline> <codeline lineno="120"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_syselem<sp/>mbox;</highlight></codeline> <codeline lineno="121"><highlight class="normal">};</highlight></codeline> <codeline lineno="122"><highlight class="normal"></highlight></codeline> <codeline lineno="124"><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_mib2<sp/>{</highlight></codeline> <codeline lineno="125"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*<sp/>IP<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="126"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ipinhdrerrors;</highlight></codeline> <codeline lineno="127"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ipinaddrerrors;</highlight></codeline> <codeline lineno="128"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ipinunknownprotos;</highlight></codeline> <codeline lineno="129"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ipindiscards;</highlight></codeline> <codeline lineno="130"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ipindelivers;</highlight></codeline> <codeline lineno="131"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ipoutrequests;</highlight></codeline> <codeline lineno="132"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ipoutdiscards;</highlight></codeline> <codeline lineno="133"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ipoutnoroutes;</highlight></codeline> <codeline lineno="134"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ipreasmoks;</highlight></codeline> <codeline lineno="135"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ipreasmfails;</highlight></codeline> <codeline lineno="136"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ipfragoks;</highlight></codeline> <codeline lineno="137"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ipfragfails;</highlight></codeline> <codeline lineno="138"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ipfragcreates;</highlight></codeline> <codeline lineno="139"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ipreasmreqds;</highlight></codeline> <codeline lineno="140"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ipforwdatagrams;</highlight></codeline> <codeline lineno="141"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ipinreceives;</highlight></codeline> <codeline lineno="142"><highlight class="normal"></highlight></codeline> <codeline lineno="143"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*<sp/>TCP<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="144"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>tcpactiveopens;</highlight></codeline> <codeline lineno="145"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>tcppassiveopens;</highlight></codeline> <codeline lineno="146"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>tcpattemptfails;</highlight></codeline> <codeline lineno="147"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>tcpestabresets;</highlight></codeline> <codeline lineno="148"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>tcpoutsegs;</highlight></codeline> <codeline lineno="149"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>tcpretranssegs;</highlight></codeline> <codeline lineno="150"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>tcpinsegs;</highlight></codeline> <codeline lineno="151"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>tcpinerrs;</highlight></codeline> <codeline lineno="152"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>tcpoutrsts;</highlight></codeline> <codeline lineno="153"><highlight class="normal"></highlight></codeline> <codeline lineno="154"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*<sp/>UDP<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="155"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>udpindatagrams;</highlight></codeline> <codeline lineno="156"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>udpnoports;</highlight></codeline> <codeline lineno="157"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>udpinerrors;</highlight></codeline> <codeline lineno="158"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>udpoutdatagrams;</highlight></codeline> <codeline lineno="159"><highlight class="normal"></highlight></codeline> <codeline lineno="160"><highlight class="normal"><sp/><sp/></highlight><highlight class="comment">/*<sp/>ICMP<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="161"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpinmsgs;</highlight></codeline> <codeline lineno="162"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpinerrors;</highlight></codeline> <codeline lineno="163"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpindestunreachs;</highlight></codeline> <codeline lineno="164"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpintimeexcds;</highlight></codeline> <codeline lineno="165"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpinparmprobs;</highlight></codeline> <codeline lineno="166"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpinsrcquenchs;</highlight></codeline> <codeline lineno="167"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpinredirects;</highlight></codeline> <codeline lineno="168"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpinechos;</highlight></codeline> <codeline lineno="169"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpinechoreps;</highlight></codeline> <codeline lineno="170"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpintimestamps;</highlight></codeline> <codeline lineno="171"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpintimestampreps;</highlight></codeline> <codeline lineno="172"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpinaddrmasks;</highlight></codeline> <codeline lineno="173"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpinaddrmaskreps;</highlight></codeline> <codeline lineno="174"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpoutmsgs;</highlight></codeline> <codeline lineno="175"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpouterrors;</highlight></codeline> <codeline lineno="176"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpoutdestunreachs;</highlight></codeline> <codeline lineno="177"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpouttimeexcds;</highlight></codeline> <codeline lineno="178"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpoutechos;<sp/></highlight><highlight class="comment">/*<sp/>can<sp/>be<sp/>incremented<sp/>by<sp/>user<sp/>application<sp/>('ping')<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="179"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>icmpoutechoreps;</highlight></codeline> <codeline lineno="180"><highlight class="normal">};</highlight></codeline> <codeline lineno="181"><highlight class="normal"></highlight></codeline> <codeline lineno="186"><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_mib2_netif_ctrs<sp/>{</highlight></codeline> <codeline lineno="188"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ifinoctets;</highlight></codeline> <codeline lineno="191"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ifinucastpkts;</highlight></codeline> <codeline lineno="194"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ifinnucastpkts;</highlight></codeline> <codeline lineno="198"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ifindiscards;</highlight></codeline> <codeline lineno="203"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ifinerrors;</highlight></codeline> <codeline lineno="210"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ifinunknownprotos;</highlight></codeline> <codeline lineno="212"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ifoutoctets;</highlight></codeline> <codeline lineno="216"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ifoutucastpkts;</highlight></codeline> <codeline lineno="220"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ifoutnucastpkts;</highlight></codeline> <codeline lineno="224"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ifoutdiscards;</highlight></codeline> <codeline lineno="228"><highlight class="normal"><sp/><sp/><ref refid="group__compiler__abstraction_1ga4c14294869aceba3ef9d4c0c302d0f33" kindref="member">u32_t</ref><sp/>ifouterrors;</highlight></codeline> <codeline lineno="229"><highlight class="normal">};</highlight></codeline> <codeline lineno="230"><highlight class="normal"></highlight></codeline> <codeline lineno="232"><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_<sp/>{</highlight></codeline> <codeline lineno="233"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>LINK_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="234"><highlight class="normal"></highlight></codeline> <codeline lineno="235"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_proto<sp/>link;</highlight></codeline> <codeline lineno="236"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="237"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>ETHARP_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="238"><highlight class="normal"></highlight></codeline> <codeline lineno="239"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_proto<sp/>etharp;</highlight></codeline> <codeline lineno="240"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="241"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>IPFRAG_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="242"><highlight class="normal"></highlight></codeline> <codeline lineno="243"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_proto<sp/>ip_frag;</highlight></codeline> <codeline lineno="244"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="245"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>IP_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="246"><highlight class="normal"></highlight></codeline> <codeline lineno="247"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_proto<sp/>ip;</highlight></codeline> <codeline lineno="248"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="249"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>ICMP_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="250"><highlight class="normal"></highlight></codeline> <codeline lineno="251"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_proto<sp/>icmp;</highlight></codeline> <codeline lineno="252"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="253"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>IGMP_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="254"><highlight class="normal"></highlight></codeline> <codeline lineno="255"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_igmp<sp/>igmp;</highlight></codeline> <codeline lineno="256"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="257"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>UDP_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="258"><highlight class="normal"></highlight></codeline> <codeline lineno="259"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_proto<sp/>udp;</highlight></codeline> <codeline lineno="260"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="261"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>TCP_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="262"><highlight class="normal"></highlight></codeline> <codeline lineno="263"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_proto<sp/>tcp;</highlight></codeline> <codeline lineno="264"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="265"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>MEM_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="266"><highlight class="normal"></highlight></codeline> <codeline lineno="267"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_mem<sp/><ref refid="structmem" kindref="compound">mem</ref>;</highlight></codeline> <codeline lineno="268"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="269"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>MEMP_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="270"><highlight class="normal"></highlight></codeline> <codeline lineno="271"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_mem<sp/>*<ref refid="structmemp" kindref="compound">memp</ref>[<ref refid="memp_8h_1a85a164b1f7764951cc685ea525114e57a3387042084427642949f3223c7ddd321" kindref="member">MEMP_MAX</ref>];</highlight></codeline> <codeline lineno="272"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="273"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>SYS_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="274"><highlight class="normal"></highlight></codeline> <codeline lineno="275"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_sys<sp/>sys;</highlight></codeline> <codeline lineno="276"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="277"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>IP6_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="278"><highlight class="normal"></highlight></codeline> <codeline lineno="279"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_proto<sp/>ip6;</highlight></codeline> <codeline lineno="280"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="281"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>ICMP6_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="282"><highlight class="normal"></highlight></codeline> <codeline lineno="283"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_proto<sp/>icmp6;</highlight></codeline> <codeline lineno="284"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="285"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>IP6_FRAG_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="286"><highlight class="normal"></highlight></codeline> <codeline lineno="287"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_proto<sp/>ip6_frag;</highlight></codeline> <codeline lineno="288"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="289"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>MLD6_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="290"><highlight class="normal"></highlight></codeline> <codeline lineno="291"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_igmp<sp/>mld6;</highlight></codeline> <codeline lineno="292"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="293"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>ND6_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="294"><highlight class="normal"></highlight></codeline> <codeline lineno="295"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_proto<sp/>nd6;</highlight></codeline> <codeline lineno="296"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="297"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>MIB2_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="298"><highlight class="normal"></highlight></codeline> <codeline lineno="299"><highlight class="normal"><sp/><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_mib2<sp/>mib2;</highlight></codeline> <codeline lineno="300"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="301"><highlight class="normal">};</highlight></codeline> <codeline lineno="302"><highlight class="normal"></highlight></codeline> <codeline lineno="304"><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">struct<sp/></highlight><highlight class="normal">stats_<sp/>lwip_stats;</highlight></codeline> <codeline lineno="305"><highlight class="normal"></highlight></codeline> <codeline lineno="307"><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="stats_8h_1a832291112716a16838a0cc49595211b2" kindref="member">stats_init</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline> <codeline lineno="308"><highlight class="normal"></highlight></codeline> <codeline lineno="309"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>STATS_INC(x)<sp/>++lwip_stats.x</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="310"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>STATS_DEC(x)<sp/>--lwip_stats.x</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="311"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>STATS_INC_USED(x,<sp/>y)<sp/>do<sp/>{<sp/>lwip_stats.x.used<sp/>+=<sp/>y;<sp/>\</highlight></codeline> <codeline lineno="312"><highlight class="preprocessor"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>if<sp/>(lwip_stats.x.max<sp/><<sp/>lwip_stats.x.used)<sp/>{<sp/>\</highlight></codeline> <codeline lineno="313"><highlight class="preprocessor"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>lwip_stats.x.max<sp/>=<sp/>lwip_stats.x.used;<sp/>\</highlight></codeline> <codeline lineno="314"><highlight class="preprocessor"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/>\</highlight></codeline> <codeline lineno="315"><highlight class="preprocessor"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>}<sp/>while(0)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="316"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>STATS_GET(x)<sp/>lwip_stats.x</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="317"><highlight class="normal"></highlight><highlight class="preprocessor">#else<sp/></highlight><highlight class="comment">/*<sp/>LWIP_STATS<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="318" refid="stats_8h_1a832291112716a16838a0cc49595211b2" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>stats_init()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="319" refid="stats_8h_1a4c429f98c739943e03372340aa66cdd1" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="320" refid="stats_8h_1a24268eb825e8d4821224b9615f9d7c26" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>STATS_DEC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="321" refid="stats_8h_1ab0f8725b21324cfed9ea8802841cdbc5" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>STATS_INC_USED(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="322"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>LWIP_STATS<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="323"><highlight class="normal"></highlight></codeline> <codeline lineno="324"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>TCP_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="325"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>TCP_STATS_INC(x)<sp/>STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="326"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>TCP_STATS_DISPLAY()<sp/>stats_display_proto(&lwip_stats.tcp,<sp/>"TCP")</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="327"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="328" refid="stats_8h_1a33fdaa705af04fb9a82f1cf0ba21091d" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>TCP_STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="329" refid="stats_8h_1a4e99d88049a4180c07076df710a75b32" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>TCP_STATS_DISPLAY()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="330"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="331"><highlight class="normal"></highlight></codeline> <codeline lineno="332"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>UDP_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="333"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>UDP_STATS_INC(x)<sp/>STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="334"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>UDP_STATS_DISPLAY()<sp/>stats_display_proto(&lwip_stats.udp,<sp/>"UDP")</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="335"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="336" refid="stats_8h_1acfc9de2d6edadfa3de3d9dfeb48f76b2" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>UDP_STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="337" refid="stats_8h_1aaddc6f77df5f9381ddf4c51f2f4eec65" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>UDP_STATS_DISPLAY()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="338"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="339"><highlight class="normal"></highlight></codeline> <codeline lineno="340"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>ICMP_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="341"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_STATS_INC(x)<sp/>STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="342"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_STATS_DISPLAY()<sp/>stats_display_proto(&lwip_stats.icmp,<sp/>"ICMP")</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="343"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="344" refid="stats_8h_1ab885363b29506cb4b68d891f5a056e55" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="345" refid="stats_8h_1a87488399aba1ae313ec48a782d1710d0" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP_STATS_DISPLAY()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="346"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="347"><highlight class="normal"></highlight></codeline> <codeline lineno="348"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>IGMP_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="349"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IGMP_STATS_INC(x)<sp/>STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="350"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IGMP_STATS_DISPLAY()<sp/>stats_display_igmp(&lwip_stats.igmp,<sp/>"IGMP")</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="351"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="352" refid="stats_8h_1ad4ddb71a8ddf444971069c1569f0cd03" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IGMP_STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="353" refid="stats_8h_1a8ed6ad7a8d32d6738da2f95a9873b1cb" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IGMP_STATS_DISPLAY()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="354"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="355"><highlight class="normal"></highlight></codeline> <codeline lineno="356"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>IP_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="357"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IP_STATS_INC(x)<sp/>STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="358"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IP_STATS_DISPLAY()<sp/>stats_display_proto(&lwip_stats.ip,<sp/>"IP")</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="359"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="360" refid="stats_8h_1af0a2079f449ce75c1eb49b8a5c922de8" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IP_STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="361" refid="stats_8h_1adb69913e155d092852bcaa27e599b864" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IP_STATS_DISPLAY()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="362"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="363"><highlight class="normal"></highlight></codeline> <codeline lineno="364"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>IPFRAG_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="365"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IPFRAG_STATS_INC(x)<sp/>STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="366"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IPFRAG_STATS_DISPLAY()<sp/>stats_display_proto(&lwip_stats.ip_frag,<sp/>"IP_FRAG")</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="367"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="368" refid="stats_8h_1a2eb4cc22608c8abe8595e90efd56ae81" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IPFRAG_STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="369" refid="stats_8h_1acd0d1d9dac48c36b5eafcc76ba6414cf" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IPFRAG_STATS_DISPLAY()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="370"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="371"><highlight class="normal"></highlight></codeline> <codeline lineno="372"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>ETHARP_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="373"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ETHARP_STATS_INC(x)<sp/>STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="374"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ETHARP_STATS_DISPLAY()<sp/>stats_display_proto(&lwip_stats.etharp,<sp/>"ETHARP")</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="375"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="376" refid="stats_8h_1aea3a36c64f7159af04b7acc985402edc" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ETHARP_STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="377" refid="stats_8h_1a558b6a7fcc76a1b26c103c4797c7ce5a" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ETHARP_STATS_DISPLAY()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="378"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="379"><highlight class="normal"></highlight></codeline> <codeline lineno="380"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>LINK_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="381"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LINK_STATS_INC(x)<sp/>STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="382"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LINK_STATS_DISPLAY()<sp/>stats_display_proto(&lwip_stats.link,<sp/>"LINK")</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="383"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="384" refid="stats_8h_1a9b28a3eaea720ca831d4b33545b95871" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LINK_STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="385" refid="stats_8h_1a1be80e9854df72d7dd9b3e9839ab6132" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>LINK_STATS_DISPLAY()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="386"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="387"><highlight class="normal"></highlight></codeline> <codeline lineno="388"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>MEM_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="389"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MEM_STATS_AVAIL(x,<sp/>y)<sp/>lwip_stats.mem.x<sp/>=<sp/>y</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="390"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MEM_STATS_INC(x)<sp/>SYS_ARCH_INC(lwip_stats.mem.x,<sp/>1)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="391"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MEM_STATS_INC_USED(x,<sp/>y)<sp/>SYS_ARCH_INC(lwip_stats.mem.x,<sp/>y)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="392"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MEM_STATS_DEC_USED(x,<sp/>y)<sp/>SYS_ARCH_DEC(lwip_stats.mem.x,<sp/>y)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="393"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MEM_STATS_DISPLAY()<sp/>stats_display_mem(&lwip_stats.mem,<sp/>"HEAP")</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="394"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="395" refid="stats_8h_1a6ca3d10f92a30f5435aace26fa7d6020" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MEM_STATS_AVAIL(x,<sp/>y)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="396" refid="stats_8h_1aa6bb9e8fcc38e7febafd7ef682700786" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MEM_STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="397" refid="stats_8h_1aefec777cb83885b2f399afb661cf3837" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MEM_STATS_INC_USED(x,<sp/>y)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="398" refid="stats_8h_1a8ff88328a91828b01070a90a1894815f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MEM_STATS_DEC_USED(x,<sp/>y)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="399" refid="stats_8h_1ae2f2b54057cfba82517799a4c1441bbe" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MEM_STATS_DISPLAY()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="400"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="401"><highlight class="normal"></highlight></codeline> <codeline lineno="402"><highlight class="normal"></highlight><highlight class="preprocessor"><sp/>#if<sp/>MEMP_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="403"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MEMP_STATS_DEC(x,<sp/>i)<sp/>STATS_DEC(memp[i]->x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="404"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MEMP_STATS_DISPLAY(i)<sp/>stats_display_memp(lwip_stats.memp[i],<sp/>i)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="405"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MEMP_STATS_GET(x,<sp/>i)<sp/>STATS_GET(memp[i]->x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="406"><highlight class="normal"></highlight><highlight class="preprocessor"><sp/>#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="407" refid="stats_8h_1acdadac8ecdb9710b2cbd0a0dc4a9d4c1" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MEMP_STATS_DEC(x,<sp/>i)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="408" refid="stats_8h_1a7470beb09784d7479501a636079c2211" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MEMP_STATS_DISPLAY(i)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="409" refid="stats_8h_1a9ceeb1ff91122d7f656a64665e43b0b5" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MEMP_STATS_GET(x,<sp/>i)<sp/>0</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="410"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="411"><highlight class="normal"></highlight></codeline> <codeline lineno="412"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>SYS_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="413"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SYS_STATS_INC(x)<sp/>STATS_INC(sys.x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="414"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SYS_STATS_DEC(x)<sp/>STATS_DEC(sys.x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="415"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SYS_STATS_INC_USED(x)<sp/>STATS_INC_USED(sys.x,<sp/>1)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="416"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SYS_STATS_DISPLAY()<sp/>stats_display_sys(&lwip_stats.sys)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="417"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="418" refid="stats_8h_1a4a229152af46f4609e7916c3506f1fb5" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SYS_STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="419" refid="stats_8h_1a608a7fc721b815f1a5a77125cc1c0b74" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SYS_STATS_DEC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="420" refid="stats_8h_1a506c20693f361bc2cdd2c7d86e780375" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SYS_STATS_INC_USED(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="421" refid="stats_8h_1ac82dcbecd8e2683231386511c7bd1b89" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>SYS_STATS_DISPLAY()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="422"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="423"><highlight class="normal"></highlight></codeline> <codeline lineno="424"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>IP6_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="425"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IP6_STATS_INC(x)<sp/>STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="426"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IP6_STATS_DISPLAY()<sp/>stats_display_proto(&lwip_stats.ip6,<sp/>"IPv6")</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="427"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="428" refid="stats_8h_1af38ba685afe9de39bd971c83b443ea37" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IP6_STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="429" refid="stats_8h_1a022dc55f4c54659d588da17e7ced1e71" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IP6_STATS_DISPLAY()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="430"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="431"><highlight class="normal"></highlight></codeline> <codeline lineno="432"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>ICMP6_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="433"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP6_STATS_INC(x)<sp/>STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="434"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP6_STATS_DISPLAY()<sp/>stats_display_proto(&lwip_stats.icmp6,<sp/>"ICMPv6")</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="435"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="436" refid="stats_8h_1a8bb9ee6af1218b8d9973815fa866260c" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP6_STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="437" refid="stats_8h_1abc1cea8fb9afffa0e7212f78e96397c0" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ICMP6_STATS_DISPLAY()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="438"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="439"><highlight class="normal"></highlight></codeline> <codeline lineno="440"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>IP6_FRAG_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="441"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IP6_FRAG_STATS_INC(x)<sp/>STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="442"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IP6_FRAG_STATS_DISPLAY()<sp/>stats_display_proto(&lwip_stats.ip6_frag,<sp/>"IPv6<sp/>FRAG")</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="443"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="444" refid="stats_8h_1ac74aa05083bf4034fe2cc1efd5fde36c" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IP6_FRAG_STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="445" refid="stats_8h_1adfb7a077b87d62907b2747140f121315" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>IP6_FRAG_STATS_DISPLAY()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="446"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="447"><highlight class="normal"></highlight></codeline> <codeline lineno="448"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>MLD6_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="449"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MLD6_STATS_INC(x)<sp/>STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="450"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MLD6_STATS_DISPLAY()<sp/>stats_display_igmp(&lwip_stats.mld6,<sp/>"MLDv1")</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="451"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="452" refid="stats_8h_1a0cbb73791354db59a64c6d0300e3b4cb" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MLD6_STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="453" refid="stats_8h_1a018cf6f11dad2650f0387ac97b7f41e5" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MLD6_STATS_DISPLAY()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="454"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="455"><highlight class="normal"></highlight></codeline> <codeline lineno="456"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>ND6_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="457"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_STATS_INC(x)<sp/>STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="458"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_STATS_DISPLAY()<sp/>stats_display_proto(&lwip_stats.nd6,<sp/>"ND")</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="459"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="460" refid="stats_8h_1a5c508f5734163d7ce6ac7c1227500867" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="461" refid="stats_8h_1a82730a5b7c1639033d62deab1c572a4e" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>ND6_STATS_DISPLAY()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="462"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="463"><highlight class="normal"></highlight></codeline> <codeline lineno="464"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>MIB2_STATS</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="465"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MIB2_STATS_INC(x)<sp/>STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="466"><highlight class="normal"></highlight><highlight class="preprocessor">#else</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="467" refid="stats_8h_1a237a8f1e47af42fb612e936e928a9ced" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>MIB2_STATS_INC(x)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="468"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="469"><highlight class="normal"></highlight></codeline> <codeline lineno="470"><highlight class="normal"></highlight><highlight class="comment">/*<sp/>Display<sp/>of<sp/>statistics<sp/>*/</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="471"><highlight class="normal"></highlight><highlight class="preprocessor">#if<sp/>LWIP_STATS_DISPLAY</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="472"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="stats_8h_1aed60ffa8a5b8bacdcf0f8204bd95a881" kindref="member">stats_display</ref>(</highlight><highlight class="keywordtype">void</highlight><highlight class="normal">);</highlight></codeline> <codeline lineno="473"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="stats_8h_1a0a3b76c2f476e34cde79de0cca51887f" kindref="member">stats_display_proto</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/>stats_proto<sp/>*proto,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*<ref refid="pci_8c_1a8f8f80d37794cde9472343e4487ba3eb" kindref="member">name</ref>);</highlight></codeline> <codeline lineno="474"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="stats_8h_1a5fc0d790a4aadf108ebdc7f6c58d0113" kindref="member">stats_display_igmp</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/>stats_igmp<sp/>*igmp,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*<ref refid="pci_8c_1a8f8f80d37794cde9472343e4487ba3eb" kindref="member">name</ref>);</highlight></codeline> <codeline lineno="475"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="stats_8h_1a8fd0f5a8680322d2a9776258c815cdab" kindref="member">stats_display_mem</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/>stats_mem<sp/>*<ref refid="structmem" kindref="compound">mem</ref>,<sp/></highlight><highlight class="keyword">const</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">char</highlight><highlight class="normal"><sp/>*<ref refid="pci_8c_1a8f8f80d37794cde9472343e4487ba3eb" kindref="member">name</ref>);</highlight></codeline> <codeline lineno="476"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="stats_8h_1a6b8be67cc5fe751f2076de9e9a34c5cc" kindref="member">stats_display_memp</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/>stats_mem<sp/>*<ref refid="structmem" kindref="compound">mem</ref>,<sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>index);</highlight></codeline> <codeline lineno="477"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="stats_8h_1adb5c64ed647bd5227ab2161b1570b1bb" kindref="member">stats_display_sys</ref>(</highlight><highlight class="keyword">struct</highlight><highlight class="normal"><sp/>stats_sys<sp/>*sys);</highlight></codeline> <codeline lineno="478"><highlight class="normal"></highlight><highlight class="preprocessor">#else<sp/></highlight><highlight class="comment">/*<sp/>LWIP_STATS_DISPLAY<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="479" refid="stats_8h_1aed60ffa8a5b8bacdcf0f8204bd95a881" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>stats_display()</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="480" refid="stats_8h_1a0a3b76c2f476e34cde79de0cca51887f" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>stats_display_proto(proto,<sp/>name)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="481" refid="stats_8h_1a5fc0d790a4aadf108ebdc7f6c58d0113" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>stats_display_igmp(igmp,<sp/>name)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="482" refid="stats_8h_1a8fd0f5a8680322d2a9776258c815cdab" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>stats_display_mem(mem,<sp/>name)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="483" refid="stats_8h_1a6b8be67cc5fe751f2076de9e9a34c5cc" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>stats_display_memp(mem,<sp/>index)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="484" refid="stats_8h_1adb5c64ed647bd5227ab2161b1570b1bb" refkind="member"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>stats_display_sys(sys)</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="485"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>LWIP_STATS_DISPLAY<sp/>*/</highlight><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline> <codeline lineno="486"><highlight class="normal"></highlight></codeline> <codeline lineno="487"><highlight class="normal"></highlight><highlight class="preprocessor">#ifdef<sp/>__cplusplus</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="488"><highlight class="normal">}</highlight></codeline> <codeline lineno="489"><highlight class="normal"></highlight><highlight class="preprocessor">#endif</highlight><highlight class="normal"></highlight></codeline> <codeline lineno="490"><highlight class="normal"></highlight></codeline> <codeline lineno="491"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/></highlight><highlight class="comment">/*<sp/>LWIP_HDR_STATS_H<sp/>*/</highlight><highlight class="preprocessor"></highlight></codeline> </programlisting> <location file="C:/Dev/git/UbixOS/sys/include/net/stats.h"/> </compounddef> </doxygen>