Lines 100-128
struct finfo {
Link Here
|
100 |
static struct finfo FINFO[NFORWARD]; |
100 |
static struct finfo FINFO[NFORWARD]; |
101 |
|
101 |
|
102 |
|
102 |
|
103 |
static bool_t xdr_encap_parms __P((XDR *, struct encap_parms *)); |
103 |
static bool_t xdr_encap_parms(XDR *, struct encap_parms *); |
104 |
static bool_t xdr_rmtcall_args __P((XDR *, struct r_rmtcall_args *)); |
104 |
static bool_t xdr_rmtcall_args(XDR *, struct r_rmtcall_args *); |
105 |
static bool_t xdr_rmtcall_result __P((XDR *, struct r_rmtcall_args *)); |
105 |
static bool_t xdr_rmtcall_result(XDR *, struct r_rmtcall_args *); |
106 |
static bool_t xdr_opaque_parms __P((XDR *, struct r_rmtcall_args *)); |
106 |
static bool_t xdr_opaque_parms(XDR *, struct r_rmtcall_args *); |
107 |
static int find_rmtcallfd_by_netid __P((char *)); |
107 |
static int find_rmtcallfd_by_netid(char *); |
108 |
static SVCXPRT *find_rmtcallxprt_by_fd __P((int)); |
108 |
static SVCXPRT *find_rmtcallxprt_by_fd(int); |
109 |
static int forward_register __P((u_int32_t, struct netbuf *, int, char *, |
109 |
static int forward_register(u_int32_t, struct netbuf *, int, char *, |
110 |
rpcproc_t, rpcvers_t, u_int32_t *)); |
110 |
rpcproc_t, rpcvers_t, u_int32_t *); |
111 |
static struct finfo *forward_find __P((u_int32_t)); |
111 |
static struct finfo *forward_find(u_int32_t); |
112 |
static int free_slot_by_xid __P((u_int32_t)); |
112 |
static int free_slot_by_xid(u_int32_t); |
113 |
static int free_slot_by_index __P((int)); |
113 |
static int free_slot_by_index(int); |
114 |
static int netbufcmp __P((struct netbuf *, struct netbuf *)); |
114 |
static int netbufcmp(struct netbuf *, struct netbuf *); |
115 |
static struct netbuf *netbufdup __P((struct netbuf *)); |
115 |
static struct netbuf *netbufdup(struct netbuf *); |
116 |
static void netbuffree __P((struct netbuf *)); |
116 |
static void netbuffree(struct netbuf *); |
117 |
static int check_rmtcalls __P((struct pollfd *, int)); |
117 |
static int check_rmtcalls(struct pollfd *, int); |
118 |
static void xprt_set_caller __P((SVCXPRT *, struct finfo *)); |
118 |
static void xprt_set_caller(SVCXPRT *, struct finfo *); |
119 |
static void send_svcsyserr __P((SVCXPRT *, struct finfo *)); |
119 |
static void send_svcsyserr(SVCXPRT *, struct finfo *); |
120 |
static void handle_reply __P((int, SVCXPRT *)); |
120 |
static void handle_reply(int, SVCXPRT *); |
121 |
static void find_versions __P((rpcprog_t, char *, rpcvers_t *, rpcvers_t *)); |
121 |
static void find_versions(rpcprog_t, char *, rpcvers_t *, rpcvers_t *); |
122 |
static rpcblist_ptr find_service __P((rpcprog_t, rpcvers_t, char *)); |
122 |
static rpcblist_ptr find_service(rpcprog_t, rpcvers_t, char *); |
123 |
static char *getowner __P((SVCXPRT *, char *, size_t)); |
123 |
static char *getowner(SVCXPRT *, char *, size_t); |
124 |
static int add_pmaplist __P((RPCB *)); |
124 |
static int add_pmaplist(RPCB *); |
125 |
static int del_pmaplist __P((RPCB *)); |
125 |
static int del_pmaplist(RPCB *); |
126 |
|
126 |
|
127 |
/* |
127 |
/* |
128 |
* Set a mapping of program, version, netid |
128 |
* Set a mapping of program, version, netid |