exit(1);
}
- status = rpc_setup_tcpip_sockets(ev_ctx,
- msg_ctx,
- &ndr_table_epmapper,
- NULL,
- 135);
+ status = dcesrv_setup_ncacn_ip_tcp_sockets(ev_ctx,
+ msg_ctx,
+ &ndr_table_epmapper,
+ NULL,
+ 135);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("Failed to open epmd tcpip sockets!\n"));
exit(1);
}
/* Create only one tcpip listener for all services */
- status = rpc_create_tcpip_sockets(&ndr_table_lsarpc,
- v_orig,
- 0,
- listen_fd,
- listen_fd_size);
+ status = dcesrv_create_ncacn_ip_tcp_sockets(&ndr_table_lsarpc,
+ v_orig,
+ 0,
+ listen_fd,
+ listen_fd_size);
if (!NT_STATUS_IS_OK(status)) {
goto done;
}
#include "rpc_server/rpc_server.h"
#include "rpc_server/rpc_sock_helper.h"
-NTSTATUS rpc_create_tcpip_sockets(const struct ndr_interface_table *iface,
- struct dcerpc_binding_vector *bvec,
- uint16_t port,
- int *listen_fd,
- int *listen_fd_size)
+NTSTATUS dcesrv_create_ncacn_ip_tcp_sockets(
+ const struct ndr_interface_table *iface,
+ struct dcerpc_binding_vector *bvec,
+ uint16_t port,
+ int *listen_fd,
+ int *listen_fd_size)
{
uint32_t num_ifs = iface_count();
uint32_t i;
return status;
}
-NTSTATUS rpc_setup_tcpip_sockets(struct tevent_context *ev_ctx,
- struct messaging_context *msg_ctx,
- const struct ndr_interface_table *iface,
- struct dcerpc_binding_vector *bvec,
- uint16_t port)
+NTSTATUS dcesrv_setup_ncacn_ip_tcp_sockets(struct tevent_context *ev_ctx,
+ struct messaging_context *msg_ctx,
+ const struct ndr_interface_table *iface,
+ struct dcerpc_binding_vector *bvec,
+ uint16_t port)
{
uint32_t num_ifs = iface_count();
uint32_t i;
#ifndef _RPC_SOCK_HELPER_H_
#define _RPC_SOCK_HELPER_H_
-NTSTATUS rpc_create_tcpip_sockets(const struct ndr_interface_table *iface,
- struct dcerpc_binding_vector *bvec,
- uint16_t port,
- int *listen_fd,
- int *listen_fd_size);
+NTSTATUS dcesrv_create_ncacn_ip_tcp_sockets(
+ const struct ndr_interface_table *iface,
+ struct dcerpc_binding_vector *bvec,
+ uint16_t port,
+ int *listen_fd,
+ int *listen_fd_size);
-NTSTATUS rpc_setup_tcpip_sockets(struct tevent_context *ev_ctx,
- struct messaging_context *msg_ctx,
- const struct ndr_interface_table *iface,
- struct dcerpc_binding_vector *bvec,
- uint16_t port);
+NTSTATUS dcesrv_setup_ncacn_ip_tcp_sockets(struct tevent_context *ev_ctx,
+ struct messaging_context *msg_ctx,
+ const struct ndr_interface_table *iface,
+ struct dcerpc_binding_vector *bvec,
+ uint16_t port);
#endif /* _RPC_SOCK_HELPER_H_ */