Skip to content

Commit 71a93ac

Browse files
remarks
1 parent 1dda7a0 commit 71a93ac

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

libudpard/udpard.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,10 +341,14 @@ typedef struct udpard_tx_mem_resources_t
341341
/// not from the locally assigned response metadata.
342342
typedef struct udpard_tx_feedback_t
343343
{
344-
uint64_t topic_hash;
345-
uint64_t transfer_id;
344+
uint64_t topic_hash;
345+
uint64_t transfer_id;
346+
346347
udpard_user_context_t user; ///< Same value that was passed to udpard_tx_push().
347-
uint16_t acknowledgements; ///< The number of remote nodes that acknowledged the reception of the transfer.
348+
349+
/// The number of remote nodes that acknowledged the reception of the transfer.
350+
/// For P2P transfers, this value is either 0 (failure) or 1 (success).
351+
uint16_t acknowledgements;
348352
} udpard_tx_feedback_t;
349353

350354
/// Request to transmit a UDP datagram over the specified interface to the given destination endpoint.

0 commit comments

Comments
 (0)