3 PSI_STRUCT(struct hostent, [
11 PSI_STRUCT(struct netent, [
18 PSI_STRUCT(struct protoent, [
24 PSI_STRUCT(struct servent, [
31 PSI_CONST(IPPORT_RESERVED, int)
33 PSI_STRUCT(struct addrinfo, [
39 struct sockaddr *ai_addr,
41 struct addrinfo *ai_next]
44 PSI_CONST(AI_PASSIVE, int)
45 PSI_CONST(AI_CANONNAME, int)
46 PSI_CONST(AI_NUMERICHOST, int)
47 PSI_CONST(AI_NUMERICSERV, int)
48 PSI_CONST(AI_V4MAPPED, int)
49 PSI_CONST(AI_ALL, int)
50 PSI_CONST(AI_ADDRCONFIG, int)
52 PSI_CONST(NI_NOFQDN, int)
53 PSI_CONST(NI_NUMERICHOST, int)
54 PSI_CONST(NI_NAMEREQD, int)
55 PSI_CONST(NI_NUMERICSERV, int)
56 PSI_CONST(NI_NUMERICSCOPE, int)
57 PSI_CONST(NI_DGRAM, int)
59 PSI_CONST(NI_MAXHOST, int)
60 PSI_CONST(NI_MAXSERV, int)
62 PSI_CONST(EAI_AGAIN, int)
63 PSI_CONST(EAI_BADFLAGS, int)
64 PSI_CONST(EAI_FAIL, int)
65 PSI_CONST(EAI_FAMILY, int)
66 PSI_CONST(EAI_MEMORY, int)
67 PSI_CONST(EAI_NONAME, int)
68 PSI_CONST(EAI_SERVICE, int)
69 PSI_CONST(EAI_SOCKTYPE, int)
70 PSI_CONST(EAI_SYSTEM, int)
71 PSI_CONST(EAI_OVERFLOW, int)
73 PSI_DECL(void endhostent, [(void)])
74 PSI_DECL(void endnetent, [(void)])
75 PSI_DECL(void endprotoent, [(void)])
76 PSI_DECL(void endservent, [(void)])
77 PSI_DECL(void freeaddrinfo, [(struct addrinfo *res)])
78 PSI_DECL(const char *gai_strerror, [(int errcode)])
79 PSI_DECL(int getaddrinfo, [(char *node, char *service, struct addrinfo *hints, struct addrinfo **res)])
80 PSI_DECL(struct hostent *gethostent, [(void)])
81 PSI_DECL(int getnameinfo, [(struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags)])
82 PSI_DECL(struct netent *getnetbyaddr, [(uint32_t net, int type)])
83 PSI_DECL(struct netent *getnetbyname, [(char *name)])
84 PSI_DECL(struct netent *getnetent, [(void)])
85 PSI_DECL(struct protoent *getprotobyname, [(char *name)])
86 PSI_DECL(struct protoent *getprotobynumber, [(int proto)])
87 PSI_DECL(struct protoent *getprotoent, [(void)])
88 PSI_DECL(struct servent *getservbyname, [(char *name, char *proto)])
89 PSI_DECL(struct servent *getservbyport, [(int port, char *proto)])
90 PSI_DECL(struct servent *getservent, [(void)])
91 PSI_DECL(void sethostent, [(int stayopen)])
92 PSI_DECL(void setnetent, [(int stayopen)])
93 PSI_DECL(void setprotoent, [(int stayopen)])
94 PSI_DECL(void setservent, [(int stayopen)])