process_gabn.c revision 9c3531d72aeaad6c5f01efe6a1c82023e1379e4d
0e507dbb816575e6220fe309e8ada68897ffcdbeMark Andrews * Copyright (C) 2000 Internet Software Consortium.
bf8267aa453e5d2a735ed732a043b77a0b355b20Mark Andrews * Permission to use, copy, modify, and distribute this software for any
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * purpose with or without fee is hereby granted, provided that the above
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * copyright notice and this permission notice appear in all copies.
0e507dbb816575e6220fe309e8ada68897ffcdbeMark Andrews * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
c8175ece69d986ccd0671bc4d2571b247dfae177Automatic Updater * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
0e507dbb816575e6220fe309e8ada68897ffcdbeMark Andrews * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
0e507dbb816575e6220fe309e8ada68897ffcdbeMark Andrews * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
0e507dbb816575e6220fe309e8ada68897ffcdbeMark Andrews * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
0e507dbb816575e6220fe309e8ada68897ffcdbeMark Andrews * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
0e507dbb816575e6220fe309e8ada68897ffcdbeMark Andrews * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
0e507dbb816575e6220fe309e8ada68897ffcdbeMark Andrews/* $Id: process_gabn.c,v 1.29 2000/06/22 21:49:13 tale Exp $ */
0e507dbb816575e6220fe309e8ada68897ffcdbeMark Andrews#include <isc/string.h> /* Required for HP/UX (and others?) */
0e507dbb816575e6220fe309e8ada68897ffcdbeMark Andrews#define NEED_V4(c) ((((c)->find_wanted & LWRES_ADDRTYPE_V4) != 0) \
0e507dbb816575e6220fe309e8ada68897ffcdbeMark Andrews#define NEED_V6(c) ((((c)->find_wanted & LWRES_ADDRTYPE_V6) != 0) \
int af;
goto next;
case AF_INET:
case AF_INET6:
goto next;
next:
int lwres;
isc_region_t r;
goto out;
goto out;
out:
static isc_result_t
isc_buffer_t b;
return (result);
return (ISC_R_SUCCESS);
static isc_result_t
isc_buffer_t b;
return (result);
return (ISC_R_SUCCESS);
if (claimed)
unsigned int options;
options = 0;
goto find_again;
if (claimed)
goto out;
goto out;
goto out;
out: