Deleted Added
full compact
ctl_frontend_iscsi.h (268685) ctl_frontend_iscsi.h (268691)
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 268685 2014-07-15 17:08:04Z mav $
29 * $FreeBSD: stable/10/sys/cam/ctl/ctl_frontend_iscsi.h 268691 2014-07-15 17:13:49Z 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

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

75 volatile u_int cs_outstanding_ctl_pdus;
76 TAILQ_HEAD(, cfiscsi_data_wait) cs_waiting_for_data_out;
77 struct cfiscsi_target *cs_target;
78 struct callout cs_callout;
79 int cs_timeout;
80 int cs_portal_group_tag;
81 struct cv cs_maintenance_cv;
82 bool cs_terminating;
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

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

75 volatile u_int cs_outstanding_ctl_pdus;
76 TAILQ_HEAD(, cfiscsi_data_wait) cs_waiting_for_data_out;
77 struct cfiscsi_target *cs_target;
78 struct callout cs_callout;
79 int cs_timeout;
80 int cs_portal_group_tag;
81 struct cv cs_maintenance_cv;
82 bool cs_terminating;
83 bool cs_tasks_aborted;
83 size_t cs_max_data_segment_length;
84 size_t cs_max_burst_length;
85 bool cs_immediate_data;
86 char cs_initiator_name[CTL_ISCSI_NAME_LEN];
87 char cs_initiator_addr[CTL_ISCSI_ADDR_LEN];
88 char cs_initiator_alias[CTL_ISCSI_ALIAS_LEN];
89 char cs_initiator_isid[6];
90 char cs_initiator_id[CTL_ISCSI_NAME_LEN + 5 + 6 + 1];

--- 32 unchanged lines hidden ---
84 size_t cs_max_data_segment_length;
85 size_t cs_max_burst_length;
86 bool cs_immediate_data;
87 char cs_initiator_name[CTL_ISCSI_NAME_LEN];
88 char cs_initiator_addr[CTL_ISCSI_ADDR_LEN];
89 char cs_initiator_alias[CTL_ISCSI_ALIAS_LEN];
90 char cs_initiator_isid[6];
91 char cs_initiator_id[CTL_ISCSI_NAME_LEN + 5 + 6 + 1];

--- 32 unchanged lines hidden ---