Description
This function does not send TCP data, but is called to update packet headers with the sequence number and flags following successive sends via the onload_delegated_send_tcp_advance() function.
Note: This function does not update the ACK number.
Definition
void onload_delegated_send_tcp_update (
struct onload_delegated_send*,
int size,
int flags )
Formal Parameters
-
struct onload_delegated_send*
- See struct onload_delegated_send.
-
size
- Size of payload data.
-
flags
- See below.
Return Value
None.
Notes
This function is called when, during a send, the payload length is not equal to the MSS value. See onload_delegated_send_prepare.
Flag TCP_FLAG_PSH is expected to be set on the last packet when sending a large data chunk.