1238106Sdes/*
2238106Sdes * CDDL HEADER START
3238106Sdes *
4238106Sdes * The contents of this file are subject to the terms of the
5238106Sdes * Common Development and Distribution License (the "License").
6238106Sdes * You may not use this file except in compliance with the License.
7238106Sdes *
8238106Sdes * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9238106Sdes * or http://www.opensolaris.org/os/licensing.
10238106Sdes * See the License for the specific language governing permissions
11238106Sdes * and limitations under the License.
12238106Sdes *
13238106Sdes * When distributing Covered Code, include this CDDL HEADER in each
14238106Sdes * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15238106Sdes * If applicable, add the following below this CDDL HEADER, with the
16238106Sdes * fields enclosed by brackets "[]" replaced with your own identifying
17238106Sdes * information: Portions Copyright [yyyy] [name of copyright owner]
18238106Sdes *
19238106Sdes * CDDL HEADER END
20238106Sdes */
21238106Sdes
22238106Sdes/*
23238106Sdes * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
24238106Sdes * Use is subject to license terms.
25238106Sdes */
26238106Sdes
27238106Sdes#pragma ident	"%Z%%M%	%I%	%E% SMI"
28238106Sdes
29238106Sdes#pragma D option quiet
30238106Sdes
31238106Sdesstruct in6_addr *ip6a;
32238106Sdesstruct in6_addr *ip6b;
33238106Sdesstruct in6_addr *ip6c;
34238106Sdesstruct in6_addr *ip6d;
35238106Sdesstruct in6_addr *ip6e;
36238106Sdesstruct in6_addr *ip6f;
37238106Sdesstruct in6_addr *ip6g;
38238106Sdes
39238106SdesBEGIN
40238106Sdes{
41238106Sdes	this->buf6a = alloca(sizeof (struct in6_addr));
42238106Sdes	this->buf6b = alloca(sizeof (struct in6_addr));
43238106Sdes	this->buf6c = alloca(sizeof (struct in6_addr));
44238106Sdes	this->buf6d = alloca(sizeof (struct in6_addr));
45238106Sdes	this->buf6e = alloca(sizeof (struct in6_addr));
46238106Sdes	this->buf6f = alloca(sizeof (struct in6_addr));
47238106Sdes	this->buf6g = alloca(sizeof (struct in6_addr));
48238106Sdes	ip6a = this->buf6a;
49238106Sdes	ip6b = this->buf6b;
50238106Sdes	ip6c = this->buf6c;
51238106Sdes	ip6d = this->buf6d;
52238106Sdes	ip6e = this->buf6e;
53238106Sdes	ip6f = this->buf6f;
54238106Sdes	ip6g = this->buf6g;
55238106Sdes
56238106Sdes	ip6a->__u6_addr.__u6_addr8[0] = 0xfe;
57238106Sdes	ip6a->__u6_addr.__u6_addr8[1] = 0x80;
58238106Sdes	ip6a->__u6_addr.__u6_addr8[8] = 0x02;
59238106Sdes	ip6a->__u6_addr.__u6_addr8[9] = 0x14;
60238106Sdes	ip6a->__u6_addr.__u6_addr8[10] = 0x4f;
61238106Sdes	ip6a->__u6_addr.__u6_addr8[11] = 0xff;
62238106Sdes	ip6a->__u6_addr.__u6_addr8[12] = 0xfe;
63238106Sdes	ip6a->__u6_addr.__u6_addr8[13] = 0x0b;
64238106Sdes	ip6a->__u6_addr.__u6_addr8[14] = 0x76;
65238106Sdes	ip6a->__u6_addr.__u6_addr8[15] = 0xc8;
66238106Sdes	ip6b->__u6_addr.__u6_addr8[0] = 0x10;
67238106Sdes	ip6b->__u6_addr.__u6_addr8[1] = 0x80;
68238106Sdes	ip6b->__u6_addr.__u6_addr8[10] = 0x08;
69238106Sdes	ip6b->__u6_addr.__u6_addr8[11] = 0x08;
70238106Sdes	ip6b->__u6_addr.__u6_addr8[13] = 0x20;
71238106Sdes	ip6b->__u6_addr.__u6_addr8[13] = 0x0c;
72238106Sdes	ip6b->__u6_addr.__u6_addr8[14] = 0x41;
73238106Sdes	ip6b->__u6_addr.__u6_addr8[15] = 0x7a;
74238106Sdes	ip6c->__u6_addr.__u6_addr8[15] = 0x01;
75238106Sdes	ip6e->__u6_addr.__u6_addr8[12] = 0x7f;
76238106Sdes	ip6e->__u6_addr.__u6_addr8[15] = 0x01;
77238106Sdes	ip6f->__u6_addr.__u6_addr8[10] = 0xff;
78238106Sdes	ip6f->__u6_addr.__u6_addr8[11] = 0xff;
79238106Sdes	ip6f->__u6_addr.__u6_addr8[12] = 0x7f;
80238106Sdes	ip6f->__u6_addr.__u6_addr8[15] = 0x01;
81238106Sdes	ip6g->__u6_addr.__u6_addr8[10] = 0xff;
82238106Sdes	ip6g->__u6_addr.__u6_addr8[11] = 0xfe;
83238106Sdes	ip6g->__u6_addr.__u6_addr8[12] = 0x7f;
84238106Sdes	ip6g->__u6_addr.__u6_addr8[15] = 0x01;
85238106Sdes
86238106Sdes	printf("%s\n", inet_ntoa6(ip6a));
87238106Sdes	printf("%s\n", inet_ntoa6(ip6b));
88238106Sdes	printf("%s\n", inet_ntoa6(ip6c));
89238106Sdes	printf("%s\n", inet_ntoa6(ip6d));
90238106Sdes	printf("%s\n", inet_ntoa6(ip6e));
91238106Sdes	printf("%s\n", inet_ntoa6(ip6f));
92238106Sdes	printf("%s\n", inet_ntoa6(ip6g));
93238106Sdes
94238106Sdes	exit(0);
95238106Sdes}
96238106Sdes