smb_rq.h (75374) | smb_rq.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_rq.h 75374 2001-04-10 07:59:06Z bp $ | 32 * $FreeBSD: head/sys/netsmb/smb_rq.h 88741 2001-12-31 19:29:43Z bp $ |
33 */ 34#ifndef _NETSMB_SMB_RQ_H_ 35#define _NETSMB_SMB_RQ_H_ 36 37#ifndef MB_MSYSTEM 38#include <sys/mchain.h> 39#endif 40 --- 73 unchanged lines hidden (view full) --- 114 u_int8_t t2_maxscount; /* max setup words to return */ 115 u_int16_t t2_maxpcount; /* max param bytes to return */ 116 u_int16_t t2_maxdcount; /* max data bytes to return */ 117 u_int16_t t2_fid; /* for T2 request */ 118 char * t_name; /* for T request, should be zero for T2 */ 119 int t2_flags; /* SMBT2_ */ 120 struct mbchain t2_tparam; /* parameters to transmit */ 121 struct mbchain t2_tdata; /* data to transmit */ | 33 */ 34#ifndef _NETSMB_SMB_RQ_H_ 35#define _NETSMB_SMB_RQ_H_ 36 37#ifndef MB_MSYSTEM 38#include <sys/mchain.h> 39#endif 40 --- 73 unchanged lines hidden (view full) --- 114 u_int8_t t2_maxscount; /* max setup words to return */ 115 u_int16_t t2_maxpcount; /* max param bytes to return */ 116 u_int16_t t2_maxdcount; /* max data bytes to return */ 117 u_int16_t t2_fid; /* for T2 request */ 118 char * t_name; /* for T request, should be zero for T2 */ 119 int t2_flags; /* SMBT2_ */ 120 struct mbchain t2_tparam; /* parameters to transmit */ 121 struct mbchain t2_tdata; /* data to transmit */ |
122 struct mdchain t2_rparam; /* received paramters */ | 122 struct mdchain t2_rparam; /* received parameters */ |
123 struct mdchain t2_rdata; /* received data */ 124 struct smb_cred*t2_cred; 125 struct smb_connobj *t2_source; 126 struct smb_rq * t2_rq; 127 struct smb_vc * t2_vc; 128}; 129 130int smb_rq_alloc(struct smb_connobj *layer, u_char cmd, --- 21 unchanged lines hidden --- | 123 struct mdchain t2_rdata; /* received data */ 124 struct smb_cred*t2_cred; 125 struct smb_connobj *t2_source; 126 struct smb_rq * t2_rq; 127 struct smb_vc * t2_vc; 128}; 129 130int smb_rq_alloc(struct smb_connobj *layer, u_char cmd, --- 21 unchanged lines hidden --- |