mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s3:rpc_server: Rename setup_dcerpc_ncacn_tcpip_socket
Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
3f4be0b9db
commit
a6b5899853
@ -652,10 +652,10 @@ NTSTATUS dcesrv_create_ncacn_ip_tcp_socket(const struct sockaddr_storage *ifss,
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
uint16_t setup_dcerpc_ncacn_tcpip_socket(struct tevent_context *ev_ctx,
|
||||
struct messaging_context *msg_ctx,
|
||||
const struct sockaddr_storage *ifss,
|
||||
uint16_t port)
|
||||
uint16_t dcesrv_setup_ncacn_ip_tcp_socket(struct tevent_context *ev_ctx,
|
||||
struct messaging_context *msg_ctx,
|
||||
const struct sockaddr_storage *ifss,
|
||||
uint16_t port)
|
||||
{
|
||||
struct dcerpc_ncacn_listen_state *state;
|
||||
struct tevent_fd *fde;
|
||||
|
@ -93,10 +93,10 @@ void named_pipe_packet_process(struct tevent_req *subreq);
|
||||
NTSTATUS dcesrv_create_ncacn_ip_tcp_socket(const struct sockaddr_storage *ifss,
|
||||
uint16_t *port,
|
||||
int *out_fd);
|
||||
uint16_t setup_dcerpc_ncacn_tcpip_socket(struct tevent_context *ev_ctx,
|
||||
struct messaging_context *msg_ctx,
|
||||
const struct sockaddr_storage *ifss,
|
||||
uint16_t port);
|
||||
uint16_t dcesrv_setup_ncacn_ip_tcp_socket(struct tevent_context *ev_ctx,
|
||||
struct messaging_context *msg_ctx,
|
||||
const struct sockaddr_storage *ifss,
|
||||
uint16_t port);
|
||||
|
||||
NTSTATUS dcesrv_create_ncalrpc_socket(const char *name, int *out_fd);
|
||||
bool setup_dcerpc_ncalrpc_socket(struct tevent_context *ev_ctx,
|
||||
|
@ -183,10 +183,10 @@ NTSTATUS dcesrv_setup_ncacn_ip_tcp_sockets(struct tevent_context *ev_ctx,
|
||||
struct tsocket_address *bind_addr;
|
||||
const char *addr;
|
||||
|
||||
p = setup_dcerpc_ncacn_tcpip_socket(ev_ctx,
|
||||
msg_ctx,
|
||||
ifss,
|
||||
port);
|
||||
p = dcesrv_setup_ncacn_ip_tcp_socket(ev_ctx,
|
||||
msg_ctx,
|
||||
ifss,
|
||||
port);
|
||||
if (p == 0) {
|
||||
status = NT_STATUS_UNSUCCESSFUL;
|
||||
goto done;
|
||||
@ -241,10 +241,10 @@ NTSTATUS dcesrv_setup_ncacn_ip_tcp_sockets(struct tevent_context *ev_ctx,
|
||||
continue;
|
||||
}
|
||||
|
||||
p = setup_dcerpc_ncacn_tcpip_socket(ev_ctx,
|
||||
msg_ctx,
|
||||
&ss,
|
||||
port);
|
||||
p = dcesrv_setup_ncacn_ip_tcp_socket(ev_ctx,
|
||||
msg_ctx,
|
||||
&ss,
|
||||
port);
|
||||
if (p == 0) {
|
||||
status = NT_STATUS_UNSUCCESSFUL;
|
||||
goto done;
|
||||
|
Loading…
x
Reference in New Issue
Block a user