NT_NetTxRelease

Reference Documentation

product_line_custom
Napatech SmartNIC
category
Reference Information
int NT_NetTxRelease ( NtNetStreamTx_t hStream,
    NtNetBuf_t netBuf
  )    

Releases the network buffer.

This function releases the netBuf data obtained via NT_TxGet

Note:

This function has no mutex protection and can therefore the same hStream cannot be used by multiple threads

Parameters

[in] hStream

Network TX stream handle

[in] netBuf

Net buffer is received via NT_TxGet

Return values

NT_SUCCESS

Success

!=NT_SUCCESS

Error - use NT_ExplainError for an error description

Definition at line 744 of file stream_net.h.

Referenced by main().