Macros | Functions
inet.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include "uv.h"
#include "uv-common.h"
Include dependency graph for inet.c:

Go to the source code of this file.

Macros

#define UV__INET6_ADDRSTRLEN   46
 
#define UV__INET_ADDRSTRLEN   16
 

Functions

static int inet_ntop4 (const unsigned char *src, char *dst, size_t size)
 
static int inet_ntop6 (const unsigned char *src, char *dst, size_t size)
 
static int inet_pton4 (const char *src, unsigned char *dst)
 
static int inet_pton6 (const char *src, unsigned char *dst)
 
int uv_inet_ntop (int af, const void *src, char *dst, size_t size)
 
int uv_inet_pton (int af, const char *src, void *dst)
 

Macro Definition Documentation

◆ UV__INET6_ADDRSTRLEN

#define UV__INET6_ADDRSTRLEN   46

Definition at line 31 of file inet.c.

◆ UV__INET_ADDRSTRLEN

#define UV__INET_ADDRSTRLEN   16

Definition at line 30 of file inet.c.

Function Documentation

◆ inet_ntop4()

static int inet_ntop4 ( const unsigned char *  src,
char *  dst,
size_t  size 
)
static

Definition at line 53 of file inet.c.

◆ inet_ntop6()

static int inet_ntop6 ( const unsigned char *  src,
char *  dst,
size_t  size 
)
static

Definition at line 67 of file inet.c.

◆ inet_pton4()

static int inet_pton4 ( const char *  src,
unsigned char *  dst 
)
static

Definition at line 179 of file inet.c.

◆ inet_pton6()

static int inet_pton6 ( const char *  src,
unsigned char *  dst 
)
static

Definition at line 218 of file inet.c.

◆ uv_inet_ntop()

int uv_inet_ntop ( int  af,
const void *  src,
char *  dst,
size_t  size 
)

Definition at line 40 of file inet.c.

◆ uv_inet_pton()

int uv_inet_pton ( int  af,
const char *  src,
void *  dst 
)

Definition at line 150 of file inet.c.



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