srpt_ch.h revision 1bdd6c0e3710e91cb1f31aa78de33cb638494480
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhx * CDDL HEADER START
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhx * The contents of this file are subject to the terms of the
a399b7655a1d835aa8606c2b29e4e777baac8635zf * Common Development and Distribution License (the "License").
a399b7655a1d835aa8606c2b29e4e777baac8635zf * You may not use this file except in compliance with the License.
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhx * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhx * See the License for the specific language governing permissions
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhx * and limitations under the License.
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhx * When distributing Covered Code, include this CDDL HEADER in each
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhx * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhx * If applicable, add the following below this CDDL HEADER, with the
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhx * fields enclosed by brackets "[]" replaced with your own identifying
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhx * information: Portions Copyright [yyyy] [name of copyright owner]
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhx * CDDL HEADER END
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhx * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhx * Use is subject to license terms.
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhx * Prototypes and data structures specific to SCSI Session
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhx * interface.
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhxextern "C" {
0d2f4bc964616a7fec76406480264fcaa2cfbc14ff * Prototypes
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhxsrpt_channel_t *srpt_ch_alloc(srpt_target_port_t *tgt, uint8_t port);
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhxvoid srpt_ch_release_ref(srpt_channel_t *ch, uint_t wait);
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhxvoid srpt_ch_free_swqe_wrid(srpt_channel_t *ch, ibt_wrid_t id);
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhxibt_status_t srpt_ch_post_send(srpt_channel_t *ch, srpt_iu_t *iu,
516fc7f3e48e25d0375ea3f93ead33ec38bc597bhx#endif /* _SRPT_CH_H */