/*
* 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 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifdef _SunOS_2_6
/*
* on 2.6 both dki_lock.h and rpc/types.h define bool_t so we
* anyway and make it look like we included it. Yuck.
*/
#define _RPC_TYPES_H
typedef int enum_t;
#else
#ifndef DS_DDICT
#endif
#endif /* _SunOS_2_6 */
#include <sys/nsc_thread.h>
#include "rdc_io.h"
#include "rdc_ioctl.h"
#include "rdc_prot.h"
/*
* Initialize a netbuf suitable for
* describing an address
*/
void
{
}
/*
* Free a netbuf
*/
void
{
#ifdef DEBUG
#endif
return;
}
}
/*
* Duplicate a netbuf, must be followed by a free_rdc_netbuf().
*/
void
{
}
}
#ifdef DEBUG
void
{
int i;
return;
}
}
#endif /* DEBUG */
/*
* Initialize an rdc servinfo
* Contains all the protocol we need to do a client rpc
* A chain of rdc_srv_t indicates a one to many
*/
{
return (NULL);
}
return (NULL);
}
return (NULL);
}
return (NULL);
}
#ifdef DEBUG_IP
#endif
return (nvp);
}
void
{
return;
}
/*
* rdc_netbuf_toint
* Returns oldsytle ipv4 RDC ver 3 addresses for RPC protocol from netbuf
* Note: This would never be called in the case of IPv6 and a program
* mismatch ie ver 3 to ver 4
*/
int
{
int ret;
case 4:
return (ret);
case 8:
case 16:
case 32:
return (ret);
default:
}
return (0);
}