Classes | Typedefs | Functions
resolve_address_posix_test.cc File Reference
#include <net/if.h>
#include <string.h>
#include <sys/un.h>
#include <string>
#include "absl/strings/str_format.h"
#include <grpc/grpc.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/sync.h>
#include <grpc/support/time.h>
#include "src/core/ext/filters/client_channel/resolver/dns/dns_resolver_selection.h"
#include "src/core/lib/gpr/env.h"
#include "src/core/lib/gpr/useful.h"
#include "src/core/lib/gprpp/thd.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/iomgr/executor.h"
#include "src/core/lib/iomgr/iomgr.h"
#include "src/core/lib/iomgr/resolve_address.h"
#include "test/core/util/cmdline.h"
#include "test/core/util/test_config.h"
Include dependency graph for resolve_address_posix_test.cc:

Go to the source code of this file.

Classes

struct  args_struct
 

Typedefs

typedef struct args_struct args_struct
 

Functions

static void actually_poll (void *argsp)
 
void args_finish (args_struct *args)
 
void args_init (args_struct *args)
 
static void do_nothing (void *, grpc_error_handle)
 
int main (int argc, char **argv)
 
static grpc_core::Timestamp n_sec_deadline (int seconds)
 
static void poll_pollset_until_request_done (args_struct *args)
 
static void resolve_address_must_succeed (const char *target)
 
static gpr_timespec test_deadline (void)
 
static void test_named_and_numeric_scope_ids (void)
 

Typedef Documentation

◆ args_struct

typedef struct args_struct args_struct

Function Documentation

◆ actually_poll()

static void actually_poll ( void *  argsp)
static

Definition at line 91 of file resolve_address_posix_test.cc.

◆ args_finish()

void args_finish ( args_struct args)

Definition at line 69 of file resolve_address_posix_test.cc.

◆ args_init()

void args_init ( args_struct args)

Definition at line 60 of file resolve_address_posix_test.cc.

◆ do_nothing()

static void do_nothing ( void *  ,
grpc_error_handle   
)
static

Definition at line 58 of file resolve_address_posix_test.cc.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 176 of file resolve_address_posix_test.cc.

◆ n_sec_deadline()

static grpc_core::Timestamp n_sec_deadline ( int  seconds)
static

Definition at line 86 of file resolve_address_posix_test.cc.

◆ poll_pollset_until_request_done()

static void poll_pollset_until_request_done ( args_struct args)
static

Definition at line 115 of file resolve_address_posix_test.cc.

◆ resolve_address_must_succeed()

static void resolve_address_must_succeed ( const char *  target)
static

Definition at line 133 of file resolve_address_posix_test.cc.

◆ test_deadline()

static gpr_timespec test_deadline ( void  )
static

Definition at line 45 of file resolve_address_posix_test.cc.

◆ test_named_and_numeric_scope_ids()

static void test_named_and_numeric_scope_ids ( void  )
static

Definition at line 147 of file resolve_address_posix_test.cc.



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