Searched refs:iporhost (Results 1 – 2 of 2) sorted by relevance
/freebsd/sbin/hastd/ |
H A D | proto_tcp.c | 101 char iporhost[MAXHOSTNAMELEN], portstr[6]; in tcp_addr() local 159 size = sizeof(iporhost); in tcp_addr() 160 if (strlcpy(iporhost, addr, size) >= size) in tcp_addr() 164 if (size > sizeof(iporhost)) in tcp_addr() 166 (void)strlcpy(iporhost, addr + 1, size); in tcp_addr() 169 if (size > sizeof(iporhost)) in tcp_addr() 171 (void)strlcpy(iporhost, addr, size); in tcp_addr() 174 error = getaddrinfo(iporhost, portstr, &hints, &res); in tcp_addr() 176 pjdlog_debug(1, "getaddrinfo(%s, %s) failed: %s.", iporhost, in tcp_addr()
|
/freebsd/contrib/openbsm/bin/auditdistd/ |
H A D | proto_tcp.c | 107 char iporhost[MAXHOSTNAMELEN], portstr[6]; in tcp_addr() local 165 size = sizeof(iporhost); in tcp_addr() 166 if (strlcpy(iporhost, addr, size) >= size) in tcp_addr() 170 if (size > sizeof(iporhost)) in tcp_addr() 172 (void)strlcpy(iporhost, addr + 1, size); in tcp_addr() 175 if (size > sizeof(iporhost)) in tcp_addr() 177 (void)strlcpy(iporhost, addr, size); in tcp_addr() 180 error = getaddrinfo(iporhost, portstr, &hints, &res); in tcp_addr() 182 pjdlog_debug(1, "getaddrinfo(%s, %s) failed: %s.", iporhost, in tcp_addr()
|