MCPcopy Create free account
hub / github.com/RsyncProject/rsync / get_canon_name_from_addr

Function get_canon_name_from_addr

lib/getaddrinfo.c:112–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112static char *get_canon_name_from_addr(struct in_addr ip,
113 int *perr)
114{
115 return canon_name_from_hostent(
116 gethostbyaddr((void *)&ip, sizeof ip, AF_INET),
117 perr);
118}
119
120static struct addrinfo *alloc_entry(const struct addrinfo *hints,
121 struct in_addr ip,

Callers 1

getaddr_info_single_addrFunction · 0.85

Calls 1

canon_name_from_hostentFunction · 0.85

Tested by

no test coverage detected