sctp_ip.h revision f4b3ec61df05330d25f55a36b975b4d7519fdeb1
/*
* 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 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _INET_SCTP_IP_H
#define _INET_SCTP_IP_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/* SCTP routines for IP to call. */
extern void sctp_ddi_g_init(void);
extern void sctp_ddi_g_destroy(void);
zoneid_t, sctp_stack_t *);
extern void sctp_hash_init(sctp_stack_t *);
extern void sctp_hash_destroy(sctp_stack_t *);
{ \
unsigned char *stp; \
}
{ \
unsigned char *stp; \
}
/*
* SCTP to keep its interface list up to date.
*/
extern void sctp_update_ill(ill_t *, int);
extern void sctp_update_ipif(ipif_t *, int);
#define SCTP_ILL_INSERT 1
#define SCTP_ILL_REMOVE 2
#define SCTP_IPIF_INSERT 3
#define SCTP_IPIF_REMOVE 4
#define SCTP_IPIF_UP 5
#define SCTP_IPIF_DOWN 6
#define SCTP_IPIF_UPDATE 7
/* IP routines for SCTP to call. */
extern void sctp_ire_cache_flush(ipif_t *);
/*
* Private (and possibly temporary) ioctls. It is a large number
* to avoid conflict with other ioctls, which are normally smaller
* than 2^16.
*/
#ifdef __cplusplus
}
#endif
#endif /* _INET_SCTP_IP_H */