Home
last modified time | relevance | path

Searched refs:printable_addr (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Daddr_match.c89 const char *printable_addr, in check_address() argument
112 "the same IP address.", prog, printable_addr, hostname); in check_address()
113 (void) strlcpy(hostname, printable_addr, hostsize); in check_address()
H A Daddr_match.h40 const char *printable_addr, char *hostname, size_t hostsize);
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c284 char *printable_addr, *protocol; in dump_sockaddr() local
318 printable_addr = dgettext(TEXT_DOMAIN, "Invalid IP address."); in dump_sockaddr()
323 printable_addr = storage; in dump_sockaddr()
325 (void) strlcat(printable_addr, prefix, in dump_sockaddr()
330 if (fprintf(where, "%s", printable_addr) < 0) in dump_sockaddr()
335 ntohs(port), printable_addr) < 0) in dump_sockaddr()
3006 char *printable_addr, buf[INET6_ADDRSTRLEN]; in save_address() local
3052 printable_addr = (char *)inet_ntop(af, in save_address()
3055 if (printable_addr == NULL) in save_address()
3056 printable_addr = "Invalid IP address."; in save_address()
[all …]