ReactOS 0.4.16-dev-598-gc07fba4
|
#include <wintirpc.h>
#include <reentrant.h>
#include <sys/types.h>
#include <rpc/rpc.h>
#include <rpc/rpcb_prot.h>
#include <rpc/nettype.h>
#include <netconfig.h>
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include "rpc_com.h"
Go to the source code of this file.
Classes | |
struct | address_cache |
Macros | |
#define | RPCB_OWNER_STRING "libtirpc" |
#define | CACHESIZE 6 |
#define | CLCR_GET_RPCB_TIMEOUT 1 |
#define | CLCR_SET_RPCB_TIMEOUT 2 |
#define | IN4_LOCALHOST_STRING "127.0.0.1" |
#define | IN6_LOCALHOST_STRING "::1" |
Variables | |
static struct timeval | tottimeout = { 60, 0 } |
static const struct timeval | rmttimeout = { 3, 0 } |
static struct timeval | rpcbrmttime = { 15, 0 } |
static const char | nullstring [] = "\000" |
static struct address_cache * | front |
static int | cachesize |
int | __rpc_lowvers |
rwlock_t | rpcbaddr_cache_lock |
#define CACHESIZE 6 |
Definition at line 73 of file rpcb_clnt.c.
#define CLCR_GET_RPCB_TIMEOUT 1 |
Definition at line 86 of file rpcb_clnt.c.
#define CLCR_SET_RPCB_TIMEOUT 2 |
Definition at line 87 of file rpcb_clnt.c.
#define IN4_LOCALHOST_STRING "127.0.0.1" |
Definition at line 412 of file rpcb_clnt.c.
#define IN6_LOCALHOST_STRING "::1" |
Definition at line 413 of file rpcb_clnt.c.
#define RPCB_OWNER_STRING "libtirpc" |
Definition at line 71 of file rpcb_clnt.c.
Definition at line 108 of file rpcb_clnt.c.
struct netbuf * __rpcb_findaddr_timed | ( | rpcprog_t | program, |
rpcvers_t | version, | ||
const struct netconfig * | nconf, | ||
const char * | host, | ||
CLIENT ** | clpp, | ||
struct timeval * | tp | ||
) |
Definition at line 709 of file rpcb_clnt.c.
Referenced by clnt_tp_create_timed(), and rpcb_getaddr().
bool_t __rpcbind_is_up | ( | ) |
Definition at line 655 of file rpcb_clnt.c.
|
static |
Definition at line 198 of file rpcb_clnt.c.
Referenced by getclnthandle().
|
static |
Definition at line 150 of file rpcb_clnt.c.
Referenced by getclnthandle().
Definition at line 171 of file rpcb_clnt.c.
Referenced by getclnthandle(), and FindProgramDlg::Refresh().
|
static |
Definition at line 276 of file rpcb_clnt.c.
Referenced by __rpcb_findaddr_timed(), local_rpcb(), rpcb_getmaps(), and rpcb_gettime().
Definition at line 420 of file rpcb_clnt.c.
Referenced by getclnthandle(), rpcb_set(), rpcb_taddr2uaddr(), rpcb_uaddr2taddr(), and rpcb_unset().
int rpcb_getaddr | ( | rpcprog_t | program, |
rpcvers_t | version, | ||
const struct netconfig * | nconf, | ||
struct netbuf * | address, | ||
const char * | host | ||
) |
Definition at line 939 of file rpcb_clnt.c.
Definition at line 975 of file rpcb_clnt.c.
Definition at line 1109 of file rpcb_clnt.c.
enum clnt_stat rpcb_rmtcall | ( | struct netconfig * | nconf, |
const char * | host, | ||
rpcprog_t | prog, | ||
rpcvers_t | vers, | ||
rpcproc_t | proc, | ||
xdrproc_t | xdrargs, | ||
caddr_t | argsp, | ||
xdrproc_t | xdrres, | ||
caddr_t | resp, | ||
struct timeval | tout, | ||
const struct netbuf * | addr_ptr | ||
) | const |
Definition at line 1027 of file rpcb_clnt.c.
bool_t rpcb_set | ( | rpcprog_t | program, |
rpcvers_t | version, | ||
const struct netconfig * | nconf, | ||
const struct netbuf * | address | ||
) |
Definition at line 520 of file rpcb_clnt.c.
Referenced by pmap_set(), and svc_reg().
Definition at line 1170 of file rpcb_clnt.c.
Definition at line 1204 of file rpcb_clnt.c.
Definition at line 581 of file rpcb_clnt.c.
Referenced by pmap_unset(), rpc_reg(), svc_create(), svc_tp_create(), and svc_unreg().
Definition at line 772 of file xdr.c.
Referenced by __rpcb_findaddr_timed(), rpcb_taddr2uaddr(), and rpcb_uaddr2taddr().
|
extern |
Referenced by __rpc_control(), and rpc_broadcast_exp().
|
static |
Definition at line 84 of file rpcb_clnt.c.
Referenced by add_cache(), and delete_cache().
|
static |
Definition at line 83 of file rpcb_clnt.c.
Referenced by add_cache(), check_cache(), d3drm_viewport1_SetFront(), d3drm_viewport2_SetFront(), delete_cache(), MoveConstructorTest::deque_test(), MoveConstructorTest::move_construct_test(), set_box(), strncat(), swapchain_gdi_frontbuffer_updated(), swapchain_gdi_present(), test_Viewport(), MoveConstructorTest::vector_test(), and wined3d_box_set().
Definition at line 69 of file rpcb_clnt.c.
Referenced by __rpcb_findaddr_timed(), and rpcb_unset().
Definition at line 64 of file rpcb_clnt.c.
|
extern |
Definition at line 25 of file mt_misc.c.
Referenced by add_cache(), and getclnthandle().
Definition at line 65 of file rpcb_clnt.c.
Referenced by __rpcb_findaddr_timed().
Definition at line 63 of file rpcb_clnt.c.
Referenced by __rpc_control(), __rpcb_findaddr_timed(), rpcb_getmaps(), rpcb_gettime(), rpcb_set(), rpcb_taddr2uaddr(), rpcb_uaddr2taddr(), and rpcb_unset().