Lines Matching refs:ip
155 char* ip;
188 free(s->ip);
214 static struct tap_socket* tap_socket_new_tcpaccept(char* ip,
222 s->ip = strdup(ip);
223 if(!s->ip) {
235 static struct tap_socket* tap_socket_new_tlsaccept(char* ip,
244 s->ip = strdup(ip);
245 if(!s->ip) {
256 free(s->ip);
264 static int make_tcp_accept(char* ip)
275 if(!extstrtoaddr(ip, &addr, &len)) {
276 log_err("could not parse IP '%s'", ip);
321 } else if(s->ip || s->sslctx) {
323 s->fd = make_tcp_accept(s->ip);
1093 char ip[256];
1094 addr_to_str(&addr, addrlen, ip, sizeof(ip));
1095 log_info("accepted new dnstap client from %s", ip);
1096 id = strdup(ip);