Deleted Added
full compact
smb_conn.h (87192) smb_conn.h (88741)
1/*
2 * Copyright (c) 2000-2001 Boris Popov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
1/*
2 * Copyright (c) 2000-2001 Boris Popov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/netsmb/smb_conn.h 87192 2001-12-02 08:47:29Z bp $
32 * $FreeBSD: head/sys/netsmb/smb_conn.h 88741 2001-12-31 19:29:43Z bp $
33 */
34
35/*
36 * Two levels of connection hierarchy
37 */
38#define SMBL_SM 0
39#define SMBL_VC 1
40#define SMBL_SHARE 2

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

73 * VC flags
74 */
75#define SMBV_PERMANENT 0x0002
76#define SMBV_LONGNAMES 0x0004 /* connection is configured to use long names */
77#define SMBV_ENCRYPT 0x0008 /* server asked for encrypted password */
78#define SMBV_WIN95 0x0010 /* used to apply bugfixes for this OS */
79#define SMBV_PRIVATE 0x0020 /* connection can be used only by creator */
80#define SMBV_RECONNECTING 0x0040 /* conn is in the process of reconnection */
33 */
34
35/*
36 * Two levels of connection hierarchy
37 */
38#define SMBL_SM 0
39#define SMBL_VC 1
40#define SMBL_SHARE 2

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

73 * VC flags
74 */
75#define SMBV_PERMANENT 0x0002
76#define SMBV_LONGNAMES 0x0004 /* connection is configured to use long names */
77#define SMBV_ENCRYPT 0x0008 /* server asked for encrypted password */
78#define SMBV_WIN95 0x0010 /* used to apply bugfixes for this OS */
79#define SMBV_PRIVATE 0x0020 /* connection can be used only by creator */
80#define SMBV_RECONNECTING 0x0040 /* conn is in the process of reconnection */
81#define SMBV_SINGLESHARE 0x0080 /* only one share connectin should be allowed */
82#define SMBV_CREATE 0x0100 /* lookup for create opeartion */
81#define SMBV_SINGLESHARE 0x0080 /* only one share connecting should be allowed */
82#define SMBV_CREATE 0x0100 /* lookup for create operation */
83/*#define SMBV_FAILED 0x0200*/ /* last reconnect attempt has failed */
84
85
86/*
87 * smb_share flags
88 */
89#define SMBS_PERMANENT 0x0001
90#define SMBS_RECONNECTING 0x0002

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

109 int16_t sv_tz; /* offset in min relative to UTC */
110 u_int32_t sv_maxtx; /* maximum transmit buf size */
111 u_char sv_sm; /* security mode */
112 u_int16_t sv_maxmux; /* max number of outstanding rq's */
113 u_int16_t sv_maxvcs; /* max number of VCs */
114 u_int16_t sv_rawmode;
115 u_int32_t sv_maxraw; /* maximum raw-buffer size */
116 u_int32_t sv_skey; /* session key */
83/*#define SMBV_FAILED 0x0200*/ /* last reconnect attempt has failed */
84
85
86/*
87 * smb_share flags
88 */
89#define SMBS_PERMANENT 0x0001
90#define SMBS_RECONNECTING 0x0002

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

109 int16_t sv_tz; /* offset in min relative to UTC */
110 u_int32_t sv_maxtx; /* maximum transmit buf size */
111 u_char sv_sm; /* security mode */
112 u_int16_t sv_maxmux; /* max number of outstanding rq's */
113 u_int16_t sv_maxvcs; /* max number of VCs */
114 u_int16_t sv_rawmode;
115 u_int32_t sv_maxraw; /* maximum raw-buffer size */
116 u_int32_t sv_skey; /* session key */
117 u_int32_t sv_caps; /* capabilites SMB_CAP_ */
117 u_int32_t sv_caps; /* capabilities SMB_CAP_ */
118};
119
120/*
121 * network IO daemon states
122 */
123enum smbiod_state {
124 SMBIOD_ST_NOTCONN, /* no connect request was made */
125 SMBIOD_ST_RECONNECT, /* a [re]connect attempt is in progress */

--- 335 unchanged lines hidden ---
118};
119
120/*
121 * network IO daemon states
122 */
123enum smbiod_state {
124 SMBIOD_ST_NOTCONN, /* no connect request was made */
125 SMBIOD_ST_RECONNECT, /* a [re]connect attempt is in progress */

--- 335 unchanged lines hidden ---