1f3b585ceSsamf/* 2f3b585ceSsamf * CDDL HEADER START 3f3b585ceSsamf * 4f3b585ceSsamf * The contents of this file are subject to the terms of the 5f3b585ceSsamf * Common Development and Distribution License (the "License"). 6f3b585ceSsamf * You may not use this file except in compliance with the License. 7f3b585ceSsamf * 8f3b585ceSsamf * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9f3b585ceSsamf * or http://www.opensolaris.org/os/licensing. 10f3b585ceSsamf * See the License for the specific language governing permissions 11f3b585ceSsamf * and limitations under the License. 12f3b585ceSsamf * 13f3b585ceSsamf * When distributing Covered Code, include this CDDL HEADER in each 14f3b585ceSsamf * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15f3b585ceSsamf * If applicable, add the following below this CDDL HEADER, with the 16f3b585ceSsamf * fields enclosed by brackets "[]" replaced with your own identifying 17f3b585ceSsamf * information: Portions Copyright [yyyy] [name of copyright owner] 18f3b585ceSsamf * 19f3b585ceSsamf * CDDL HEADER END 20f3b585ceSsamf */ 21f3b585ceSsamf/* 22f3b585ceSsamf * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23f3b585ceSsamf * Use is subject to license terms. 24f3b585ceSsamf */ 25f3b585ceSsamf 26f3b585ceSsamf/* 27*10e6dadfSbrendan * This file is a sed script which is first preprocessed by cpp or cc -E to 28*10e6dadfSbrendan * define a set of sed directives which replace #define tokens with their 29*10e6dadfSbrendan * values. After preprocessing, the sed script is run over net.d.in to 30*10e6dadfSbrendan * replace the #define tokens listed below to create the finished net.d. 31*10e6dadfSbrendan * Refer to the rules in libdtrace/Makefile.com for more information. 32f3b585ceSsamf */ 33*10e6dadfSbrendan 34*10e6dadfSbrendan#include <sys/socket.h> 35*10e6dadfSbrendan 36*10e6dadfSbrendan#define SED_REPLACE(x) s/#x/x/g 37*10e6dadfSbrendan 38*10e6dadfSbrendanSED_REPLACE(AF_INET) 39*10e6dadfSbrendanSED_REPLACE(AF_INET6) 40