uint32_t ulApplicationGetNextSequenceNumber( uint32_t ulSourceAddress,
uint16_t usDestinationPort );
ulApplicationGetNextSequenceNumber is an application defined hook (or callback) function that is called by the
FreeRTOS-Plus-TCP stack to get a difficult to predict sequence number for the 4-value address tuple for a TCP connection.
Callback functions are implemented by the application writer, but called by the TCP/IP stack. The prototype of the callback function
must exactly match the prototype above (including the function name).
The IPv4 address of the device.
The port number of the device to which the TCP socket is bound.
The IPv4 address of the peer.
The port of the peer to which the TCP connection is being made.
A 32-bit hard to predict number should be returned by this hook to be used as the initial sequence number for
the TCP connection.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.