Macros | Functions
unix/getaddrinfo.c File Reference
#include "uv.h"
#include "internal.h"
#include "idna.h"
#include <errno.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <net/if.h>
#include <netdb.h>
Include dependency graph for unix/getaddrinfo.c:

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 

Functions

static void uv__getaddrinfo_done (struct uv__work *w, int status)
 
int uv__getaddrinfo_translate_error (int sys_err)
 
static void uv__getaddrinfo_work (struct uv__work *w)
 
void uv_freeaddrinfo (struct addrinfo *ai)
 
int uv_getaddrinfo (uv_loop_t *loop, uv_getaddrinfo_t *req, uv_getaddrinfo_cb cb, const char *hostname, const char *service, const struct addrinfo *hints)
 
int uv_if_indextoiid (unsigned int ifindex, char *buffer, size_t *size)
 
int uv_if_indextoname (unsigned int ifindex, char *buffer, size_t *size)
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 25 of file unix/getaddrinfo.c.

Function Documentation

◆ uv__getaddrinfo_done()

static void uv__getaddrinfo_done ( struct uv__work w,
int  status 
)
static

Definition at line 111 of file unix/getaddrinfo.c.

◆ uv__getaddrinfo_translate_error()

int uv__getaddrinfo_translate_error ( int  sys_err)

Definition at line 42 of file unix/getaddrinfo.c.

◆ uv__getaddrinfo_work()

static void uv__getaddrinfo_work ( struct uv__work w)
static

Definition at line 101 of file unix/getaddrinfo.c.

◆ uv_freeaddrinfo()

void uv_freeaddrinfo ( struct addrinfo ai)

Definition at line 223 of file unix/getaddrinfo.c.

◆ uv_getaddrinfo()

int uv_getaddrinfo ( uv_loop_t loop,
uv_getaddrinfo_t req,
uv_getaddrinfo_cb  cb,
const char *  hostname,
const char *  service,
const struct addrinfo hints 
)

Definition at line 141 of file unix/getaddrinfo.c.

◆ uv_if_indextoiid()

int uv_if_indextoiid ( unsigned int  ifindex,
char *  buffer,
size_t *  size 
)

Definition at line 253 of file unix/getaddrinfo.c.

◆ uv_if_indextoname()

int uv_if_indextoname ( unsigned int  ifindex,
char *  buffer,
size_t *  size 
)

Definition at line 229 of file unix/getaddrinfo.c.



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