/freebsd/sys/nlm/ |
H A D | nlm_prot_svc.c | 53 xdrproc_t xdr_argument, xdr_result; in nlm_prog_0() 59 (xdrproc_t) xdr_void, (char *)NULL); in nlm_prog_0() 64 xdr_argument = (xdrproc_t) xdr_nlm_sm_status; in nlm_prog_0() 65 xdr_result = (xdrproc_t) xdr_void; in nlm_prog_0() 121 xdrproc_t xdr_argument, xdr_result; in nlm_prog_1() 127 (xdrproc_t) xdr_void, (char *)NULL); in nlm_prog_1() 132 xdr_argument = (xdrproc_t) xdr_nlm_testargs; in nlm_prog_1() 133 xdr_result = (xdrproc_t) xdr_nlm_testres; in nlm_prog_1() 138 xdr_argument = (xdrproc_t) xdr_nlm_lockargs; in nlm_prog_1() 139 xdr_result = (xdrproc_t) xdr_nlm_res; in nlm_prog_1() [all …]
|
H A D | nlm_prot_clnt.c | 20 (xdrproc_t) xdr_nlm_sm_status, (caddr_t) argp, in nlm_sm_notify_0() 21 (xdrproc_t) xdr_void, (caddr_t) clnt_res, in nlm_sm_notify_0() 29 (xdrproc_t) xdr_nlm_testargs, (caddr_t) argp, in nlm_test_1() 30 (xdrproc_t) xdr_nlm_testres, (caddr_t) clnt_res, in nlm_test_1() 38 (xdrproc_t) xdr_nlm_lockargs, (caddr_t) argp, in nlm_lock_1() 39 (xdrproc_t) xdr_nlm_res, (caddr_t) clnt_res, in nlm_lock_1() 47 (xdrproc_t) xdr_nlm_cancargs, (caddr_t) argp, in nlm_cancel_1() 48 (xdrproc_t) xdr_nlm_res, (caddr_t) clnt_res, in nlm_cancel_1() 56 (xdrproc_t) xdr_nlm_unlockargs, (caddr_t) argp, in nlm_unlock_1() 57 (xdrproc_t) xdr_nlm_res, (caddr_t) clnt_res, in nlm_unlock_1() [all …]
|
/freebsd/usr.sbin/rpcbind/ |
H A D | rpcb_svc.c | 76 xdrproc_t xdr_argument, xdr_result; in rpcb_service_3() 92 (void) svc_sendreply(transp, (xdrproc_t)xdr_void, (char *)NULL); in rpcb_service_3() 96 xdr_argument = (xdrproc_t )xdr_rpcb; in rpcb_service_3() 97 xdr_result = (xdrproc_t )xdr_bool; in rpcb_service_3() 102 xdr_argument = (xdrproc_t)xdr_rpcb; in rpcb_service_3() 103 xdr_result = (xdrproc_t)xdr_bool; in rpcb_service_3() 108 xdr_argument = (xdrproc_t)xdr_rpcb; in rpcb_service_3() 109 xdr_result = (xdrproc_t)xdr_wrapstring; in rpcb_service_3() 118 xdr_argument = (xdrproc_t)xdr_void; in rpcb_service_3() 119 xdr_result = (xdrproc_t)xdr_rpcblist_ptr; in rpcb_service_3() [all …]
|
H A D | rpcb_svc_4.c | 76 xdrproc_t xdr_argument, xdr_result; in rpcb_service_4() 91 (void) svc_sendreply(transp, (xdrproc_t) xdr_void, in rpcb_service_4() 100 xdr_argument = (xdrproc_t)xdr_rpcb; in rpcb_service_4() 101 xdr_result = (xdrproc_t)xdr_bool; in rpcb_service_4() 110 xdr_argument = (xdrproc_t)xdr_rpcb; in rpcb_service_4() 111 xdr_result = (xdrproc_t)xdr_bool; in rpcb_service_4() 116 xdr_argument = (xdrproc_t)xdr_rpcb; in rpcb_service_4() 117 xdr_result = (xdrproc_t)xdr_wrapstring; in rpcb_service_4() 126 xdr_argument = (xdrproc_t)xdr_rpcb; in rpcb_service_4() 127 xdr_result = (xdrproc_t)xdr_wrapstring; in rpcb_service_4() [all …]
|
H A D | warmstart.c | 65 static bool_t write_struct(char *, xdrproc_t, void *); 66 static bool_t read_struct(char *, xdrproc_t, void *); 69 write_struct(char *filename, xdrproc_t structproc, void *list) in write_struct() 104 read_struct(char *filename, xdrproc_t structproc, void *list) in read_struct() 146 (void) write_struct(RPCBFILE, (xdrproc_t)xdr_rpcblist_ptr, &list_rbl); in write_warmstart() 148 (void) write_struct(PMAPFILE, (xdrproc_t)xdr_pmaplist_ptr, &list_pml); in write_warmstart() 162 ok1 = read_struct(RPCBFILE, (xdrproc_t)xdr_rpcblist_ptr, &tmp_rpcbl); in read_warmstart() 166 ok2 = read_struct(PMAPFILE, (xdrproc_t)xdr_pmaplist_ptr, &tmp_pmapl); in read_warmstart() 169 xdr_free((xdrproc_t) xdr_rpcblist_ptr, (char *)&tmp_rpcbl); in read_warmstart() 172 xdr_free((xdrproc_t) xdr_rpcblist_ptr, (char *)&list_rbl); in read_warmstart() [all …]
|
/freebsd/lib/libc/rpc/ |
H A D | key_call.c | 86 static int key_call( u_long, xdrproc_t, void *, xdrproc_t, void *); 93 if (!key_call((u_long) KEY_SET, (xdrproc_t)xdr_keybuf, in key_setsecret() 95 (xdrproc_t)xdr_keystatus, &status)) { in key_setsecret() 119 if (key_call((u_long) KEY_NET_GET, (xdrproc_t)xdr_void, NULL, in key_secretkey_is_set() 120 (xdrproc_t)xdr_key_netstres, &kres) && in key_secretkey_is_set() 139 if (!key_call((u_long)KEY_ENCRYPT_PK, (xdrproc_t)xdr_cryptkeyarg2, &arg, in key_encryptsession_pk() 140 (xdrproc_t)xdr_cryptkeyres, &res)) { in key_encryptsession_pk() 160 if (!key_call((u_long)KEY_DECRYPT_PK, (xdrproc_t)xdr_cryptkeyarg2, &arg, in key_decryptsession_pk() 161 (xdrproc_t)xdr_cryptkeyres, &res)) { in key_decryptsession_pk() 180 if (!key_call((u_long)KEY_ENCRYPT, (xdrproc_t)xdr_cryptkeyarg, &arg, in key_encryptsession() [all …]
|
H A D | rpcb_clnt.c | 560 CLNT_CALL(client, (rpcproc_t)RPCBPROC_SET, (xdrproc_t) xdr_rpcb, in rpcb_set() 561 (char *)(void *)&parms, (xdrproc_t) xdr_bool, in rpcb_set() 601 CLNT_CALL(client, (rpcproc_t)RPCBPROC_UNSET, (xdrproc_t) xdr_rpcb, in rpcb_unset() 602 (char *)(void *)&parms, (xdrproc_t) xdr_bool, in rpcb_unset() 776 (xdrproc_t) xdr_pmap, (caddr_t)(void *)&pmapparms, in __rpcb_findaddr_timed() 777 (xdrproc_t) xdr_u_short, (caddr_t)(void *)&port, in __rpcb_findaddr_timed() 883 (xdrproc_t) xdr_rpcb, (char *)(void *)&parms, in __rpcb_findaddr_timed() 884 (xdrproc_t) xdr_rpcb_entry_list_ptr, in __rpcb_findaddr_timed() 888 xdr_free((xdrproc_t) xdr_rpcb_entry_list_ptr, in __rpcb_findaddr_timed() 896 xdr_free((xdrproc_t) xdr_rpcb_entry_list_ptr, in __rpcb_findaddr_timed() [all …]
|
H A D | rpcb_st_xdr.c | 73 (xdrproc_t)xdr_rpcbs_addrlist)) { in xdr_rpcbs_addrlist() 123 (xdrproc_t)xdr_rpcbs_rmtcalllist)) { in xdr_rpcbs_rmtcalllist() 161 (xdrproc_t)xdr_rpcbs_rmtcalllist)) { in xdr_rpcbs_rmtcalllist() 189 (xdrproc_t)xdr_rpcbs_rmtcalllist)) { in xdr_rpcbs_rmtcalllist() 199 sizeof (int), (xdrproc_t)xdr_int)) { in xdr_rpcbs_proc() 209 (xdrproc_t)xdr_rpcbs_addrlist)) { in xdr_rpcbs_addrlist_ptr() 219 (xdrproc_t)xdr_rpcbs_rmtcalllist)) { in xdr_rpcbs_rmtcalllist_ptr() 255 sizeof (rpcb_stat), (xdrproc_t)xdr_rpcb_stat)) { in xdr_rpcb_stat_byvers()
|
/freebsd/usr.sbin/ypserv/common/ |
H A D | yplib_host.c | 158 (xdrproc_t)xdr_ypreq_key, &yprk, in yp_match_host() 159 (xdrproc_t)xdr_ypresp_val, &yprv, tv); in yp_match_host() 168 xdr_free((xdrproc_t)xdr_ypresp_val, (char *)&yprv); in yp_match_host() 193 (xdrproc_t)xdr_ypreq_nokey, &yprnk, in yp_first_host() 194 (xdrproc_t)xdr_ypresp_key_val, &yprkv, tv); in yp_first_host() 207 xdr_free((xdrproc_t)xdr_ypresp_key_val, (char *)&yprkv); in yp_first_host() 234 (xdrproc_t)xdr_ypreq_key, &yprk, in yp_next_host() 235 (xdrproc_t)xdr_ypresp_key_val, &yprkv, tv); in yp_next_host() 248 xdr_free((xdrproc_t)xdr_ypresp_key_val, (char *)&yprkv); in yp_next_host() 270 (xdrproc_t)xdr_ypreq_nokey, &yprnk, in yp_all_host() [all …]
|
/freebsd/usr.sbin/rpc.statd/ |
H A D | test.c | 18 if (clnt_call(clnt, SM_STAT, (xdrproc_t)xdr_sm_name, argp, 19 (xdrproc_t)xdr_sm_stat_res, &res, TIMEOUT) != RPC_SUCCESS) { 34 if (clnt_call(clnt, SM_MON, (xdrproc_t)xdr_mon, argp, 35 (xdrproc_t)xdr_sm_stat_res, &res, TIMEOUT) != RPC_SUCCESS) { 50 if (clnt_call(clnt, SM_UNMON, (xdrproc_t)xdr_mon_id, argp, 51 (xdrproc_t)xdr_sm_stat, &res, TIMEOUT) != RPC_SUCCESS) { 66 if (clnt_call(clnt, SM_UNMON_ALL, (xdrproc_t)xdr_my_id, argp, 67 (xdrproc_t)xdr_sm_stat, &res, TIMEOUT) != RPC_SUCCESS) { 82 if (clnt_call(clnt, SM_SIMU_CRASH, (xdrproc_t)xdr_void, argp, 83 (xdrproc_t)xdr_void, &res, TIMEOUT) != RPC_SUCCESS) {
|
/freebsd/contrib/netbsd-tests/lib/libc/rpc/ |
H A D | t_rpc.c | 94 if (clnt_call(clnt, RPCBPROC_NULL, (xdrproc_t)xdr_void, NULL, in onehost() 95 (xdrproc_t)xdr_void, NULL, tv) in onehost() 122 if (!svc_sendreply(transp, (xdrproc_t)xdr_void, NULL)) in server() 128 if (!svc_sendreply(transp, (xdrproc_t)xdr_void, NULL)) in server() 137 if (!svc_getargs(transp, (xdrproc_t)xdr_int, (void *)&num)) { in server() 143 if (!svc_sendreply(transp, (xdrproc_t)xdr_int, (void *)&num)) in server() 171 rv = clnt_call(clnt, PLUSONE, (xdrproc_t)xdr_int, (void *)&num, in rawtest() 172 (xdrproc_t)xdr_int, (void *)&resp, tout); in rawtest() 222 rv = clnt_call(clnt, PLUSONE, (xdrproc_t)xdr_int, (void *)&num, in regtest() 223 (xdrproc_t)xdr_int, (void *)&resp, tout); in regtest() [all …]
|
/freebsd/usr.sbin/ypldap/ |
H A D | yp.c | 139 xdrproc_t xdr_argument; in yp_dispatch() 140 xdrproc_t xdr_result; in yp_dispatch() 156 xdr_argument = (xdrproc_t) xdr_void; in yp_dispatch() 157 xdr_result = (xdrproc_t) xdr_void; in yp_dispatch() 161 xdr_argument = (xdrproc_t) xdr_void; in yp_dispatch() 162 xdr_result = (xdrproc_t) xdr_void; in yp_dispatch() 166 if (!svc_sendreply(trans, (xdrproc_t) xdr_void, in yp_dispatch() 171 xdr_argument = (xdrproc_t) xdr_domainname; in yp_dispatch() 172 xdr_result = (xdrproc_t) xdr_bool; in yp_dispatch() 178 xdr_argument = (xdrproc_t) xdr_domainname; in yp_dispatch() [all …]
|
/freebsd/libexec/rpc.rusersd/ |
H A D | rusers_proc.c | 260 xdrproc_t xdr_argument, xdr_result; in rusers_service() 265 (void)svc_sendreply(transp, (xdrproc_t)xdr_void, NULL); in rusers_service() 269 xdr_argument = (xdrproc_t)xdr_void; in rusers_service() 270 xdr_result = (xdrproc_t)xdr_int; in rusers_service() 275 xdr_argument = (xdrproc_t)xdr_void; in rusers_service() 276 xdr_result = (xdrproc_t)xdr_utmpidlearr; in rusers_service() 292 xdr_argument = (xdrproc_t)xdr_void; in rusers_service() 293 xdr_result = (xdrproc_t)xdr_utmpidlearr; in rusers_service() 313 if (!svc_getargs(transp, (xdrproc_t)xdr_argument, &argument)) { in rusers_service() 319 !svc_sendreply(transp, (xdrproc_t)xdr_result, result)) { in rusers_service() [all …]
|
/freebsd/lib/librpcsvc/ |
H A D | yp_update.c | 130 (xdrproc_t)xdr_ypupdate_args, &upargs, in yp_update() 131 (xdrproc_t)xdr_u_int, &res, timeout)) != RPC_SUCCESS) { in yp_update() 147 (xdrproc_t)xdr_ypupdate_args, &upargs, in yp_update() 148 (xdrproc_t)xdr_u_int, &res, timeout)) != RPC_SUCCESS) { in yp_update() 162 (xdrproc_t)xdr_ypdelete_args, &delargs, in yp_update() 163 (xdrproc_t)xdr_u_int, &res, timeout)) != RPC_SUCCESS) { in yp_update() 179 (xdrproc_t)xdr_ypupdate_args, &upargs, in yp_update() 180 (xdrproc_t)xdr_u_int, &res, timeout)) != RPC_SUCCESS) { in yp_update()
|
H A D | rnusers.c | 48 (xdrproc_t)xdr_void, (char *) NULL, in rusers() 49 (xdrproc_t)xdr_utmpidlearr, (char *) up)); in rusers() 58 (xdrproc_t)xdr_void, (char *) NULL, in rnusers() 59 (xdrproc_t)xdr_u_long, (char *) &nusers) != 0) in rnusers()
|
H A D | rstat.c | 47 (xdrproc_t)xdr_void, (char *) NULL, in rstat() 48 (xdrproc_t)xdr_statstime, (char *) statp)); in rstat() 57 (xdrproc_t)xdr_void, (char *) NULL, in havedisk() 58 (xdrproc_t)xdr_long, (char *) &have) != 0) in havedisk()
|
/freebsd/usr.sbin/keyserv/ |
H A D | keyserv.c | 578 xdrproc_t xdr_argument, xdr_result; in keyprogram() 586 svc_sendreply(transp, (xdrproc_t)xdr_void, NULL); in keyprogram() 590 xdr_argument = (xdrproc_t)xdr_keybuf; in keyprogram() 591 xdr_result = (xdrproc_t)xdr_int; in keyprogram() 597 xdr_argument = (xdrproc_t)xdr_cryptkeyarg; in keyprogram() 598 xdr_result = (xdrproc_t)xdr_cryptkeyres; in keyprogram() 604 xdr_argument = (xdrproc_t)xdr_cryptkeyarg; in keyprogram() 605 xdr_result = (xdrproc_t)xdr_cryptkeyres; in keyprogram() 611 xdr_argument = (xdrproc_t)xdr_void; in keyprogram() 612 xdr_result = (xdrproc_t)xdr_des_block; in keyprogram() [all …]
|
/freebsd/lib/libc/yp/ |
H A D | xdryp.c | 71 xdr_free((xdrproc_t)xdr_ypresp_all, &out); in xdr_ypresp_all_seq() 76 xdr_free((xdrproc_t)xdr_ypresp_all, &out); in xdr_ypresp_all_seq() 85 xdr_free((xdrproc_t)xdr_ypresp_all, &out); in xdr_ypresp_all_seq() 95 xdr_free((xdrproc_t)xdr_ypresp_all, &out); in xdr_ypresp_all_seq() 102 xdr_free((xdrproc_t)xdr_ypresp_all, &out); in xdr_ypresp_all_seq() 115 xdr_free((xdrproc_t)xdr_ypresp_all, &out); in xdr_ypresp_all_seq() 119 xdr_free((xdrproc_t)xdr_ypresp_all, &out); in xdr_ypresp_all_seq()
|
/freebsd/sys/rpc/ |
H A D | clnt.h | 143 xdrproc_t, void *); 157 rpcproc_t, xdrproc_t, void *, xdrproc_t, 166 xdrproc_t, void *); 216 xdrproc_t, void *, xdrproc_t, void *, struct timeval); 655 const xdrproc_t, const char *, 656 const xdrproc_t, char *, const char *); 707 const rpcproc_t, const xdrproc_t, 708 caddr_t, const xdrproc_t, caddr_t, 711 const rpcproc_t, const xdrproc_t, 712 caddr_t, const xdrproc_t, caddr_t,
|
H A D | xdr.h | 133 typedef bool_t (*xdrproc_t)(XDR *, void *, ...); typedef 138 typedef bool_t (*xdrproc_t)(XDR *, ...); typedef 240 #define NULL_xdrproc_t ((xdrproc_t)0) 243 xdrproc_t proc; 303 extern bool_t xdr_array(XDR *, char **, u_int *, u_int, u_int, xdrproc_t); 307 extern bool_t xdr_union(XDR *, enum_t *, char *, const struct xdr_discrim *, xdrproc_t); 310 extern bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t); 314 extern bool_t xdr_reference(XDR *, char **, u_int, xdrproc_t); 315 extern bool_t xdr_pointer(XDR *, char **, u_int, xdrproc_t); 317 extern void xdr_free(xdrproc_t, void *); [all …]
|
/freebsd/include/rpc/ |
H A D | clnt.h | 96 rpcproc_t, xdrproc_t, void *, xdrproc_t, 105 xdrproc_t, void *); 469 const xdrproc_t, const char *, 470 const xdrproc_t, char *, const char *); 521 const rpcproc_t, const xdrproc_t, 522 caddr_t, const xdrproc_t, caddr_t, 525 const rpcproc_t, const xdrproc_t, 526 caddr_t, const xdrproc_t, caddr_t,
|
H A D | xdr.h | 133 typedef bool_t (*xdrproc_t)(XDR *, void *, u_int); typedef 138 typedef bool_t (*xdrproc_t)(XDR *, ...); typedef 236 #define NULL_xdrproc_t ((xdrproc_t)0) 239 xdrproc_t proc; 299 extern bool_t xdr_array(XDR *, char **, u_int *, u_int, u_int, xdrproc_t); 303 extern bool_t xdr_union(XDR *, enum_t *, char *, const struct xdr_discrim *, xdrproc_t); 306 extern bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t); 310 extern bool_t xdr_reference(XDR *, char **, u_int, xdrproc_t); 311 extern bool_t xdr_pointer(XDR *, char **, u_int, xdrproc_t); 313 extern void xdr_free(xdrproc_t, void *); [all …]
|
H A D | rpc.h | 82 xdrproc_t, xdrproc_t); 83 extern int callrpc(const char *, int, int, int, xdrproc_t, void *, 84 xdrproc_t , void *);
|
H A D | pmap_clnt.h | 72 xdrproc_t, caddr_t, 73 xdrproc_t, caddr_t, 76 xdrproc_t, void *, 77 xdrproc_t, void *,
|
/freebsd/usr.sbin/yppoll/ |
H A D | yppoll.c | 102 r = clnt_call(client, YPPROC_ORDER, (xdrproc_t)xdr_ypreq_nokey, &yprnk, in get_remote_info() 103 (xdrproc_t)xdr_ypresp_order, &ypro, tv); in get_remote_info() 108 xdr_free((xdrproc_t)xdr_ypresp_order, (char *)&ypro); in get_remote_info() 114 r = clnt_call(client, YPPROC_MASTER, (xdrproc_t)xdr_ypreq_nokey, in get_remote_info() 115 &yprnk, (xdrproc_t)xdr_ypresp_master, &yprm, tv); in get_remote_info() 121 xdr_free((xdrproc_t)xdr_ypresp_master, (char *)&yprm); in get_remote_info()
|