OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:addrinfo
(Results
1 - 2
of
2
) sorted by relevancy
/src/usr.bin/getaddrinfo/
getaddrinfo.c
55
static void printaddrinfo(struct
addrinfo
*);
60
static const struct
addrinfo
zero_addrinfo;
61
struct
addrinfo
hints = zero_addrinfo;
62
struct
addrinfo
*
addrinfo
;
local in function:main
142
error = getaddrinfo(hostname, service, &hints, &
addrinfo
);
146
if ((hints.ai_flags & AI_CANONNAME) && (
addrinfo
!= NULL)) {
147
if (printf("canonname %s\n",
addrinfo
->ai_canonname) < 0)
151
printaddrinfo(
addrinfo
);
153
freeaddrinfo(
addrinfo
);
[
all
...]
/src/include/
netdb.h
200
struct
addrinfo
{
struct
214
struct
addrinfo
*ai_next; /*%< next structure in linked list */
268
/* valid flags for
addrinfo
(not a standard def, apps should not use it) */
350
const struct
addrinfo
* __restrict,
351
struct
addrinfo
** __restrict);
355
struct
addrinfo
*allocaddrinfo(socklen_t);
356
void freeaddrinfo(struct
addrinfo
*);
Completed in 13 milliseconds
Indexes created Tue Sep 30 11:09:46 GMT 2025