/titanic_41/usr/src/lib/libsmbfs/netsmb/ |
H A D | smbfs_api.h | 94 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 D | smb_lib.h | 94 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 *);
|
/titanic_41/usr/src/lib/libsmbfs/smb/ |
H A D | private.h | 80 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 *, struct mbdata *); [all …]
|
H A D | ntlm.h | 56 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 D | nb_ssn.c | 51 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) in smb_ssn_send() 69 nb_ssn_send(struct smb_ctx *ctx, struct mbdata *mbp, in nb_ssn_send() 119 smb_ssn_recv(struct smb_ctx *ctx, struct mbdata *mbp) in smb_ssn_recv() 144 nb_ssn_recv(struct smb_ctx *ctx, struct mbdata *mb, in nb_ssn_recv() 245 nb_ssn_pollin(struct smb_ctx *ctx, int tmo) in nb_ssn_pollin() 273 nb_ssn_request(struct smb_ctx *ctx, char *srvname) in nb_ssn_request()
|
H A D | ctx.c | 110 rpc_cleanup_smbctx(struct smb_ctx *ctx) in rpc_cleanup_smbctx() 188 dump_ctx(char *where, struct smb_ctx *ctx) in dump_ctx() 224 smb_ctx_alloc(struct smb_ctx **ctx_pp) in smb_ctx_alloc() 245 smb_ctx_init(struct smb_ctx *ctx) in smb_ctx_init() 315 smb_ctx_scan_argv(struct smb_ctx *ctx, int argc, char **argv, in smb_ctx_scan_argv() 395 smb_ctx_done(struct smb_ctx *ctx) in smb_ctx_done() 465 smb_ctx_parseunc(struct smb_ctx *ctx, const char *unc, in smb_ctx_parseunc() 631 smb_ctx_setcharset(struct smb_ctx *ctx, const char *arg) in smb_ctx_setcharset() 666 smb_ctx_setauthflags(struct smb_ctx *ctx, int flags) in smb_ctx_setauthflags() 673 smb_ctx_setfullserver(struct smb_ctx *ctx, const char *name) in smb_ctx_setfullserver() [all …]
|
H A D | ntlmssp.c | 93 ntlm_rand_ssn_key(struct smb_ctx *ctx, 232 struct smb_ctx *ctx = sp->smb_ctx; in ntlmssp_put_type1() 310 struct smb_ctx *ctx = sp->smb_ctx; in ntlmssp_get_type2() 419 struct smb_ctx *ctx = sp->smb_ctx; in ntlmssp_put_type3() 593 struct smb_ctx *ctx, in ntlm_rand_ssn_key() 625 struct smb_ctx *ctx = sp->smb_ctx; in ntlmssp_final() 732 if ((sp->smb_ctx->ct_authflags & in ntlmssp_init_client()
|
H A D | findvc.c | 65 findvc(struct smb_ctx *ctx, struct addrinfo *ai) in findvc() 90 smb_ctx_findvc(struct smb_ctx *ctx) in smb_ctx_findvc() 132 smb_ctx_kill(struct smb_ctx *ctx) in smb_ctx_kill()
|
H A D | ssp.h | 38 struct smb_ctx *smb_ctx; member
|
H A D | connect.c | 72 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) in conn_tcp6() 226 conn_tcp4(struct smb_ctx *ctx, const struct sockaddr *sa, int port) in conn_tcp4() 293 conn_nbt(struct smb_ctx *ctx, const struct sockaddr *saarg, char *name) in conn_nbt()
|
H A D | ssnsetup.c | 77 smb__ssnsetup(struct smb_ctx *ctx, 85 smb_ssnsetup_null(struct smb_ctx *ctx) in smb_ssnsetup_null() 114 smb_ssnsetup_ntlm1(struct smb_ctx *ctx) in smb_ssnsetup_ntlm1() 164 smb_ssnsetup_ntlm2(struct smb_ctx *ctx) in smb_ssnsetup_ntlm2() 218 smb_ssnsetup_spnego(struct smb_ctx *ctx, struct mbdata *hint_mb) in smb_ssnsetup_spnego() 283 smb__ssnsetup(struct smb_ctx *ctx, in smb__ssnsetup()
|
H A D | ssp.c | 86 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 D | newvc.c | 65 newvc(struct smb_ctx *ctx, struct addrinfo *ai) in newvc() 87 smb_ctx_newvc(struct smb_ctx *ctx) in smb_ctx_newvc()
|
H A D | ntlm.c | 186 ntlm_put_v1_responses(struct smb_ctx *ctx, in ntlm_put_v1_responses() 247 ntlm_put_v1x_responses(struct smb_ctx *ctx, in ntlm_put_v1x_responses() 479 ntlm_put_v2_responses(struct smb_ctx *ctx, struct mbdata *ti_mbp, in ntlm_put_v2_responses() 595 ntlm_build_target_info(struct smb_ctx *ctx, struct mbuf *names, in ntlm_build_target_info() 656 ntlm_build_mac_key(struct smb_ctx *ctx, struct mbdata *ntresp_mbp) in ntlm_build_mac_key() 683 ntlm2_kxkey(struct smb_ctx *ctx, struct mbdata *lm_mbp, uchar_t *kxkey) in ntlm2_kxkey()
|
H A D | signing.c | 66 smb_compute_MAC(struct smb_ctx *ctx, mbuf_t *m, in smb_compute_MAC() 148 struct smb_ctx *ctx = rqp->rq_ctx; in smb_rq_sign() 190 struct smb_ctx *ctx = rqp->rq_ctx; in smb_rq_verify()
|
H A D | ui-sun.c | 80 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 D | krb5ssp.c | 253 struct smb_ctx *ctx = sp->smb_ctx; in krb5ssp_put_request() 383 struct smb_ctx *ctx = sp->smb_ctx; in krb5ssp_final() 514 if ((sp->smb_ctx->ct_authflags & SMB_AT_KRB5) == 0) { in krb5ssp_init_client()
|
H A D | nb.c | 69 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 D | netshareenum.c | 78 rpc_netshareenum(struct smb_ctx *ctx, int *entriesp, int *totalp, 272 smb_rap_NetShareEnum(struct smb_ctx *ctx, int sLevel, void *pbBuffer, in smb_rap_NetShareEnum() 299 rap_netshareenum(struct smb_ctx *ctx, int *entriesp, int *totalp, in rap_netshareenum() 357 smb_netshareenum(struct smb_ctx *ctx, int *entriesp, int *totalp, in smb_netshareenum()
|
H A D | file.c | 73 struct smb_ctx *ctx, char *path, in smb_fh_ntcreate() 133 smb_fh_open(struct smb_ctx *ctx, const char *path, int oflag) in smb_fh_open()
|
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | libsmbrdr.h | 38 struct smb_ctx; 39 int smbrdr_ctx_new(struct smb_ctx **, char *, char *, char *); 40 void smbrdr_ctx_free(struct smb_ctx *);
|
H A D | smbrdr_glue.c | 84 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()
|
/titanic_41/usr/src/cmd/fs.d/smbclnt/test/ |
H A D | tconn.c | 45 extern int smb_iod_connect(struct smb_ctx *); 60 struct smb_ctx *ctx = NULL; in main()
|
H A D | srvinfo.c | 93 static int pipetest(struct smb_ctx *); 106 struct smb_ctx *ctx = NULL; in main() 383 pipetest(struct smb_ctx *ctx) in pipetest()
|
H A D | srvenum.c | 100 static int pipetest(struct smb_ctx *); 113 struct smb_ctx *ctx = NULL; in main() 404 pipetest(struct smb_ctx *ctx) in pipetest()
|