Home
last modified time | relevance | path

Searched refs:smb_ctx (Results 1 – 25 of 34) sorted by relevance

12

/illumos-gate/usr/src/lib/libsmbfs/netsmb/
H A Dsmbfs_api.h95 struct smb_ctx; /* anonymous here; real one in smb_lib.h */
96 typedef struct smb_ctx smb_ctx_t;
106 int smb_ctx_alloc(struct smb_ctx **);
107 void smb_ctx_free(struct smb_ctx *);
108 int smb_ctx_kill(struct smb_ctx *);
110 int smb_ctx_scan_argv(struct smb_ctx *, int, char **, int, int, int);
111 int smb_ctx_parseunc(struct smb_ctx *, const char *, int, int, int,
113 int smb_ctx_readrc(struct smb_ctx *);
114 int smb_ctx_opt(struct smb_ctx *, int, const char *);
115 int smb_get_authentication(struct smb_ctx *);
[all …]
H A Dsmb_lib.h94 struct smb_ctx { struct
167 int smb_ctx_init(struct smb_ctx *);
168 void smb_ctx_done(struct smb_ctx *);
173 int smb_ctx_gethandle(struct smb_ctx *);
174 int smb_ctx_findvc(struct smb_ctx *);
175 int smb_ctx_newvc(struct smb_ctx *);
189 int smb_iod_connect(struct smb_ctx *);
190 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/libsmbfs/smb/
H A Dprivate.h90 void dump_ctx(char *, struct smb_ctx *);
93 int nb_ssn_request(struct smb_ctx *, char *);
120 int smb_ctx_getaddr(struct smb_ctx *ctx);
121 int smb_ctx_gethandle(struct smb_ctx *ctx);
123 int smb_iod_start(struct smb_ctx *);
132 int smb_get_authentication(struct smb_ctx *);
133 int smb_get_keychain(struct smb_ctx *ctx);
137 int ssp_ctx_create_client(struct smb_ctx *, struct mbdata *);
138 int ssp_ctx_next_token(struct smb_ctx *, struct mbdata *, struct mbdata *);
139 void ssp_ctx_destroy(struct smb_ctx *);
H A Dntlm.h57 ntlm_build_target_info(struct smb_ctx *, struct mbuf *, struct mbdata *);
60 ntlm_put_v1_responses(struct smb_ctx *ctx,
65 ntlm_put_v1x_responses(struct smb_ctx *ctx,
70 ntlm_put_v2_responses(struct smb_ctx *ctx, struct mbdata *ti_mbp,
75 ntlm2_kxkey(struct smb_ctx *ctx, struct mbdata *lm_mbp,
H A Dctx.c110 rpc_cleanup_smbctx(struct smb_ctx *ctx) in rpc_cleanup_smbctx()
186 dump_ctx(char *where, struct smb_ctx *ctx) in dump_ctx()
222 smb_ctx_alloc(struct smb_ctx **ctx_pp) in smb_ctx_alloc()
243 smb_ctx_init(struct smb_ctx *ctx) in smb_ctx_init()
313 smb_ctx_scan_argv(struct smb_ctx *ctx, int argc, char **argv, in smb_ctx_scan_argv()
398 smb_ctx_done(struct smb_ctx *ctx) in smb_ctx_done()
456 smb_ctx_parseunc(struct smb_ctx *ctx, const char *unc, in smb_ctx_parseunc()
622 smb_ctx_setcharset(struct smb_ctx *ctx, const char *arg) in smb_ctx_setcharset()
657 smb_ctx_setauthflags(struct smb_ctx *ctx, int flags) in smb_ctx_setauthflags()
664 smb_ctx_setfullserver(struct smb_ctx *ctx, const char *name) in smb_ctx_setfullserver()
[all …]
H A Dfindvc.c67 findvc(struct smb_ctx *ctx, struct addrinfo *ai) in findvc()
92 smb_ctx_findvc(struct smb_ctx *ctx) in smb_ctx_findvc()
138 smb_ctx_kill(struct smb_ctx *ctx) in smb_ctx_kill()
H A Dntlmssp.c232 struct smb_ctx *ctx = sp->smb_ctx; in ntlmssp_put_type1()
308 struct smb_ctx *ctx = sp->smb_ctx; in ntlmssp_get_type2()
417 struct smb_ctx *ctx = sp->smb_ctx; in ntlmssp_put_type3()
629 struct smb_ctx *ctx = sp->smb_ctx; in ntlmssp_final()
730 smb_ctx_t *ctx = sp->smb_ctx; in ntlmssp_init_client()
H A Dssp.h38 struct smb_ctx *smb_ctx; member
H A Dssp.c86 ssp_ctx_create_client(struct smb_ctx *ctx, struct mbdata *hint_mb) in ssp_ctx_create_client()
99 sp->smb_ctx = ctx; in ssp_ctx_create_client()
172 ssp_ctx_destroy(struct smb_ctx *ctx) in ssp_ctx_destroy()
223 ssp_ctx_next_token(struct smb_ctx *ctx, in ssp_ctx_next_token()
H A Dconnect.c70 smb__ssnsetup(struct smb_ctx *ctx,
73 int smb_ssnsetup_spnego(struct smb_ctx *, struct mbdata *);
261 smb_ssnsetup_spnego(struct smb_ctx *ctx, struct mbdata *hint_mb) in smb_ssnsetup_spnego()
354 smb__ssnsetup(struct smb_ctx *ctx, in smb__ssnsetup()
H A Dnewvc.c65 newvc(struct smb_ctx *ctx, struct addrinfo *ai) in newvc()
87 smb_ctx_newvc(struct smb_ctx *ctx) in smb_ctx_newvc()
H A Dkrb5ssp.c254 struct smb_ctx *ctx = sp->smb_ctx; in krb5ssp_put_request()
381 struct smb_ctx *ctx = sp->smb_ctx; in krb5ssp_final()
509 if ((sp->smb_ctx->ct_authflags & SMB_AT_KRB5) == 0) { in krb5ssp_init_client()
H A Dnb.c69 smb_ctx_setnbflags(struct smb_ctx *ctx, int ns_ena, int bc_ena) in smb_ctx_setnbflags()
84 smb_ctx_setwins(struct smb_ctx *ctx, const char *wins1, const char *wins2) in smb_ctx_setwins()
98 smb_ctx_setscope(struct smb_ctx *ctx, const char *scope) in smb_ctx_setscope()
H A Dui-sun.c80 smb_get_authentication(struct smb_ctx *ctx) in smb_get_authentication()
137 smb_browse(struct smb_ctx *ctx, int anon) in smb_browse()
H A Dntlm.c186 ntlm_put_v1_responses(struct smb_ctx *ctx, in ntlm_put_v1_responses()
248 ntlm_put_v1x_responses(struct smb_ctx *ctx, in ntlm_put_v1x_responses()
481 ntlm_put_v2_responses(struct smb_ctx *ctx, struct mbdata *ti_mbp, in ntlm_put_v2_responses()
598 ntlm_build_target_info(struct smb_ctx *ctx, struct mbuf *names, in ntlm_build_target_info()
661 ntlm2_kxkey(struct smb_ctx *ctx, struct mbdata *lm_mbp, in ntlm2_kxkey()
H A Dfile.c80 struct smb_ctx *ctx, char *path, in smb_fh_ntcreate()
140 smb_fh_open(struct smb_ctx *ctx, const char *path, int oflag) in smb_fh_open()
H A Dkeychain.c248 smb_get_keychain(struct smb_ctx *ctx) in smb_get_keychain()
299 struct smb_ctx *ctx; in smbfs_default_dom_usr()
H A Dprint.c71 smb_open_printer(struct smb_ctx *ctx, const char *title, in smb_open_printer()
/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.c84 struct smb_ctx *ctx; in smbrdr_logon()
94 smbrdr_ctx_free(struct smb_ctx *ctx) in smbrdr_ctx_free()
106 smbrdr_ctx_new(struct smb_ctx **ctx_p, char *server, in smbrdr_ctx_new()
109 struct smb_ctx *ctx = NULL; in smbrdr_ctx_new()
H A Dmlsvc_client.c81 struct smb_ctx *ctx = NULL; in ndr_rpc_bind_common()
217 struct smb_ctx *ctx; in ndr_rpc_unbind()
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dcommon.h72 int share_enum_rap(struct smb_ctx *ctx);
73 int share_enum_rpc(struct smb_ctx *ctx, char *server);
H A Dshares_rpc.c33 share_enum_rpc(struct smb_ctx *ctx, char *server) in share_enum_rpc()
/illumos-gate/usr/src/cmd/fs.d/smbclnt/fksmbcl/
H A Dfknewvc.c67 fknewvc(struct smb_ctx *ctx, struct addrinfo *ai) in fknewvc()
110 smb_ctx_newvc(struct smb_ctx *ctx) in smb_ctx_newvc()

12