![background image](http://html1.mh-extra.com/html/aim/afdx-arinc-664/afdx-arinc-664_reference-manual_2871730185.webp)
Reference Manual AFDX / ARINC 664 Application Interface Library
173
Section 4 – Function Reference: Receiver Functions
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
x
x
_
_
Q
Q
u
u
i
i
n
n
t
t
.
.
u
u
l
l
_
_
I
I
p
p
S
S
r
r
c
c
IP address of the source partition.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
x
x
_
_
Q
Q
u
u
i
i
n
n
t
t
.
.
u
u
l
l
_
_
V
V
l
l
I
I
d
d
Virtual Link Identifier
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
x
x
_
_
Q
Q
u
u
i
i
n
n
t
t
.
.
u
u
l
l
_
_
I
I
p
p
D
D
s
s
t
t
Destination IP address
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
x
x
_
_
Q
Q
u
u
i
i
n
n
t
t
.
.
u
u
l
l
_
_
U
U
d
d
p
p
D
D
s
s
t
t
Destination UDP port
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
w
w
_
_
S
S
u
u
b
b
V
V
l
l
I
I
d
d
;
;
Not relevant in Rx Mode.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
U
U
d
d
p
p
N
N
u
u
m
m
B
B
u
u
f
f
M
M
e
e
s
s
s
s
a
a
g
g
e
e
s
s
Number of messages which should be stored by the onboard Target software.
Size of the local Buffer which should be created by the onboard Target software to store data
of the created UDP port can be calculated by ul_UdpNumBufMessages *
ul_UdpMaxMessageSize.
For sampling ports the number of messages has to be set to 1.
For queuing ports an adequate buffer depth has to be provided.
If this value is set to zero, the onboard target software will be set to a default value.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
U
U
d
d
p
p
M
M
a
a
x
x
M
M
e
e
s
s
s
s
a
a
g
g
e
e
S
S
i
i
z
z
e
e
;
;
Maximum size of a message to receive.
For a sampling port, this is the fixed size of the sampling message, which means the size
without the header overhead (MAC, IP and UDP).
For a queuing port this is the maximum size of the variable length message.
(Queuing: 0..ize
8kBytes, Sampling: ul_UdpMaxMessageSize )
Port Type
Value
Sampling 0..1471
bytes
Queuing 0..8
kBytes
Note:
If received message exceeds maximum size this message will be cut
off and only ul_UdpMaxMessageSize bytes will be saved.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
U
U
d
d
p
p
S
S
a
a
m
m
p
p
l
l
i
i
n
n
g
g
R
R
a
a
t
t
e
e
;
;
Not relevant in Rx Mode.
Output:
AiUInt32 *pul_UdpHandle
Handle to the UDP port.
Return Value
Returns FDX_OK on success or a negative error code on error.
Error Codes: FDX_ERR
Summary of Contents for AFDX / ARINC 664
Page 2: ......