MX Foundation 4
MXF_A664_STAT_UDP Struct Reference

ARINC 664 Tx/Rx UDP protocol stack counters. More...

#include <mxf_class_a664.h>

Data Fields

uint32 inDatagrams
 
uint32 outDatagrams
 
uint32 inIncompleteHeaderErr
 
uint32 inBadDataLengthErr
 
uint32 inChecksumErr
 
uint32 inNoSocketDroppedErr
 
uint32 inUnicastDiscardedErr
 
uint32 inMulticastDiscardedErr
 
uint32 inCoherencyErr
 
uint32 inInternalErr
 
uint32 noBufferErr
 
uint32 reserved [4]
 

Detailed Description

The MXF_A664_STAT_UDP structure defines UDP counters kept by the ARINC 664 protocol stack.

The mxfA664StatisticUDPGet()or mxfChannelStatisticGet() with MXF_A664_STAT_TYPE_UDP type are used to get the MXF_A664_STAT_UDP traffic counters. They are cumulative to the traffic generated by the COM/SAP ports. The stack counters IP/UDP can be reset using by calling the API mxfChannelStatisticReset() with MXF_A664_RESET_STACK_LAYERS_STATS option.

Field Documentation

uint32 MXF_A664_STAT_UDP::inDatagrams

Number of datagrams received.

uint32 MXF_A664_STAT_UDP::outDatagrams

Number of datagrams sent.

uint32 MXF_A664_STAT_UDP::inIncompleteHeaderErr

Datagrams with incomplete header.

uint32 MXF_A664_STAT_UDP::inBadDataLengthErr

Datagrams bad data length.

uint32 MXF_A664_STAT_UDP::inChecksumErr

Datagrams bad CRC.

uint32 MXF_A664_STAT_UDP::inNoSocketDroppedErr

Datagrams dropped (no socket).

uint32 MXF_A664_STAT_UDP::inUnicastDiscardedErr

Datagrams discarded (the port is inactive).

uint32 MXF_A664_STAT_UDP::inMulticastDiscardedErr

Multicast packets dropped (no socket).

uint32 MXF_A664_STAT_UDP::inCoherencyErr

Coherency errors (UDP length>VL buffers).

uint32 MXF_A664_STAT_UDP::inInternalErr

Limitations, state machine or design errors.

uint32 MXF_A664_STAT_UDP::noBufferErr

Dropped (no buffers).

uint32 MXF_A664_STAT_UDP::reserved[4]

Reserved for future use.

Updated 10/23/2023