Reference Manual AFDX / ARINC 664 Application Interface Library
149
Section 4 – Function Reference: Receiver Functions
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
M
M
a
a
x
x
S
S
k
k
e
e
w
w
The maximum time difference between the arrival time of redundant frame with the same
sequence number in µs. Possible Range for the MaxSkew 0 to 65535 µs.
AiUInt32 ul_VLBufSize
Size of the local Buffer which should be created by the onboard Target software to store data
of the selected VL.
This parameter is only applicable if the receive port works in VL oriented mode (see
FdxCmdModeControl
command)
If this value is set to 0, the onboard target software will set to a default value.
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
R
R
X
X
_
_
V
V
L
L
_
_
E
E
X
X
T
T
_
_
F
F
L
L
T
T
x
x
_
_
V
V
L
L
E
E
x
x
t
t
e
e
n
n
d
d
e
e
d
d
F
F
i
i
l
l
t
t
e
e
r
r
By defining this structure, an extended, second level, frame Filter for each Virtual Link can be
applied.
This extended filter is a generic filter to mask and compare four bytes of the data stream.
These four bytes can be located on any position in the frame, specified by the filter position.
The following figure shows the mechanism of this filter
AFDX- Frame
6 bytes
6 bytes
2 bytes
20 bytes
8 bytes
46-1500 bytes
1byte
4 bytes
Dest. Adr.
Src. Adr.
Type
IP- Header
UDP- Header
Payload SN
FCS
Filter Position (Bytes)
&
(bitwise Logical 'AND')
B
3
B
2
B
1
B
0
Mask
Pattern
(Compare Mask result)
B
3
B
2
B
1
B
0
Compare
Val
Figure 4.4.1.6-1: Mechanism of second level Filter
typedef struct {
AiUInt32
ul_FilterMode
AiUInt32
ul_FilterPosition;
AiUInt32
ul_FilterMask;
AiUInt32
ul_FilterData;
} TY_FDX_VL_EXT_FLT;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
F
F
i
i
l
l
t
t
e
e
r
r
M
M
o
o
d
d
e
e
Filter Mode of the second level filter
Value
Description
FDX_DIS Disable
filtering
FDX_RX_VL_FLT_ENA
Enable filtering, frame is stored if the filter condition
matches
FDX_RX_VL_FLT_ENA_INV Enable
filtering,
frame is stored if the filter condition
does not match
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
F
F
i
i
l
l
t
t
e
e
r
r
P
P
o
o
s
s
i
i
t
t
i
i
o
o
n
n
Filter position offset to the start of the AFDX frame, where the value shall be compared.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
F
F
i
i
l
l
t
t
e
e
r
r
M
M
a
a
s
s
k
k
Filter Mask to mask the bits of four consecutive bytes for comparing with the filter data. If
bit is set (1) the according bit in filter data is relevant. If bit is not set (0) the according bit
in filter data is don’t care.