MX Foundation 4
MXF_A664_ERROR_INJ Struct Reference

ARINC 664 Error Injection Structure. More...

#include <mxf_class_a664.h>

Data Structures

struct  error
 

Data Fields

uint64 port
 
int64 fragmentOffset
 
uint64 reserved [32]
 

Detailed Description

Updates the specified error injection structure. By default, all errors are set to zero until this function is called.

Examples:
ar664_error_injection_detection.c, ar664_error_injection_detection.cs, ar664_error_injection_detection_ede.c, and ar664_error_injection_detection_ede.cs.

Field Documentation

MXF_A664_ERROR_INJ::port

Specify on which physical port this error structure will apply.

Port Constant
A MXF_A664_NETSELECT_A
B MXF_A664_NETSELECT_B
A & B MXF_A664_NETSELECT_ALL

The stack mode (VMXF_A664_ES_MODE_INDEPENDENT or VMXF_A664_ES_MODE_REDUNDANT) can also limit which ports can be assigned.

Examples:
ar664_error_injection_detection.c, ar664_error_injection_detection.cs, ar664_error_injection_detection_ede.c, and ar664_error_injection_detection_ede.cs.
MXF_A664_ERROR_INJ::fragmentOffset

Specify on which IP fragment this error structure will apply.

Offset Rule
-1 Inject the error on the complete frame if unfragmented or on all fragments
0 Inject error on the first fragment only
1 Inject error on the second fragment only
n MXF_A664_inject error on the n+1 fragment only

The offset is ignored when greater than the number of fragments.

Examples:
ar664_error_injection_detection.c, and ar664_error_injection_detection_ede.c.
MXF_A664_ERROR_INJ::reserved

Reserved for future use. Must be set to 0.

Updated 10/23/2023