Macros | Functions | Variables
test-udp-dgram-too-big.c File Reference
#include "uv.h"
#include "task.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for test-udp-dgram-too-big.c:

Go to the source code of this file.

Macros

#define CHECK_HANDLE(handle)   ASSERT((uv_udp_t*)(handle) == &handle_)
 
#define CHECK_REQ(req)   ASSERT((req) == &req_);
 

Functions

static void close_cb (uv_handle_t *handle)
 
static void send_cb (uv_udp_send_t *req, int status)
 
 TEST_IMPL (udp_dgram_too_big)
 

Variables

static int close_cb_called
 
static uv_udp_t handle_
 
static uv_udp_send_t req_
 
static int send_cb_called
 

Macro Definition Documentation

◆ CHECK_HANDLE

#define CHECK_HANDLE (   handle)    ASSERT((uv_udp_t*)(handle) == &handle_)

Definition at line 29 of file test-udp-dgram-too-big.c.

◆ CHECK_REQ

#define CHECK_REQ (   req)    ASSERT((req) == &req_);

Definition at line 32 of file test-udp-dgram-too-big.c.

Function Documentation

◆ close_cb()

static void close_cb ( uv_handle_t handle)
static

Definition at line 42 of file test-udp-dgram-too-big.c.

◆ send_cb()

static void send_cb ( uv_udp_send_t req,
int  status 
)
static

Definition at line 48 of file test-udp-dgram-too-big.c.

◆ TEST_IMPL()

TEST_IMPL ( udp_dgram_too_big  )

Definition at line 59 of file test-udp-dgram-too-big.c.

Variable Documentation

◆ close_cb_called

int close_cb_called
static

Definition at line 39 of file test-udp-dgram-too-big.c.

◆ handle_

uv_udp_t handle_
static

Definition at line 35 of file test-udp-dgram-too-big.c.

◆ req_

uv_udp_send_t req_
static

Definition at line 36 of file test-udp-dgram-too-big.c.

◆ send_cb_called

int send_cb_called
static

Definition at line 38 of file test-udp-dgram-too-big.c.



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