inet_data.c (7c478bd9) inet_data.c (9525b14b)
1/*
1/*
2 * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
4 */
5
6/*
2 * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
7 * Copyright (c) 1995-1999 by Internet Software Consortium.
8 *
9 * Permission to use, copy, modify, and distribute this software for any
10 * purpose with or without fee is hereby granted, provided that the above
11 * copyright notice and this permission notice appear in all copies.
12 *
3 * Copyright (c) 1995-1999 by Internet Software Consortium.
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
13 * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
14 * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
15 * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
16 * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
17 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
18 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
19 * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
20 * SOFTWARE.
9 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
15 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21 */
22
16 */
17
23#pragma ident "%Z%%M% %I% %E% SMI"
24
25#if defined(LIBC_SCCS) && !defined(lint)
18#if defined(LIBC_SCCS) && !defined(lint)
26static char rcsid[] = "$Id: inet_data.c,v 1.2 2001/06/20 22:06:36 marka Exp $";
19static char rcsid[] = "$Id: inet_data.c,v 1.4 2005/04/27 04:56:19 sra Exp $";
27#endif /* LIBC_SCCS and not lint */
28
29#include "port_before.h"
30
31#include <sys/types.h>
32#include <sys/param.h>
33#include <sys/socket.h>
34#include <sys/time.h>

--- 9 unchanged lines hidden (view full) ---

44#include <stdlib.h>
45#include <string.h>
46#include <unistd.h>
47
48#include "port_after.h"
49
50const struct in6_addr isc_in6addr_any = IN6ADDR_ANY_INIT;
51const struct in6_addr isc_in6addr_loopback = IN6ADDR_LOOPBACK_INIT;
20#endif /* LIBC_SCCS and not lint */
21
22#include "port_before.h"
23
24#include <sys/types.h>
25#include <sys/param.h>
26#include <sys/socket.h>
27#include <sys/time.h>

--- 9 unchanged lines hidden (view full) ---

37#include <stdlib.h>
38#include <string.h>
39#include <unistd.h>
40
41#include "port_after.h"
42
43const struct in6_addr isc_in6addr_any = IN6ADDR_ANY_INIT;
44const struct in6_addr isc_in6addr_loopback = IN6ADDR_LOOPBACK_INIT;
45
46/*! \file */