lwdgnba.c revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
/*
* Copyright (C) 2000-2002, 2004, 2005, 2007, 2008, 2014, 2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* $Id: lwdgnba.c,v 1.22 2008/01/14 23:46:56 tbox Exp $ */
/*! \file */
#include <config.h>
#include <named/lwdclient.h>
static void start_byaddr(ns_lwdclient_t *);
static void
int lwres;
isc_region_t r;
isc_buffer_t b;
if (result != ISC_R_SUCCESS) {
if (result == DNS_R_NCACHENXDOMAIN ||
result == DNS_R_NCACHENXRRSET ||
result == DNS_R_NXDOMAIN ||
result == DNS_R_NXRRSET)
else
return;
}
/*
* Fall back to ip6.int reverse if the default ip6.arpa
* fails.
*/
return;
}
{
b = client->recv_buffer;
if (result != ISC_R_SUCCESS)
goto out;
} else {
if (naliases >= LWRES_MAX_ALIASES)
break;
}
}
/*
* Render the packet.
*/
if (lwres != LWRES_R_SUCCESS)
goto out;
if (result != ISC_R_SUCCESS)
goto out;
return;
out:
}
static void
if (result != ISC_R_SUCCESS) {
return;
}
}
static void
int i;
/*
* Initialize the real name and alias arrays in the reply we're
* going to build up.
*/
for (i = 0; i < LWRES_MAX_ALIASES; i++) {
}
for (i = 0; i < LWRES_MAX_ADDRS; i++) {
}
}
void
if (result != LWRES_R_SUCCESS)
goto out;
goto out;
goto out;
} else {
goto out;
}
/*
* We no longer need to keep this around.
*/
/*
* Initialize the real name and alias arrays in the reply we're
* going to build up.
*/
/*
* Start the find.
*/
return;
/*
* We're screwed. Return an error packet to our caller.
*/
out:
}