flowmatch_example_transmitter.cpp File Reference
#include <algorithm>
#include <chrono>
#include <cstdint>
#include <cstring>
#include <thread>
#include <nt.h>
#include "flowmatch_example_helper.h"
#include "flowmatch_example_transmitter.h"
Go to the source code of this file.
Functions | |
void | anonymous_namespace{flowmatch_example_transmitter.cpp}::swapIpAndPort (uint8_t *package) |
void | taskTransmitter (uint32_t port, const uint8_t *package, size_t packageSize, size_t frameSize, int numPackages, uint64_t perPackageDelay, bool swapIp) |
Namespaces | |
anonymous_namespace{flowmatch_example_transmitter.cpp} | |
Function Documentation
void taskTransmitter | ( | uint32_t | port, |
const uint8_t * | package, | ||
size_t | packageSize, | ||
size_t | frameSize, | ||
int | numPackages, | ||
uint64_t | perPackageDelay, | ||
bool | swapIp | ||
) |
Transmitter function needed for this example to send packages to itself. However, do look at the net/transmit examples instead, as they explain tx functionality better than this.
- Examples:
- flowmatch/flowmatch_example_main.cpp.
Definition at line 92 of file flowmatch_example_transmitter.cpp.
Referenced by main().