flowmatch_example_transmitter.h

Reference Documentation

Platform
Napatech SmartNIC
Content Type
Reference Information
Capture Software Version
Link™ Capture Software 12.15
Napatech Software Suite: examples/flowmatch/flowmatch_example_transmitter.h File Reference
flowmatch_example_transmitter.h File Reference
#include <cstdint>

Go to the source code of this file.

Functions

void taskTransmitter (uint32_t port, const uint8_t *packet, size_t packetSize, size_t frameSize, int numPackets, uint64_t perPacketDelay, bool swapIp)
 

Function Documentation

void taskTransmitter ( uint32_t  port,
const uint8_t *  packet,
size_t  packetSize,
size_t  frameSize,
int  numPackets,
uint64_t  perPacketDelay,
bool  swapIp 
)

Transmitter function needed for this example to send packets to itself. However, do look at the net/transmit examples instead, as they explain tx functionality better than this.

Definition at line 92 of file flowmatch_example_transmitter.cpp.

Referenced by main().