Go to the source code of this file.
Functions | |
static void | msleep (int ms) |
static void | printError (const char *prefix, int errorCode) |
int | main (void) |
Macros | |
#define | PACKETS 2500000 |
#define | PACKET_SIZE 1024 |
#define | SEGMENT_SIZE (1024 * 1024) |
#define | PORT 0 |
#define | MIN_PADDING_SIZE_WITH_DESCR (64 + NT_DESCR_NT_LENGTH) |
#define | PADDING_THRESHOLD (PACKET_SIZE + NT_DESCR_NT_LENGTH + MIN_PADDING_SIZE_WITH_DESCR) |
Function Documentation
|
static |
Definition at line 146 of file transmit_segment_example.c.
Referenced by main().
|
static |
Definition at line 157 of file transmit_segment_example.c.
Referenced by main().
int main | ( | void | ) |
Definition at line 163 of file transmit_segment_example.c.
Macro Definition Documentation
#define PACKETS 2500000 |
Definition at line 134 of file transmit_segment_example.c.
Referenced by main().
#define PACKET_SIZE 1024 |
Definition at line 135 of file transmit_segment_example.c.
Referenced by main().
#define SEGMENT_SIZE (1024 * 1024) |
Definition at line 136 of file transmit_segment_example.c.
Referenced by main().
#define PORT 0 |
Definition at line 137 of file transmit_segment_example.c.
Referenced by main().
#define MIN_PADDING_SIZE_WITH_DESCR (64 + NT_DESCR_NT_LENGTH) |
Definition at line 143 of file transmit_segment_example.c.
Referenced by main().
#define PADDING_THRESHOLD (PACKET_SIZE + NT_DESCR_NT_LENGTH + MIN_PADDING_SIZE_WITH_DESCR) |
Definition at line 144 of file transmit_segment_example.c.
Referenced by main().