arpddi.c revision 35c0ca7e36fa9e428666351e49c6d6cf2151e87c
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1990 Mentat Inc. */
#pragma ident "%Z%%M% %I% %E% SMI"
#include <inet/arp_impl.h>
#define INET_NAME "arp"
#define INET_MODDESC "ARP STREAMS module %I%"
#define INET_DEVDESC "ARP STREAMS driver %I%"
#define INET_DEVMINOR IPV4_MINOR
#define INET_STRTAB arpinfo
static void arp_ddi_destroy();
static void arp_ddi_init();
#include "../inetddi.c"
int
_init(void)
{
int error;
arp_ddi_init();
if (error != 0)
return (error);
}
int
_fini(void)
{
int error;
if (error == 0)
return (error);
}
int
{
}
static void
{
arp_net_init();
}
static void
{
}