Classes | Functions
ares_gethostbyaddr.c File Reference
#include "ares_setup.h"
#include "ares_nameser.h"
#include "ares.h"
#include "ares_inet_net_pton.h"
#include "ares_platform.h"
#include "ares_private.h"
Include dependency graph for ares_gethostbyaddr.c:

Go to the source code of this file.

Classes

struct  addr_query
 

Functions

static void addr_callback (void *arg, int status, int timeouts, unsigned char *abuf, int alen)
 
void ares_gethostbyaddr (ares_channel channel, const void *addr, int addrlen, int family, ares_host_callback callback, void *arg)
 
static void end_aquery (struct addr_query *aquery, int status, struct hostent *host)
 
static int file_lookup (struct ares_addr *addr, struct hostent **host)
 
static void next_lookup (struct addr_query *aquery)
 
static void ptr_rr_name (char *name, const struct ares_addr *addr)
 

Function Documentation

◆ addr_callback()

static void addr_callback ( void *  arg,
int  status,
int  timeouts,
unsigned char *  abuf,
int  alen 
)
static

Definition at line 130 of file ares_gethostbyaddr.c.

◆ ares_gethostbyaddr()

void ares_gethostbyaddr ( ares_channel  channel,
const void *  addr,
int  addrlen,
int  family,
ares_host_callback  callback,
void *  arg 
)

Definition at line 58 of file ares_gethostbyaddr.c.

◆ end_aquery()

static void end_aquery ( struct addr_query aquery,
int  status,
struct hostent *  host 
)
static

Definition at line 160 of file ares_gethostbyaddr.c.

◆ file_lookup()

static int file_lookup ( struct ares_addr addr,
struct hostent **  host 
)
static

Definition at line 169 of file ares_gethostbyaddr.c.

◆ next_lookup()

static void next_lookup ( struct addr_query aquery)
static

Definition at line 96 of file ares_gethostbyaddr.c.

◆ ptr_rr_name()

static void ptr_rr_name ( char *  name,
const struct ares_addr addr 
)
static

Definition at line 258 of file ares_gethostbyaddr.c.



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