Functions | Variables
test-watcher-cross-stop.c File Reference
#include "uv.h"
#include "task.h"
#include <string.h>
#include <errno.h>
Include dependency graph for test-watcher-cross-stop.c:

Go to the source code of this file.

Functions

static void alloc_cb (uv_handle_t *handle, size_t size, uv_buf_t *buf)
 
static void close_cb (uv_handle_t *handle)
 
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)
 
 TEST_IMPL (watcher_cross_stop)
 

Variables

static unsigned int close_cb_called
 
static unsigned int recv_cb_called
 
static uv_udp_send_t reqs [ARRAY_SIZE(sockets)]
 
static unsigned int send_cb_called
 
static char slab [1]
 
static uv_udp_t sockets [2500]
 

Function Documentation

◆ alloc_cb()

static void alloc_cb ( uv_handle_t handle,
size_t  size,
uv_buf_t buf 
)
static

Definition at line 42 of file test-watcher-cross-stop.c.

◆ close_cb()

static void close_cb ( uv_handle_t handle)
static

Definition at line 62 of file test-watcher-cross-stop.c.

◆ recv_cb()

static void recv_cb ( uv_udp_t handle,
ssize_t  nread,
const uv_buf_t buf,
const struct sockaddr *  addr,
unsigned  flags 
)
static

Definition at line 48 of file test-watcher-cross-stop.c.

◆ send_cb()

static void send_cb ( uv_udp_send_t req,
int  status 
)
static

Definition at line 57 of file test-watcher-cross-stop.c.

◆ TEST_IMPL()

TEST_IMPL ( watcher_cross_stop  )

Definition at line 67 of file test-watcher-cross-stop.c.

Variable Documentation

◆ close_cb_called

unsigned int close_cb_called
static

Definition at line 40 of file test-watcher-cross-stop.c.

◆ recv_cb_called

unsigned int recv_cb_called
static

Definition at line 38 of file test-watcher-cross-stop.c.

◆ reqs

Definition at line 36 of file test-watcher-cross-stop.c.

◆ send_cb_called

unsigned int send_cb_called
static

Definition at line 39 of file test-watcher-cross-stop.c.

◆ slab

char slab[1]
static

Definition at line 37 of file test-watcher-cross-stop.c.

◆ sockets

uv_udp_t sockets[2500]
static

Definition at line 34 of file test-watcher-cross-stop.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:34