|int NT_NetTxOpen||(||NtNetStreamTx_t *||hStream,|
|const char *||name,|
Opens a TX host buffer and returns a NtNetStreamTx_t handle.
This function is called to retrieve a TX stream handle. Note that the TX stream on capture-only adapters (NT4E Capture, NT4E_STD Capture and NT20E Capture) will have very limited transmit capabilities. They will not be able to transmit at line rate and their transmit sizes and statistics will also be limited. Packets larger than 2000 bytes will sliced to the size of 2000 bytes.
Reference to a NtNetStreamTx_t stream pointer
Stream friendly name - used in, for example, logging statements
Bitmask for ports this stream will use for transmitting
NUMA node on which the host buffer is be located (NOTE: Special options in NtNetTxOpenNumaOption_e)
Minimum size of host buffer needed. Must be in MBytes. The smallest host buffer found that is larger or equal to minHostBufferSize is used and the size of the host buffer is set to minHostBufferSize. If set to 0, the first host buffer found is used regardsless of the size.
Error - use NT_ExplainError for an error description
net/replay/replay_example.c, net/replay4GA/replay4ga_example.c, net/replayGS/replayGS_example.c, net/transmit_multifunction/transmit_multifunction_example.c, net/transmit_on_timestamp/transmit_on_timestamp_example.c, net/transmit_on_timestamp_setclock/transmit_on_timestamp_setclock_example.c, net/transmit_packet/transmit_packet_example.c, and net/transmit_segment/transmit_segment_example.c.
Referenced by main().