Apache HTTPD
Macros | Functions
testsockets.c File Reference
#include "apr_network_io.h"
#include "apr_errno.h"
#include "apr_general.h"
#include "apr_lib.h"
#include "testutil.h"

Go to the source code of this file.

Macros

#define STRLEN   21
 

Functions

static void tcp_socket (abts_case *tc, void *data)
 
static void udp_socket (abts_case *tc, void *data)
 
static void sendto_receivefrom_helper (abts_case *tc, const char *addr, int family)
 
static void sendto_receivefrom (abts_case *tc, void *data)
 
static void socket_userdata (abts_case *tc, void *data)
 
abts_suitetestsockets (abts_suite *suite)
 

Macro Definition Documentation

◆ STRLEN

#define STRLEN   21

Definition at line 23 of file testsockets.c.

Function Documentation

◆ sendto_receivefrom()

static void sendto_receivefrom ( abts_case tc,
void *  data 
)
static

Definition at line 175 of file testsockets.c.

◆ sendto_receivefrom_helper()

static void sendto_receivefrom_helper ( abts_case tc,
const char addr,
int  family 
)
static

< Reuse addresses

< Reuse addresses

Definition at line 91 of file testsockets.c.

◆ socket_userdata()

static void socket_userdata ( abts_case tc,
void *  data 
)
static

Definition at line 193 of file testsockets.c.

◆ tcp_socket()

static void tcp_socket ( abts_case tc,
void *  data 
)
static

Definition at line 25 of file testsockets.c.

◆ testsockets()

abts_suite * testsockets ( abts_suite suite)

Definition at line 218 of file testsockets.c.

◆ udp_socket()

static void udp_socket ( abts_case tc,
void *  data 
)
static

Definition at line 42 of file testsockets.c.