smb_dev.h (206361) | smb_dev.h (217174) |
---|---|
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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/netsmb/smb_dev.h 206361 2010-04-07 16:50:38Z joel $ | 26 * $FreeBSD: head/sys/netsmb/smb_dev.h 217174 2011-01-08 23:06:54Z csjp $ |
27 */ 28#ifndef _NETSMB_DEV_H_ 29#define _NETSMB_DEV_H_ 30 31#ifndef _KERNEL 32#include <sys/types.h> 33#endif 34#include <sys/ioccom.h> --- 18 unchanged lines hidden (view full) --- 53 54/* 55 * SMBIOC_LOOKUP flags 56 */ 57#define SMBLK_CREATE 0x0001 58 59struct smbioc_ossn { 60 int ioc_opt; | 27 */ 28#ifndef _NETSMB_DEV_H_ 29#define _NETSMB_DEV_H_ 30 31#ifndef _KERNEL 32#include <sys/types.h> 33#endif 34#include <sys/ioccom.h> --- 18 unchanged lines hidden (view full) --- 53 54/* 55 * SMBIOC_LOOKUP flags 56 */ 57#define SMBLK_CREATE 0x0001 58 59struct smbioc_ossn { 60 int ioc_opt; |
61 int ioc_svlen; /* size of ioc_server address */ | 61 uint32_t ioc_svlen; /* size of ioc_server address */ |
62 struct sockaddr*ioc_server; | 62 struct sockaddr*ioc_server; |
63 int ioc_lolen; /* size of ioc_local address */ | 63 uint32_t ioc_lolen; /* size of ioc_local address */ |
64 struct sockaddr*ioc_local; 65 char ioc_srvname[SMB_MAXSRVNAMELEN + 1]; 66 int ioc_timeout; 67 int ioc_retrycount; /* number of retries before giveup */ 68 char ioc_localcs[16];/* local charset */ 69 char ioc_servercs[16];/* server charset */ 70 char ioc_user[SMB_MAXUSERNAMELEN + 1]; 71 char ioc_workgroup[SMB_MAXUSERNAMELEN + 1]; --- 122 unchanged lines hidden --- | 64 struct sockaddr*ioc_local; 65 char ioc_srvname[SMB_MAXSRVNAMELEN + 1]; 66 int ioc_timeout; 67 int ioc_retrycount; /* number of retries before giveup */ 68 char ioc_localcs[16];/* local charset */ 69 char ioc_servercs[16];/* server charset */ 70 char ioc_user[SMB_MAXUSERNAMELEN + 1]; 71 char ioc_workgroup[SMB_MAXUSERNAMELEN + 1]; --- 122 unchanged lines hidden --- |