1*5bbd2a12Schristos /* $NetBSD: inet_data.c,v 1.1.1.2 2012/09/09 16:07:50 christos Exp $ */ 2b5677b36Schristos 3b5677b36Schristos /* 4b5677b36Schristos * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") 5b5677b36Schristos * Copyright (c) 1995-1999 by Internet Software Consortium. 6b5677b36Schristos * 7b5677b36Schristos * Permission to use, copy, modify, and distribute this software for any 8b5677b36Schristos * purpose with or without fee is hereby granted, provided that the above 9b5677b36Schristos * copyright notice and this permission notice appear in all copies. 10b5677b36Schristos * 11b5677b36Schristos * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES 12b5677b36Schristos * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 13b5677b36Schristos * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR 14b5677b36Schristos * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 15b5677b36Schristos * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 16b5677b36Schristos * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT 17b5677b36Schristos * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 18b5677b36Schristos */ 19b5677b36Schristos 20b5677b36Schristos #if defined(LIBC_SCCS) && !defined(lint) 21b5677b36Schristos static char rcsid[] = "Id: inet_data.c,v 1.4 2005/04/27 04:56:19 sra Exp "; 22b5677b36Schristos #endif /* LIBC_SCCS and not lint */ 23b5677b36Schristos 24b5677b36Schristos #include "port_before.h" 25b5677b36Schristos 26b5677b36Schristos #include <sys/types.h> 27b5677b36Schristos #include <sys/param.h> 28b5677b36Schristos #include <sys/socket.h> 29b5677b36Schristos #include <sys/time.h> 30b5677b36Schristos 31b5677b36Schristos #include <netinet/in.h> 32b5677b36Schristos #include <arpa/inet.h> 33b5677b36Schristos #include <arpa/nameser.h> 34b5677b36Schristos 35b5677b36Schristos #include <ctype.h> 36b5677b36Schristos #include <netdb.h> 37b5677b36Schristos #include <resolv.h> 38b5677b36Schristos #include <stdio.h> 39b5677b36Schristos #include <stdlib.h> 40b5677b36Schristos #include <string.h> 41b5677b36Schristos #include <unistd.h> 42b5677b36Schristos 43b5677b36Schristos #include "port_after.h" 44b5677b36Schristos 45b5677b36Schristos const struct in6_addr isc_in6addr_any = IN6ADDR_ANY_INIT; 46b5677b36Schristos const struct in6_addr isc_in6addr_loopback = IN6ADDR_LOOPBACK_INIT; 47b5677b36Schristos 48b5677b36Schristos /*! \file */ 49