/*
* 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
*/
/*
*/
#include <sys/sysmacros.h>
#include <sys/socketvar.h>
#include "socksdp.h"
int, int, int *, cred_t *);
static void socksdp_destroy(struct sonode *);
};
"socksdp",
NULL,
};
/*
* Module linkage information for the kernel
*/
};
};
/*
* Creates a sdp socket data structure.
*/
/* ARGSUSED */
struct sonode *
{
*errorp = 0;
if (is_system_labeled()) {
*errorp = EOPNOTSUPP;
return (NULL);
}
if (version == SOV_STREAM) {
return (NULL);
}
/*
* We only support one type of SDP socket. Let sotpi_create()
* handle all other cases, such as raw socket.
*/
!(type == SOCK_STREAM)) {
return (NULL);
}
return (NULL);
}
type));
if (version == SOV_DEFAULT) {
}
/*
* set the default values to be INFPSZ
* if a protocol desires it can change the value later
*/
return (so);
}
static void
{
}
int
_init(void)
{
return (mod_install(&modlinkage));
}
int
_fini(void)
{
return (mod_remove(&modlinkage));
}
int
{
}