RetroArch
Public Attributes | List of all members
uip_stats Struct Reference

#include <uip.h>

Collaboration diagram for uip_stats:
[legend]

Public Attributes

struct {
   uip_stats_t   drop
 
   uip_stats_t   recv
 
   uip_stats_t   sent
 
   uip_stats_t   vhlerr
 
   uip_stats_t   hblenerr
 
   uip_stats_t   lblenerr
 
   uip_stats_t   fragerr
 
   uip_stats_t   chkerr
 
   uip_stats_t   protoerr
 
ip
 
struct {
   uip_stats_t   drop
 
   uip_stats_t   recv
 
   uip_stats_t   sent
 
   uip_stats_t   typeerr
 
icmp
 
struct {
   uip_stats_t   drop
 
   uip_stats_t   recv
 
   uip_stats_t   sent
 
   uip_stats_t   chkerr
 
   uip_stats_t   ackerr
 
   uip_stats_t   rst
 
   uip_stats_t   rexmit
 
   uip_stats_t   syndrop
 
   uip_stats_t   synrst
 
tcp
 

Detailed Description

Convert 16-bit quantity from host byte order to network byte order.

This macro is primarily used for converting constants from host byte order to network byte order. For converting variables to network byte order, use the htons() function instead.The structure holding the TCP/IP statistics that are gathered if UIP_STATISTICS is set to 1.

Member Data Documentation

◆ ackerr

uip_stats_t uip_stats::ackerr

Number of TCP segments with a bad ACK number.

◆ chkerr

uip_stats_t uip_stats::chkerr

Number of packets dropped due to IP checksum errors.

Number of TCP segments with a bad checksum.

◆ drop

uip_stats_t uip_stats::drop

Number of dropped packets at the IP layer.

Number of dropped ICMP packets.

Number of dropped TCP segments.

◆ fragerr

uip_stats_t uip_stats::fragerr

Number of packets dropped since they were IP fragments.

◆ hblenerr

uip_stats_t uip_stats::hblenerr

Number of packets dropped due to wrong IP length, high byte.

◆ icmp

struct { ... } uip_stats::icmp

ICMP statistics.

◆ ip

struct { ... } uip_stats::ip

IP statistics.

◆ lblenerr

uip_stats_t uip_stats::lblenerr

Number of packets dropped due to wrong IP length, low byte.

◆ protoerr

uip_stats_t uip_stats::protoerr

Number of packets dropped since they were neither ICMP, UDP nor TCP.

◆ recv

uip_stats_t uip_stats::recv

Number of received packets at the IP layer.

Number of received ICMP packets.

Number of recived TCP segments.

◆ rexmit

uip_stats_t uip_stats::rexmit

Number of retransmitted TCP segments.

◆ rst

uip_stats_t uip_stats::rst

Number of recevied TCP RST (reset) segments.

◆ sent

uip_stats_t uip_stats::sent

Number of sent packets at the IP layer.

Number of sent ICMP packets.

Number of sent TCP segments.

◆ syndrop

uip_stats_t uip_stats::syndrop

Number of dropped SYNs due to too few connections was avaliable.

◆ synrst

uip_stats_t uip_stats::synrst

Number of SYNs for closed ports, triggering a RST.

◆ tcp

struct { ... } uip_stats::tcp

TCP statistics.

◆ typeerr

uip_stats_t uip_stats::typeerr

Number of ICMP packets with a wrong type.

◆ vhlerr

uip_stats_t uip_stats::vhlerr

Number of packets dropped due to wrong IP version or header length.


The documentation for this struct was generated from the following file: