• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/rpc_server/

Lines Matching defs:dce_ctx

436 	struct loadparm_context *lp_ctx = dce_conn->dce_ctx->lp_ctx;
488 static NTSTATUS dcesrv_add_ep_unix(struct dcesrv_context *dce_ctx,
502 dcesrv_sock->dcesrv_ctx = talloc_reference(dcesrv_sock, dce_ctx);
517 static NTSTATUS dcesrv_add_ep_ncalrpc(struct dcesrv_context *dce_ctx,
531 e->ep_description->endpoint = talloc_strdup(dce_ctx, "DEFAULT");
534 full_path = talloc_asprintf(dce_ctx, "%s/%s", lp_ncalrpc_dir(lp_ctx),
542 dcesrv_sock->dcesrv_ctx = talloc_reference(dcesrv_sock, dce_ctx);
556 static NTSTATUS dcesrv_add_ep_np(struct dcesrv_context *dce_ctx,
574 dcesrv_sock->dcesrv_ctx = talloc_reference(dcesrv_sock, dce_ctx);
591 static NTSTATUS add_socket_rpc_tcp_iface(struct dcesrv_context *dce_ctx, struct dcesrv_endpoint *e,
608 dcesrv_sock->dcesrv_ctx = talloc_reference(dcesrv_sock, dce_ctx);
610 status = stream_setup_socket(event_ctx, dce_ctx->lp_ctx,
613 lp_socket_options(dce_ctx->lp_ctx),
621 e->ep_description->endpoint = talloc_asprintf(dce_ctx, "%d", port);
627 static NTSTATUS dcesrv_add_ep_tcp(struct dcesrv_context *dce_ctx,
640 load_interfaces(dce_ctx, lp_interfaces(lp_ctx), &ifaces);
645 status = add_socket_rpc_tcp_iface(dce_ctx, e, event_ctx, model_ops, address);
649 status = add_socket_rpc_tcp_iface(dce_ctx, e, event_ctx, model_ops,
657 NTSTATUS dcesrv_add_ep(struct dcesrv_context *dce_ctx,
665 return dcesrv_add_ep_unix(dce_ctx, lp_ctx, e, event_ctx, model_ops);
668 return dcesrv_add_ep_ncalrpc(dce_ctx, lp_ctx, e, event_ctx, model_ops);
671 return dcesrv_add_ep_tcp(dce_ctx, lp_ctx, e, event_ctx, model_ops);
674 return dcesrv_add_ep_np(dce_ctx, lp_ctx, e, event_ctx, model_ops);
687 struct dcesrv_context *dce_ctx;
703 &dce_ctx);
711 for (e=dce_ctx->endpoint_list;e;e=e->next) {
712 status = dcesrv_add_ep(dce_ctx, task->lp_ctx, e, task->event_ctx, model_ops);