Lines Matching refs:address
298 memmove(&ctx->address, &ctx->confdata.lwservers[0],
300 LWRES_LINK_INIT(&ctx->address, link);
302 /* The default is the IPv4 loopback address 127.0.0.1. */
303 memset(&ctx->address, 0, sizeof(ctx->address));
304 ctx->address.family = LWRES_ADDRTYPE_V4;
305 ctx->address.length = 4;
306 ctx->address.address[0] = 127;
307 ctx->address.address[1] = 0;
308 ctx->address.address[2] = 0;
309 ctx->address.address[3] = 1;
312 if (ctx->address.family == LWRES_ADDRTYPE_V4) {
313 memmove(&sin.sin_addr, ctx->address.address,
320 } else if (ctx->address.family == LWRES_ADDRTYPE_V6) {
321 memmove(&sin6.sin6_addr, ctx->address.address,
403 if (ctx->address.family == LWRES_ADDRTYPE_V4) {
412 * The address of fromlen is cast to void * to shut up compiler
430 if (ctx->address.family == LWRES_ADDRTYPE_V4) {
432 || memcmp(&sin.sin_addr, ctx->address.address,
438 || memcmp(&sin6.sin6_addr, ctx->address.address,