Home
last modified time | relevance | path

Searched refs:nb_ctx (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/lib/libsmbfs/netsmb/
H A Dnb_lib.h67 struct nb_ctx { struct
75 typedef struct nb_ctx nb_ctx_t; argument
112 int nbns_resolvename(const char *, struct nb_ctx *, struct sockaddr **);
113 int nbns_getnodestatus(struct nb_ctx *ctx, struct in_addr *,
118 int nb_ctx_create(struct nb_ctx **);
119 void nb_ctx_done(struct nb_ctx *);
120 int nb_ctx_setns(struct nb_ctx *, const char *);
121 int nb_ctx_setscope(struct nb_ctx *, const char *);
122 int nb_ctx_resolve(struct nb_ctx *);
123 int nb_ctx_readrcsection(struct rcfile *, struct nb_ctx *, const char *, int);
H A Dsmb_lib.h104 struct nb_ctx *ct_nb; /* NetBIOS info. */
/titanic_41/usr/src/lib/libsmbfs/smb/
H A Dnb.c60 void nb_ctx_setnbflags(struct nb_ctx *, int ns_ena, int bc_ena);
61 int nb_ctx_setwins(struct nb_ctx *, const char *, const char *);
71 struct nb_ctx *nb = ctx->ct_nb; in smb_ctx_setnbflags()
86 struct nb_ctx *nb = ctx->ct_nb; in smb_ctx_setwins()
100 struct nb_ctx *nb = ctx->ct_nb; in smb_ctx_setscope()
109 nb_ctx_create(struct nb_ctx **ctxpp) in nb_ctx_create()
111 struct nb_ctx *ctx; in nb_ctx_create()
113 ctx = malloc(sizeof (struct nb_ctx)); in nb_ctx_create()
116 bzero(ctx, sizeof (struct nb_ctx)); in nb_ctx_create()
122 nb_ctx_done(struct nb_ctx *ctx) in nb_ctx_done()
[all …]
H A Dnbns_rq.c87 struct nb_ctx *nr_nbd;
97 static int nbns_rq_create(int opcode, struct nb_ctx *ctx,
110 nbns_getaddrinfo(const char *name, struct nb_ctx *nbc, struct addrinfo **res) in nbns_getaddrinfo()
180 nbns_resolvename(const char *name, struct nb_ctx *ctx, struct sockaddr **adpp) in nbns_resolvename()
267 nbns_getnodestatus(struct nb_ctx *ctx, in nbns_getnodestatus()
368 nbns_rq_create(int opcode, struct nb_ctx *ctx, struct nbns_rq **rqpp) in nbns_rq_create()
438 struct nb_ctx *ctx = rqp->nr_nbd; in nbns_rq_prepare()
517 struct nb_ctx *ctx = rqp->nr_nbd; in nbns_rq_opensocket()
583 struct nb_ctx *ctx = rqp->nr_nbd; in nbns_rq()
H A Dprivate.h156 int nbns_getaddrinfo(const char *name, struct nb_ctx *nbc,
158 int nbns_resolvename(const char *, struct nb_ctx *, struct sockaddr **);
H A Dgetaddr.c118 struct nb_ctx *nbc = ctx->ct_nb; in smb_ctx_getaddr()
/titanic_41/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dlookup.c67 struct nb_ctx *ctx; in cmd_lookup()
H A Dstatus.c67 struct nb_ctx *ctx; in cmd_status()