#include "uv.h"
#include "task.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/un.h>
Go to the source code of this file.
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 void | close_socket (uv_os_sock_t sock) |
static uv_os_sock_t | create_udp_socket (void) |
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 | startup (void) |
TEST_IMPL (udp_open) | |
TEST_IMPL (udp_open_bound) | |
TEST_IMPL (udp_open_connect) | |
TEST_IMPL (udp_open_twice) | |
TEST_IMPL (udp_send_unix) | |
Variables | |
static int | close_cb_called = 0 |
static int | send_cb_called = 0 |
static uv_udp_send_t | send_req |
|
static |
Definition at line 83 of file test-udp-open.c.
|
static |
Definition at line 93 of file test-udp-open.c.
|
static |
Definition at line 72 of file test-udp-open.c.
|
static |
Definition at line 49 of file test-udp-open.c.
|
static |
Definition at line 99 of file test-udp-open.c.
|
static |
Definition at line 129 of file test-udp-open.c.
|
static |
Definition at line 40 of file test-udp-open.c.
TEST_IMPL | ( | udp_open | ) |
Definition at line 138 of file test-udp-open.c.
TEST_IMPL | ( | udp_open_bound | ) |
Definition at line 222 of file test-udp-open.c.
TEST_IMPL | ( | udp_open_connect | ) |
Definition at line 252 of file test-udp-open.c.
TEST_IMPL | ( | udp_open_twice | ) |
Definition at line 196 of file test-udp-open.c.
TEST_IMPL | ( | udp_send_unix | ) |
Definition at line 303 of file test-udp-open.c.
|
static |
Definition at line 35 of file test-udp-open.c.
|
static |
Definition at line 34 of file test-udp-open.c.
|
static |
Definition at line 37 of file test-udp-open.c.