Lines Matching +full:io +full:- +full:multiplex
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2000-2001 Boris Popov
36 #define SMBL_NONE (-1)
63 #define SMBM_ANY_OWNER ((uid_t)-1)
64 #define SMBM_ANY_GROUP ((gid_t)-1)
109 u_int32_t sv_maxraw; /* maximum raw-buffer size */
115 * network IO daemon states
165 #define CONNADDREQ(a1,a2) ((a1)->sa_len == (a2)->sa_len && \
166 bcmp(a1, a2, (a1)->sa_len) == 0)
181 #define SMB_DIALECT(vcp) ((vcp)->vc_sopt.sv_proto)
208 #define SMBCO_FOREACH(var, cp) SLIST_FOREACH((var), &(cp)->co_children, co_next)
224 #define SMBC_ST_LOCK(vcp) smb_sl_lock(&(vcp)->vc_stlock)
225 #define SMBC_ST_UNLOCK(vcp) smb_sl_unlock(&(vcp)->vc_stlock)
245 void * vc_ucs_toserver; /* local charset to server one (using UCS-2) */
246 void * vc_ucs_tolocal; /* server charset to local one (using UCS-2) */
260 u_short vc_mid; /* multiplex id */
275 #define SMB_UNICODE_STRINGS(vcp) ((vcp)->vc_hflags2 & SMB_FLAGS2_UNICODE)
277 #define SMB_UNICODE_NAME "UCS-2LE"
287 #define SMBS_ST_LOCK(ssp) smb_sl_lock(&(ssp)->ss_stlock)
288 #define SMBS_ST_LOCKPTR(ssp) (&(ssp)->ss_stlock)
289 #define SMBS_ST_UNLOCK(ssp) smb_sl_unlock(&(ssp)->ss_stlock)
307 #define VCTOCP(vcp) (&(vcp)->obj)
309 #define SSTOVC(ssp) CPTOVC(((ssp)->obj.co_parent))
310 #define SSTOCP(ssp) (&(ssp)->obj)