getnameinfo.cc File Reference
#include "squid.h"
Include dependency graph for getnameinfo.cc:

Go to the source code of this file.

Classes

struct  afd
 

Functions

int xgetnameinfo (const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags)
 

Variables

static const struct afd afdl []
 

Function Documentation

◆ xgetnameinfo()

int xgetnameinfo ( const struct sockaddr *  sa,
socklen_t  salen,
char *  host,
size_t  hostlen,
char *  serv,
size_t  servlen,
int  flags 
)

Variable Documentation

◆ afdl

const struct afd afdl[]
static
Initial value:
= {
{ PF_INET, sizeof(struct in_addr), sizeof(struct sockaddr_in),
offsetof(struct sockaddr_in, sin_addr),
offsetof(struct sockaddr_in, sin_port)
},
{0, 0, 0, 0, 0},
}

Referenced by xgetnameinfo().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors