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

Go to the source code of this file.

Macros

#define CHECK_HANDLE(handle)   ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)
 

Functions

static void close_cb (uv_handle_t *handle)
 
static void sv_send_cb (uv_udp_send_t *req, int status)
 
 TEST_IMPL (udp_multicast_ttl)
 

Variables

static uv_udp_t client
 
static int close_cb_called
 
static uv_udp_t server
 
static int sv_send_cb_called
 

Macro Definition Documentation

◆ CHECK_HANDLE

#define CHECK_HANDLE (   handle)    ASSERT((uv_udp_t*)(handle) == &server || (uv_udp_t*)(handle) == &client)

Definition at line 29 of file test-udp-multicast-ttl.c.

Function Documentation

◆ close_cb()

static void close_cb ( uv_handle_t handle)
static

Definition at line 39 of file test-udp-multicast-ttl.c.

◆ sv_send_cb()

static void sv_send_cb ( uv_udp_send_t req,
int  status 
)
static

Definition at line 45 of file test-udp-multicast-ttl.c.

◆ TEST_IMPL()

TEST_IMPL ( udp_multicast_ttl  )

Definition at line 56 of file test-udp-multicast-ttl.c.

Variable Documentation

◆ client

uv_udp_t client
static

Definition at line 33 of file test-udp-multicast-ttl.c.

◆ close_cb_called

int close_cb_called
static

Definition at line 36 of file test-udp-multicast-ttl.c.

◆ server

uv_udp_t server
static

Definition at line 32 of file test-udp-multicast-ttl.c.

◆ sv_send_cb_called

int sv_send_cb_called
static

Definition at line 35 of file test-udp-multicast-ttl.c.



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