Home
last modified time | relevance | path

Searched refs:SVCXPRT (Results 1 – 25 of 99) sorted by relevance

1234

/src/crypto/krb5/src/include/gssrpc/
H A Dsvc.h76 typedef struct SVCXPRT { struct
85 bool_t (*xp_recv)(struct SVCXPRT *, struct rpc_msg *); argument
87 enum xprt_stat (*xp_stat)(struct SVCXPRT *);
89 bool_t (*xp_getargs)(struct SVCXPRT *, xdrproc_t,
92 bool_t (*xp_reply)(struct SVCXPRT *,
95 bool_t (*xp_freeargs)(struct SVCXPRT *, xdrproc_t,
98 void (*xp_destroy)(struct SVCXPRT *);
108 } SVCXPRT; argument
175 SVCXPRT *rq_xprt; /* associated transport */
198 extern bool_t svc_register(SVCXPRT *, rpcprog_t, rpcvers_t,
[all …]
/src/include/rpc/
H A Dsvc.h125 } SVCXPRT; typedef
157 SVCXPRT *rq_xprt; /* associated transport */
236 extern bool_t svc_reg(SVCXPRT *, const rpcprog_t, const rpcvers_t,
237 void (*)(struct svc_req *, SVCXPRT *),
260 extern void xprt_register(SVCXPRT *);
270 extern void xprt_unregister(SVCXPRT *);
301 extern bool_t svc_sendreply(SVCXPRT *, xdrproc_t, void *);
302 extern void svcerr_decode(SVCXPRT *);
303 extern void svcerr_weakauth(SVCXPRT *);
304 extern void svcerr_noproc(SVCXPRT *);
[all …]
H A Dsvc_soc.h67 extern bool_t svc_register(SVCXPRT *, u_long, u_long,
68 void (*)(struct svc_req *, SVCXPRT *), int);
87 extern SVCXPRT *svcraw_create(void);
95 extern SVCXPRT *svcudp_create(int);
96 extern SVCXPRT *svcudp_bufcreate(int, u_int, u_int);
97 extern int svcudp_enablecache(SVCXPRT *, u_long);
105 extern SVCXPRT *svctcp_create(int, u_int, u_int);
112 extern SVCXPRT *svcfd_create(int, u_int, u_int);
/src/crypto/krb5/src/lib/rpc/
H A Dsvc_tcp.c67 static bool_t svctcp_recv(SVCXPRT *, struct rpc_msg *);
68 static enum xprt_stat svctcp_stat(SVCXPRT *);
69 static bool_t svctcp_getargs(SVCXPRT *, xdrproc_t, void *);
70 static bool_t svctcp_reply(SVCXPRT *, struct rpc_msg *);
71 static bool_t svctcp_freeargs(SVCXPRT *, xdrproc_t, void *);
72 static void svctcp_destroy(SVCXPRT *);
86 static bool_t rendezvous_request(SVCXPRT *, struct rpc_msg *);
88 static bool_t abortx_getargs(SVCXPRT *, xdrproc_t, void *);
89 static bool_t abortx_reply(SVCXPRT *, struct rpc_msg *);
90 static bool_t abortx_freeargs(SVCXPRT *, xdrproc_t, void *);
[all …]
H A Dsvc_raw.c53 SVCXPRT server;
58 static bool_t svcraw_recv(SVCXPRT *, struct rpc_msg *);
59 static enum xprt_stat svcraw_stat(SVCXPRT *);
60 static bool_t svcraw_getargs(SVCXPRT *, xdrproc_t, void *);
61 static bool_t svcraw_reply(SVCXPRT *, struct rpc_msg *);
62 static bool_t svcraw_freeargs(SVCXPRT *, xdrproc_t, void *);
63 static void svcraw_destroy(SVCXPRT *);
74 SVCXPRT *
94 svcraw_stat(SVCXPRT *xprt) in svcraw_stat()
101 svcraw_recv(SVCXPRT *xprt, struct rpc_msg *msg) in svcraw_recv()
[all …]
H A Dsvc.c57 static SVCXPRT **xports;
67 static SVCXPRT *xports[NOFILE];
83 void (*sc_dispatch)(struct svc_req *, SVCXPRT *);
89 static void svc_do_xprt(SVCXPRT *xprt);
97 xprt_register(SVCXPRT *xprt) in xprt_register()
107 xports = (SVCXPRT **) in xprt_register()
108 mem_alloc(FD_SETSIZE * sizeof(SVCXPRT *)); in xprt_register()
109 memset(xports, 0, FD_SETSIZE * sizeof(SVCXPRT *)); in xprt_register()
131 xprt_unregister(SVCXPRT *xprt) in xprt_unregister()
137 xports[sock] = (SVCXPRT *)0; in xprt_unregister()
[all …]
H A Dsvc_udp.c64 static bool_t svcudp_recv(SVCXPRT *, struct rpc_msg *);
65 static bool_t svcudp_reply(SVCXPRT *, struct rpc_msg *);
66 static enum xprt_stat svcudp_stat(SVCXPRT *);
67 static bool_t svcudp_getargs(SVCXPRT *, xdrproc_t, void *);
68 static bool_t svcudp_freeargs(SVCXPRT *, xdrproc_t, void *);
69 static void svcudp_destroy(SVCXPRT *);
71 static void cache_set(SVCXPRT *, uint32_t);
72 static int cache_get(SVCXPRT *, struct rpc_msg *, char **, uint32_t *);
109 SVCXPRT *
116 SVCXPRT *xprt; in svcudp_bufcreate()
[all …]
/src/usr.sbin/rpcbind/
H A Drpcbind.h94 char *mergeaddr(SVCXPRT *, char *, char *, char *);
105 void *rpcbproc_getstat(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
107 void rpcb_service_3(struct svc_req *, SVCXPRT *);
108 void rpcb_service_4(struct svc_req *, SVCXPRT *);
111 void *rpcbproc_set_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
112 void *rpcbproc_unset_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
116 void *rpcbproc_getaddr_com(RPCB *, struct svc_req *, SVCXPRT *, rpcvers_t,
118 void *rpcbproc_gettime_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
119 void *rpcbproc_uaddr2taddr_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
120 void *rpcbproc_taddr2uaddr_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
[all …]
H A Drpcb_svc_4.c53 static void *rpcbproc_getaddr_4_local(void *, struct svc_req *, SVCXPRT *,
55 static void *rpcbproc_getversaddr_4_local(void *, struct svc_req *, SVCXPRT *,
57 static void *rpcbproc_getaddrlist_4_local(void *, struct svc_req *, SVCXPRT *,
60 static void *rpcbproc_dump_4_local(void *, struct svc_req *, SVCXPRT *,
68 rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_4()
79 void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t); in rpcb_service_4()
260 rpcbproc_getaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, in rpcbproc_getaddr_4_local()
290 rpcbproc_getversaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, in rpcbproc_getversaddr_4_local()
319 SVCXPRT *transp, rpcvers_t versnum __unused) in rpcbproc_getaddrlist_4_local()
449 SVCXPRT *xprt __unused, rpcvers_t versnum __unused) in rpcbproc_dump_4_local()
H A Drpcb_svc.c56 static void *rpcbproc_getaddr_3_local(void *, struct svc_req *, SVCXPRT *,
58 static void *rpcbproc_dump_3_local(void *, struct svc_req *, SVCXPRT *,
66 rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_3()
78 void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t); in rpcb_service_3()
208 SVCXPRT *transp __unused, rpcvers_t versnum __unused) in rpcbproc_getaddr_3_local()
230 SVCXPRT *transp __unused, rpcvers_t versnum __unused) in rpcbproc_dump_3_local()
H A Dpmap_svc.c56 static bool_t pmapproc_change(struct svc_req *, SVCXPRT *, u_long);
57 static bool_t pmapproc_getport(struct svc_req *, SVCXPRT *);
58 static bool_t pmapproc_dump(struct svc_req *, SVCXPRT *);
64 pmap_service(struct svc_req *rqstp, SVCXPRT *xprt) in pmap_service()
162 pmapproc_change(struct svc_req *rqstp __unused, SVCXPRT *xprt, unsigned long op) in pmapproc_change()
256 pmapproc_getport(struct svc_req *rqstp __unused, SVCXPRT *xprt) in pmapproc_getport()
337 pmapproc_dump(struct svc_req *rqstp __unused, SVCXPRT *xprt) in pmapproc_dump()
/src/sys/rpc/
H A Dsvc.h158 } SVCXPRT; typedef
191 void (*sc_dispatch)(struct svc_req *, SVCXPRT *);
202 void (*slc_dispatch)(SVCXPRT *);
222 SVCXPRT *rq_xprt; /* associated transport */
252 SVCXPRT *st_xprt; /* transport we are processing */
406 extern bool_t svc_reg(SVCXPRT *, const rpcprog_t, const rpcvers_t,
407 void (*)(struct svc_req *, SVCXPRT *),
432 extern bool_t svc_loss_reg(SVCXPRT *, void (*)(SVCXPRT *));
444 extern void svc_loss_unreg(SVCPOOL *, void (*)(SVCXPRT *));
454 extern void xprt_register(SVCXPRT *);
[all …]
H A Dsvc_vc.c133 static bool_t svc_vc_rendezvous_recv(SVCXPRT *, struct rpc_msg *,
135 static enum xprt_stat svc_vc_rendezvous_stat(SVCXPRT *);
136 static void svc_vc_rendezvous_destroy(SVCXPRT *);
138 static void svc_vc_destroy(SVCXPRT *);
139 static enum xprt_stat svc_vc_stat(SVCXPRT *);
140 static bool_t svc_vc_ack(SVCXPRT *, uint32_t *);
141 static bool_t svc_vc_recv(SVCXPRT *, struct rpc_msg *,
143 static bool_t svc_vc_reply(SVCXPRT *, struct rpc_msg *,
145 static bool_t svc_vc_control(SVCXPRT *xprt, const u_int rq, void *in);
146 static bool_t svc_vc_rendezvous_control (SVCXPRT *xprt, const u_int rq,
[all …]
H A Dsvc_dg.c63 static enum xprt_stat svc_dg_stat(SVCXPRT *);
64 static bool_t svc_dg_recv(SVCXPRT *, struct rpc_msg *,
66 static bool_t svc_dg_reply(SVCXPRT *, struct rpc_msg *,
68 static void svc_dg_destroy(SVCXPRT *);
69 static bool_t svc_dg_control(SVCXPRT *, const u_int, void *);
94 SVCXPRT *
98 SVCXPRT *xprt; in svc_dg_create()
147 svc_dg_stat(SVCXPRT *xprt) in svc_dg_stat()
157 svc_dg_recv(SVCXPRT *xprt, struct rpc_msg *msg, in svc_dg_recv()
226 svc_dg_reply(SVCXPRT *xprt, struct rpc_msg *msg, in svc_dg_reply()
[all …]
H A Dsvc.c75 static void xprt_unregister_locked(SVCXPRT *xprt);
186 SVCXPRT *xprt, *nxprt; in svcpool_cleanup()
343 xprt_register(SVCXPRT *xprt) in xprt_register()
365 xprt_unregister_locked(SVCXPRT *xprt) in xprt_unregister_locked()
378 xprt_unregister(SVCXPRT *xprt) in xprt_unregister()
400 xprt_assignthread(SVCXPRT *xprt) in xprt_assignthread()
433 xprt_active(SVCXPRT *xprt) in xprt_active()
461 xprt_inactive_locked(SVCXPRT *xprt) in xprt_inactive_locked()
474 xprt_inactive(SVCXPRT *xprt) in xprt_inactive()
488 xprt_inactive_self(SVCXPRT *xprt) in xprt_inactive_self()
[all …]
H A Dsvc_generic.c65 extern int __svc_vc_setflag(SVCXPRT *, int);
72 SVCXPRT *
75 void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_tp_create() argument
84 SVCXPRT *xprt; in svc_tp_create()
129 SVCXPRT *
138 SVCXPRT *xprt = NULL; /* service handle */ in svc_tli_create()
/src/lib/libc/rpc/
H A Dsvc_raw.c62 SVCXPRT *server;
67 static enum xprt_stat svc_raw_stat(SVCXPRT *);
68 static bool_t svc_raw_recv(SVCXPRT *, struct rpc_msg *);
69 static bool_t svc_raw_reply(SVCXPRT *, struct rpc_msg *);
70 static bool_t svc_raw_getargs(SVCXPRT *, xdrproc_t, void *);
71 static bool_t svc_raw_freeargs(SVCXPRT *, xdrproc_t, void *);
72 static void svc_raw_destroy(SVCXPRT *);
73 static void svc_raw_ops(SVCXPRT *);
74 static bool_t svc_raw_control(SVCXPRT *, const u_int, void *);
78 SVCXPRT *
[all …]
H A Dsvc.c79 void (*sc_dispatch)(struct svc_req *, SVCXPRT *);
82 SVCXPRT **__svc_xports;
87 static void __xprt_do_unregister (SVCXPRT *xprt, bool_t dolock);
95 xprt_register(SVCXPRT *xprt) in xprt_register()
105 __svc_xports = (SVCXPRT **) in xprt_register()
106 mem_alloc((FD_SETSIZE + 1) * sizeof(SVCXPRT *)); in xprt_register()
111 memset(__svc_xports, '\0', (FD_SETSIZE + 1) * sizeof(SVCXPRT *)); in xprt_register()
123 xprt_unregister(SVCXPRT *xprt) in xprt_unregister()
129 __xprt_unregister_unlocked(SVCXPRT *xprt) in __xprt_unregister_unlocked()
138 __xprt_do_unregister(SVCXPRT *xprt, bool_t dolock) in __xprt_do_unregister()
[all …]
H A Dsvc_vc.c67 static SVCXPRT *makefd_xprt(int, u_int, u_int);
68 static bool_t rendezvous_request(SVCXPRT *, struct rpc_msg *);
69 static enum xprt_stat rendezvous_stat(SVCXPRT *);
70 static void svc_vc_destroy(SVCXPRT *);
71 static void __svc_vc_dodestroy (SVCXPRT *);
74 static enum xprt_stat svc_vc_stat(SVCXPRT *);
75 static bool_t svc_vc_recv(SVCXPRT *, struct rpc_msg *);
76 static bool_t svc_vc_getargs(SVCXPRT *, xdrproc_t, void *);
77 static bool_t svc_vc_freeargs(SVCXPRT *, xdrproc_t, void *);
78 static bool_t svc_vc_reply(SVCXPRT *, struct rpc_msg *);
[all …]
H A Dsvc_nl.c53 static void svc_nl_destroy(SVCXPRT *);
54 static bool_t svc_nl_recv(SVCXPRT *, struct rpc_msg *);
55 static bool_t svc_nl_reply(SVCXPRT *, struct rpc_msg *);
56 static enum xprt_stat svc_nl_stat(SVCXPRT *);
57 static bool_t svc_nl_getargs(SVCXPRT *, xdrproc_t, void *);
58 static bool_t svc_nl_freeargs(SVCXPRT *, xdrproc_t, void *);
59 static bool_t svc_nl_control(SVCXPRT *, const u_int, void *);
87 SVCXPRT *
95 SVCXPRT *xprt = NULL; in svc_nl_create()
144 svc_nl_destroy(SVCXPRT *xprt) in svc_nl_destroy()
[all …]
H A Dsvc_generic.c60 extern int __svc_vc_setflag(SVCXPRT *, int);
76 svc_create(void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_create() argument
80 SVCXPRT *xprt; /* Server handle */ in svc_create()
85 SVCXPRT *xprt; in svc_create()
149 SVCXPRT *
150 svc_tp_create(void (*dispatch)(struct svc_req *, SVCXPRT *), in svc_tp_create() argument
153 SVCXPRT *xprt; in svc_tp_create()
193 SVCXPRT *
197 SVCXPRT *xprt = NULL; /* service handle */ in svc_tli_create()
H A Dsvc_dg.c72 static void svc_dg_ops(SVCXPRT *);
73 static enum xprt_stat svc_dg_stat(SVCXPRT *);
74 static bool_t svc_dg_recv(SVCXPRT *, struct rpc_msg *);
75 static bool_t svc_dg_reply(SVCXPRT *, struct rpc_msg *);
76 static bool_t svc_dg_getargs(SVCXPRT *, xdrproc_t, void *);
77 static bool_t svc_dg_freeargs(SVCXPRT *, xdrproc_t, void *);
78 static void svc_dg_destroy(SVCXPRT *);
79 static bool_t svc_dg_control(SVCXPRT *, const u_int, void *);
80 static int cache_get(SVCXPRT *, struct rpc_msg *, char **, size_t *);
81 static void cache_set(SVCXPRT *, size_t);
[all …]
H A Drpc_soc.c74 static SVCXPRT *svc_com_create(int, u_int, u_int, char *);
198 static SVCXPRT *
202 SVCXPRT *svc; in svc_com_create()
238 SVCXPRT *
245 SVCXPRT *
252 SVCXPRT *
260 SVCXPRT *
267 SVCXPRT *
449 SVCXPRT *
457 SVCXPRT *xprt; in svcunix_create()
[all …]
/src/crypto/krb5/src/kadmin/server/
H A Dmisc.h25 void kadm_1(struct svc_req *, SVCXPRT *);
26 void krb5_iprop_prog_1(struct svc_req *, SVCXPRT *);
37 void log_badauth(OM_uint32 major, OM_uint32 minor, SVCXPRT *xprt, char *data);
39 const char *client_addr(SVCXPRT *xprt);
46 krb5_iprop_prog_1(struct svc_req *rqstp, SVCXPRT *transp);
/src/libexec/rpc.rquotad/
H A Drquotad.c33 static void rquota_service_1(struct svc_req *request, SVCXPRT *transp);
34 static void rquota_service_2(struct svc_req *request, SVCXPRT *transp);
35 static void sendquota(struct svc_req *request, SVCXPRT *transp);
36 static void sendquota_extended(struct svc_req *request, SVCXPRT *transp);
54 SVCXPRT *transp; in main()
126 rquota_service_2(struct svc_req *request, SVCXPRT *transp) in rquota_service_2()
146 rquota_service_1(struct svc_req *request, SVCXPRT *transp) in rquota_service_1()
167 sendquota(struct svc_req *request, SVCXPRT *transp) in sendquota()
219 sendquota_extended(struct svc_req *request, SVCXPRT *transp) in sendquota_extended()

1234