Searched refs:smb_ctx (Results 1 - 25 of 37) sorted by relevance

12

/illumos-gate/usr/src/lib/libsmbfs/netsmb/
H A Dsmbfs_api.h94 struct smb_ctx; /* anonymous here; real one in smb_lib.h */
95 typedef struct smb_ctx smb_ctx_t;
105 int smb_ctx_alloc(struct smb_ctx **);
106 void smb_ctx_free(struct smb_ctx *);
107 int smb_ctx_kill(struct smb_ctx *);
109 int smb_ctx_scan_argv(struct smb_ctx *, int, char **, int, int, int);
110 int smb_ctx_parseunc(struct smb_ctx *, const char *, int, int, int,
112 int smb_ctx_readrc(struct smb_ctx *);
113 int smb_ctx_opt(struct smb_ctx *, int, const char *);
114 int smb_get_authentication(struct smb_ctx *);
[all...]
H A Dsmb_netshareenum.h16 int smb_netshareenum(struct smb_ctx *, int *, int *, struct share_info **);
H A Dsmb_lib.h94 struct smb_ctx { struct
181 int smb_ctx_init(struct smb_ctx *);
182 void smb_ctx_done(struct smb_ctx *);
185 int smb_ctx_gethandle(struct smb_ctx *);
186 int smb_ctx_findvc(struct smb_ctx *);
187 int smb_ctx_newvc(struct smb_ctx *);
201 int smb_iod_connect(struct smb_ctx *);
202 int smb_iod_work(struct smb_ctx *);
H A Dsmb_rap.h61 int smb_rap_request(struct smb_rap *, struct smb_ctx *);
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dlibsmbrdr.h38 struct smb_ctx;
39 int smbrdr_ctx_new(struct smb_ctx **, char *, char *, char *);
40 void smbrdr_ctx_free(struct smb_ctx *);
H A Dsmbrdr_glue.c74 * If this successfully builds an smb_ctx, it just frees it.
84 struct smb_ctx *ctx;
94 smbrdr_ctx_free(struct smb_ctx *ctx)
106 smbrdr_ctx_new(struct smb_ctx **ctx_p, char *server,
109 struct smb_ctx *ctx = NULL;
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dntlm.h56 ntlm_build_target_info(struct smb_ctx *, struct mbuf *, struct mbdata *);
59 ntlm_put_v1_responses(struct smb_ctx *ctx,
63 ntlm_put_v1x_responses(struct smb_ctx *ctx,
67 ntlm_put_v2_responses(struct smb_ctx *ctx, struct mbdata *ti_mbp,
71 ntlm_build_mac_key(struct smb_ctx *ctx, struct mbdata *ntresp_mbp);
74 ntlm2_kxkey(struct smb_ctx *ctx, struct mbdata *lm_mbp, uchar_t *kxkey);
H A Dssp.h38 struct smb_ctx *smb_ctx; member in struct:ssp_ctx
H A Dprivate.h80 struct smb_ctx *rq_ctx;
103 int smb_rq_init(struct smb_ctx *, uchar_t, struct smb_rq **);
111 int smb_rq_internal(struct smb_ctx *, struct smb_rq *);
143 void dump_ctx(char *, struct smb_ctx *);
146 int nb_ssn_request(struct smb_ctx *, char *);
173 int smb_ctx_getaddr(struct smb_ctx *ctx);
174 int smb_ctx_gethandle(struct smb_ctx *ctx);
176 int smb_iod_start(struct smb_ctx *);
178 int smb_ssn_send(struct smb_ctx *, struct mbdata *);
179 int smb_ssn_recv(struct smb_ctx *, struc
[all...]
H A Dfindvc.c65 findvc(struct smb_ctx *ctx, struct addrinfo *ai)
90 smb_ctx_findvc(struct smb_ctx *ctx)
132 smb_ctx_kill(struct smb_ctx *ctx)
H A Dnb_ssn.c51 static int nb_ssn_send(struct smb_ctx *, struct mbdata *, int, int);
52 static int nb_ssn_recv(struct smb_ctx *, struct mbdata *, int *, int *);
53 static int nb_ssn_pollin(struct smb_ctx *, int);
59 smb_ssn_send(struct smb_ctx *ctx, struct mbdata *mbp)
69 nb_ssn_send(struct smb_ctx *ctx, struct mbdata *mbp,
119 smb_ssn_recv(struct smb_ctx *ctx, struct mbdata *mbp)
144 nb_ssn_recv(struct smb_ctx *ctx, struct mbdata *mb,
245 nb_ssn_pollin(struct smb_ctx *ctx, int tmo)
273 nb_ssn_request(struct smb_ctx *ctx, char *srvname)
H A Dui-sun.c80 smb_get_authentication(struct smb_ctx *ctx)
137 smb_browse(struct smb_ctx *ctx, int anon)
H A Dctx.c110 rpc_cleanup_smbctx(struct smb_ctx *ctx)
188 dump_ctx(char *where, struct smb_ctx *ctx)
224 smb_ctx_alloc(struct smb_ctx **ctx_pp)
242 * Initialize an smb_ctx struct (defaults)
245 smb_ctx_init(struct smb_ctx *ctx)
315 smb_ctx_scan_argv(struct smb_ctx *ctx, int argc, char **argv,
395 smb_ctx_done(struct smb_ctx *ctx)
465 smb_ctx_parseunc(struct smb_ctx *ctx, const char *unc,
631 smb_ctx_setcharset(struct smb_ctx *ctx, const char *arg)
666 smb_ctx_setauthflags(struct smb_ctx *ct
[all...]
H A Dnewvc.c65 newvc(struct smb_ctx *ctx, struct addrinfo *ai)
87 smb_ctx_newvc(struct smb_ctx *ctx)
H A Dsigning.c66 smb_compute_MAC(struct smb_ctx *ctx, mbuf_t *m,
148 struct smb_ctx *ctx = rqp->rq_ctx;
190 struct smb_ctx *ctx = rqp->rq_ctx;
H A Dconnect.c72 int conn_tcp6(struct smb_ctx *, const struct sockaddr *, int);
73 int conn_tcp4(struct smb_ctx *, const struct sockaddr *, int);
74 int conn_nbt(struct smb_ctx *, const struct sockaddr *, char *);
165 conn_tcp6(struct smb_ctx *ctx, const struct sockaddr *sa, int port)
226 conn_tcp4(struct smb_ctx *ctx, const struct sockaddr *sa, int port)
293 conn_nbt(struct smb_ctx *ctx, const struct sockaddr *saarg, char *name)
H A Dssnsetup.c77 smb__ssnsetup(struct smb_ctx *ctx,
85 smb_ssnsetup_null(struct smb_ctx *ctx)
114 smb_ssnsetup_ntlm1(struct smb_ctx *ctx)
164 smb_ssnsetup_ntlm2(struct smb_ctx *ctx)
218 smb_ssnsetup_spnego(struct smb_ctx *ctx, struct mbdata *hint_mb)
283 smb__ssnsetup(struct smb_ctx *ctx,
H A Dntlmssp.c93 ntlm_rand_ssn_key(struct smb_ctx *ctx,
232 struct smb_ctx *ctx = sp->smb_ctx;
310 struct smb_ctx *ctx = sp->smb_ctx;
419 struct smb_ctx *ctx = sp->smb_ctx;
593 struct smb_ctx *ctx,
625 struct smb_ctx *ctx = sp->smb_ctx;
[all...]
H A Dnetshareenum.c78 rpc_netshareenum(struct smb_ctx *ctx, int *entriesp, int *totalp,
272 smb_rap_NetShareEnum(struct smb_ctx *ctx, int sLevel, void *pbBuffer,
299 rap_netshareenum(struct smb_ctx *ctx, int *entriesp, int *totalp,
357 smb_netshareenum(struct smb_ctx *ctx, int *entriesp, int *totalp,
H A Dprint.c58 smb_open_printer(struct smb_ctx *ctx, const char *title,
H A Dssp.c86 ssp_ctx_create_client(struct smb_ctx *ctx, struct mbdata *hint_mb)
99 sp->smb_ctx = ctx;
172 ssp_ctx_destroy(struct smb_ctx *ctx)
223 ssp_ctx_next_token(struct smb_ctx *ctx,
H A Dntlm.c186 ntlm_put_v1_responses(struct smb_ctx *ctx,
247 ntlm_put_v1x_responses(struct smb_ctx *ctx,
479 ntlm_put_v2_responses(struct smb_ctx *ctx, struct mbdata *ti_mbp,
595 ntlm_build_target_info(struct smb_ctx *ctx, struct mbuf *names,
656 ntlm_build_mac_key(struct smb_ctx *ctx, struct mbdata *ntresp_mbp)
683 ntlm2_kxkey(struct smb_ctx *ctx, struct mbdata *lm_mbp, uchar_t *kxkey)
H A Dfile.c73 struct smb_ctx *ctx, char *path,
133 smb_fh_open(struct smb_ctx *ctx, const char *path, int oflag)
H A Dnb.c69 smb_ctx_setnbflags(struct smb_ctx *ctx, int ns_ena, int bc_ena)
84 smb_ctx_setwins(struct smb_ctx *ctx, const char *wins1, const char *wins2)
98 smb_ctx_setscope(struct smb_ctx *ctx, const char *scope)
/illumos-gate/usr/src/cmd/fs.d/smbclnt/test/
H A Dtconn.c45 extern int smb_iod_connect(struct smb_ctx *);
60 struct smb_ctx *ctx = NULL;

Completed in 115 milliseconds

12