Lines Matching full:addrlen
269 socklen_t addrlen; /* length of addr */
954 /* a DNS client (addr,addrlen), and if it's well-formed, call the corresponding */
957 request_parse(u8 *packet, int length, struct evdns_server_port *port, struct sockaddr *addr, socklen_t addrlen)
983 memcpy(&server_req->addr, addr, addrlen);
984 server_req->addrlen = addrlen;
1172 socklen_t addrlen = sizeof(ss);
1176 (struct sockaddr*)&ss, &addrlen);
1183 if (!address_is_correct(ns, (struct sockaddr*)&ss, addrlen)) {
1199 socklen_t addrlen;
1203 addrlen = sizeof(struct sockaddr_storage);
1205 (struct sockaddr*) &addr, &addrlen);
1213 request_parse(packet, r, s, (struct sockaddr*) &addr, addrlen);
1224 (struct sockaddr*) &req->addr, req->addrlen);
1737 (struct sockaddr*) &req->addr, req->addrlen);
1871 if (addr_len < (int)req->addrlen)
1873 memcpy(sa, &(req->addr), req->addrlen);
1874 return req->addrlen;