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