Lines Matching refs:addrlen

222 	ev_socklen_t addrlen;  member
283 ev_socklen_t addrlen; /* length of addr */ member
368 int addrlen; member
1202 …8 *packet, int length, struct evdns_server_port *port, struct sockaddr *addr, ev_socklen_t addrlen) in request_parse() argument
1233 memcpy(&server_req->addr, addr, addrlen); in request_parse()
1234 server_req->addrlen = addrlen; in request_parse()
1359 ev_socklen_t addrlen = sizeof(ss); in nameserver_read() local
1367 (struct sockaddr*)&ss, &addrlen); in nameserver_read()
1397 ev_socklen_t addrlen; in server_port_read() local
1402 addrlen = sizeof(struct sockaddr_storage); in server_port_read()
1404 (struct sockaddr*) &addr, &addrlen); in server_port_read()
1414 request_parse(packet, r, s, (struct sockaddr*) &addr, addrlen); in server_port_read()
1426 (struct sockaddr*) &req->addr, (ev_socklen_t)req->addrlen); in server_port_flush()
1988 (struct sockaddr*) &req->addr, (ev_socklen_t)req->addrlen); in evdns_server_request_respond()
2135 if (addr_len < (int)req->addrlen) in evdns_server_request_get_requesting_addr()
2137 memcpy(sa, &(req->addr), req->addrlen); in evdns_server_request_get_requesting_addr()
2138 return req->addrlen; in evdns_server_request_get_requesting_addr()
2195 (struct sockaddr *)&server->address, server->addrlen); in evdns_request_transmit_to()
2463 _evdns_nameserver_add_impl(struct evdns_base *base, const struct sockaddr *address, int addrlen) { in _evdns_nameserver_add_impl() argument
2478 if (addrlen > (int)sizeof(ns->address)) { in _evdns_nameserver_add_impl()
2479 log(EVDNS_LOG_DEBUG, "Addrlen %d too long.", (int)addrlen); in _evdns_nameserver_add_impl()
2507 memcpy(&ns->address, address, addrlen); in _evdns_nameserver_add_impl()
2508 ns->addrlen = addrlen; in _evdns_nameserver_add_impl()
4077 he->addrlen = socklen; in evdns_base_parse_hosts_line()
4314 int socklen, addrlen; in evdns_getaddrinfo_gotresolve() local
4416 addrlen = 4; in evdns_getaddrinfo_gotresolve()
4425 addrlen = 16; in evdns_getaddrinfo_gotresolve()
4432 memcpy(addrp, ((char*)addresses)+i*addrlen, addrlen); in evdns_getaddrinfo_gotresolve()
4513 ai_new = evutil_new_addrinfo(&e->addr.sa, e->addrlen, hints); in evdns_getaddrinfo_fromhosts()