Deleted Added
full compact
ctl_frontend_iscsi.h (268691) ctl_frontend_iscsi.h (268692)
1/*-
2 * Copyright (c) 2012 The FreeBSD Foundation
3 * All rights reserved.
4 *
5 * This software was developed by Edward Tomasz Napierala under sponsorship
6 * from the FreeBSD Foundation.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
1/*-
2 * Copyright (c) 2012 The FreeBSD Foundation
3 * All rights reserved.
4 *
5 * This software was developed by Edward Tomasz Napierala under sponsorship
6 * from the FreeBSD Foundation.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: stable/10/sys/cam/ctl/ctl_frontend_iscsi.h 268691 2014-07-15 17:13:49Z mav $
29 * $FreeBSD: stable/10/sys/cam/ctl/ctl_frontend_iscsi.h 268692 2014-07-15 17:14:53Z mav $
30 */
31
32#ifndef CTL_FRONTEND_ISCSI_H
33#define CTL_FRONTEND_ISCSI_H
34
35#define CFISCSI_TARGET_STATE_INVALID 0
36#define CFISCSI_TARGET_STATE_ACTIVE 1
37#define CFISCSI_TARGET_STATE_DYING 2

--- 69 unchanged lines hidden (view full) ---

107
108struct cfiscsi_softc {
109 struct mtx lock;
110 char port_name[32];
111 int online;
112 unsigned int last_session_id;
113 TAILQ_HEAD(, cfiscsi_target) targets;
114 TAILQ_HEAD(, cfiscsi_session) sessions;
30 */
31
32#ifndef CTL_FRONTEND_ISCSI_H
33#define CTL_FRONTEND_ISCSI_H
34
35#define CFISCSI_TARGET_STATE_INVALID 0
36#define CFISCSI_TARGET_STATE_ACTIVE 1
37#define CFISCSI_TARGET_STATE_DYING 2

--- 69 unchanged lines hidden (view full) ---

107
108struct cfiscsi_softc {
109 struct mtx lock;
110 char port_name[32];
111 int online;
112 unsigned int last_session_id;
113 TAILQ_HEAD(, cfiscsi_target) targets;
114 TAILQ_HEAD(, cfiscsi_session) sessions;
115 char ctl_initids[CTL_MAX_INIT_PER_PORT];
116 int max_initiators;
117#ifdef ICL_KERNEL_PROXY
118 struct icl_listen *listener;
119 struct cv accept_cv;
120#endif
121};
122
123#endif /* !CTL_FRONTEND_ISCSI_H */
115#ifdef ICL_KERNEL_PROXY
116 struct icl_listen *listener;
117 struct cv accept_cv;
118#endif
119};
120
121#endif /* !CTL_FRONTEND_ISCSI_H */