
Go to the source code of this file.
Classes | |
| struct | receiver_state |
| struct | sender_state |
Macros | |
| #define | BASE_PORT 12345 |
| #define | EXPECTED "RANG TANG DING DONG I AM THE JAPANESE SANDMAN" |
| #define | TEST_DURATION 5000 /* ms */ |
| #define | X(a, b) |
Functions | |
| static void | alloc_cb (uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) |
| static void | close_cb (uv_handle_t *handle) |
| static int | pummel (unsigned int n_senders, unsigned int n_receivers, unsigned long timeout) |
| static void | recv_cb (uv_udp_t *handle, ssize_t nread, const uv_buf_t *buf, const struct sockaddr *addr, unsigned flags) |
| static void | send_cb (uv_udp_send_t *req, int status) |
| static void | timeout_cb (uv_timer_t *timer) |
Variables | |
| static uv_buf_t | bufs [5] |
| static unsigned int | close_cb_called |
| static int | exiting |
| static int | n_receivers_ |
| static int | n_senders_ |
| static unsigned int | packet_counter = (unsigned int) 1e6 |
| static struct receiver_state | receivers [1024] |
| static unsigned int | recv_cb_called |
| static unsigned int | send_cb_called |
| static struct sender_state | senders [1024] |
| static int | timed |
| #define BASE_PORT 12345 |
Definition at line 33 of file benchmark-udp-pummel.c.
| #define EXPECTED "RANG TANG DING DONG I AM THE JAPANESE SANDMAN" |
Definition at line 29 of file benchmark-udp-pummel.c.
| #define TEST_DURATION 5000 /* ms */ |
Definition at line 31 of file benchmark-udp-pummel.c.
|
static |
Definition at line 62 of file benchmark-udp-pummel.c.
|
static |
Definition at line 129 of file benchmark-udp-pummel.c.
|
static |
Definition at line 148 of file benchmark-udp-pummel.c.
|
static |
Definition at line 109 of file benchmark-udp-pummel.c.
|
static |
Definition at line 72 of file benchmark-udp-pummel.c.
|
static |
Definition at line 135 of file benchmark-udp-pummel.c.
|
static |
Definition at line 51 of file benchmark-udp-pummel.c.
|
static |
Definition at line 57 of file benchmark-udp-pummel.c.
|
static |
Definition at line 59 of file benchmark-udp-pummel.c.
|
static |
Definition at line 50 of file benchmark-udp-pummel.c.
|
static |
Definition at line 49 of file benchmark-udp-pummel.c.
Definition at line 47 of file benchmark-udp-pummel.c.
|
static |
Definition at line 53 of file benchmark-udp-pummel.c.
|
static |
Definition at line 56 of file benchmark-udp-pummel.c.
|
static |
Definition at line 55 of file benchmark-udp-pummel.c.
|
static |
Definition at line 52 of file benchmark-udp-pummel.c.
|
static |
Definition at line 58 of file benchmark-udp-pummel.c.