iscsi_transport.c revision fcf3ce441efd61da9bb2884968af01cb7c1452cc
/*
* 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 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#include <iscsi_transport.h>
#include <sys/socketvar.h>
#ifdef _KERNEL
#else
#include <stdlib.h>
#endif
#include <iscsi.h>
static
void
{
/* This routine should return a pointer to struct sonode */
}
static
int
{
}
static
int
{
flags));
}
static
int
{
}
static
void *
{
struct sonode *listening_socket;
if (listening_socket != NULL) {
} else {
*addr_len = 0;
}
return ((void *)listening_socket);
}
/* ARGSUSED */
static
{
int i = 0;
int total_length = 0;
/* Initialization of the uio structure. */
for (i = 0; i < msg->msg_iovlen; i++) {
}
}
/* ARGSUSED */
static
{
int i = 0;
int total_length = 0;
/* Initialization of the uio structure. */
for (i = 0; i < msg->msg_iovlen; i++) {
}
}
return (0);
}
static
int
iscsi_getsockname(void *socket)
{
}
static
int
{
}
static
int
void *option_val, int option_len)
{
}
static
int
{
}
static
void
iscsi_close(void *socket)
{
}
static
int
{
int pflag;
pri = 0;
}
{
if (hba_transport == NULL) {
KM_SLEEP);
}
return (hba_transport);
}
void
{
}