Lines Matching refs:struct
90 int __des_crypt(char *buf, unsigned len, struct desparams *desp);
95 int _des_crypt(char *buf, unsigned len, struct desparams *desp);
150 int netdir_getbyname(struct netconfig *tp, struct nd_hostserv *serv,
151 struct nd_addrlist **addrs);
152 int netdir_getbyaddr(struct netconfig *tp, struct nd_hostservlist **serv,
153 struct netbuf *addr);
154 int __netdir_getbyaddr_nosrv(struct netconfig *tp,
155 struct nd_hostservlist **serv,
156 struct netbuf *addr);
157 int netdir_options(struct netconfig *tp, int option, int fd, char *par);
158 struct netbuf *uaddr2taddr(struct netconfig *tp, char *addr);
159 char *taddr2uaddr(struct netconfig *tp, struct netbuf *addr);
171 struct netconfig *getnetconfig(void *vdata);
172 struct netconfig *getnetconfigent(const char *netid);
173 void freenetconfigent(struct netconfig *netp);
176 struct netconfig *getnetpath(void *vdata);
197 void *nis_get_static_storage(struct nis_sdata *bs, u_int el, u_int nel);
238 int t_accept(int, int, struct t_call *);
244 int t_bind(int, struct t_bind *, struct t_bind *);
250 int t_connect(int, struct t_call *, struct t_call *);
259 int t_getinfo(int, struct t_info *);
262 int t_getname(int, struct netbuf *, int);
268 int t_listen(int, struct t_call *);
274 int t_open(const char *, int, struct t_info *);
277 int t_optmgmt(int, struct t_optmgmt *, struct t_optmgmt *);
283 int t_rcvconnect(int, struct t_call *);
286 int t_rcvdis(int, struct t_discon *);
292 int t_rcvudata(int, struct t_unitdata *, int *);
295 int t_rcvuderr(int, struct t_uderr *);
301 int t_snddis(int, struct t_call *);
307 int t_sndudata(int, struct t_unitdata *);
319 * struct t_iovec is defined in <xti.h>. But <xti.h> cannot be included
325 struct t_iovec {
331 int t_sndv(int, const struct t_iovec *, unsigned int, int);
334 int t_sndvudata(int, struct t_unitdata *, struct t_iovec *, unsigned int);
337 int t_sndreldata(int, struct t_discon *);
340 int t_rcvv(int, struct t_iovec *, unsigned int, int *);
343 int t_rcvvudata(int, struct t_unitdata *, struct t_iovec *,
347 extern int t_rcvreldata(int, struct t_discon *);
353 int _xti_accept(int, int, struct t_call *);
354 int _xti_xns5_accept(int, int, struct t_call *);
356 int _xti_bind(int, struct t_bind *, struct t_bind *);
358 int _xti_connect(int, struct t_call *, struct t_call *);
361 int _xti_getinfo(int, struct t_info *);
362 int _xti_getprotaddr(int, struct t_bind *, struct t_bind *);
364 int _xti_listen(int, struct t_call *);
366 int _xti_open(char *, int, struct t_info *);
367 int _xti_optmgmt(int, struct t_optmgmt *, struct t_optmgmt *);
369 int _xti_rcvconnect(int, struct t_call *);
370 int _xti_rcvdis(int, struct t_discon *);
372 int _xti_rcvreldata(int, struct t_discon *);
373 int _xti_rcvudata(int, struct t_unitdata *, int *);
374 int _xti_rcvuderr(int, struct t_uderr *);
375 int _xti_rcvv(int, struct t_iovec *, unsigned int, int *);
376 int _xti_rcvvudata(int, struct t_unitdata *, struct t_iovec *,
380 int _xti_snddis(int, struct t_call *);
382 int _xti_sndreldata(int, struct t_discon *);
383 int _xti_sndudata(int, struct t_unitdata *);
384 int _xti_sndv(int, const struct t_iovec *, unsigned int, int);
385 int _xti_sndvudata(int, struct t_unitdata *, struct t_iovec *, unsigned int);
398 struct hostent *_uncached_gethostbyname_r(const char *nam,
399 struct hostent *result,
401 struct hostent *_uncached_gethostbyaddr_r(const char *addr, int length,
402 int type, struct hostent *result,
404 struct hostent *gethostbyname_r(const char *nam, struct hostent *result,
406 struct hostent *gethostbyaddr_r(const char *addr, int length, int type,
407 struct hostent *result,
411 struct hostent *gethostbyname(const char *nam);
412 struct hostent *gethostbyaddr(const void *addr, socklen_t len, int type);
413 struct hostent *gethostent(void);
418 struct hostent *gethostent_r(struct hostent *result, char *buffer, int buflen,
422 void freehostent(struct hostent *hent);
423 struct hostent *getipnodebyaddr(const void *src, size_t len, int type,
425 struct hostent *getipnodebyname(const char *name, int af, int flags,
429 struct rpcent *getrpcbyname(const char *nam);
430 struct rpcent *getrpcbynumber(const int num);
431 struct rpcent *getrpcent(void);
434 struct rpcent *getrpcbyname_r(const char *name, struct rpcent *result,
436 struct rpcent *getrpcbynumber_r(const int number, struct rpcent *result,
440 struct rpcent *getrpcent_r(struct rpcent *result, char *buffer, int buflen);
452 int _get_hostserv_inetnetdir_byname(struct netconfig *nconf,
453 struct nss_netdirbyname_in *args,
455 int _get_hostserv_inetnetdir_byaddr(struct netconfig *nconf,
456 struct nss_netdirbyaddr_in *args,
460 struct hostent *_switch_gethostbyname_r(const char *name,
461 struct hostent *result,
463 struct hostent *_switch_gethostbyaddr_r(const char *addr, int len, int type,
464 struct hostent *result,
470 int __inet_address_is_local(void *p, struct in_addr addr);
471 int __inet_uaddr_is_local(void *p, struct netconfig *nc, char *uaddr);
474 char *__inet_get_uaddr(void *p, struct netconfig *nc, int n);
498 bool_t xdr_authdes_cred(XDR *xdrs, struct authdes_cred *cred);
499 bool_t xdr_authdes_verf(XDR *xdrs, struct authdes_verf *verf);
502 bool_t xdr_authsys_parms(XDR *xdrs, struct authsys_parms *p);
517 CLIENT *clnt_dg_create(int fd, struct netbuf *svcaddr, rpcprog_t program,
530 const struct timeval *tp);
534 const char *netclass, const struct timeval *tp);
536 const struct netconfig *nconf);
538 rpcvers_t vers, const struct netconfig *nconf,
539 const struct timeval *tp);
540 CLIENT *clnt_tli_create(int fd, const struct netconfig *nconf,
541 struct netbuf *svcaddr, rpcprog_t prog, rpcvers_t vers,
561 CLIENT *clnt_vc_create(int fd, struct netbuf *svcaddr, rpcprog_t prog,
572 char *inet_ntoa_r(struct in_addr in, char b[]);
573 char *inet_ntoa(struct in_addr in);
575 in_addr_t inet_netof(struct in_addr in);
588 int key_setnet(struct key_netstarg *arg);
609 struct rpc_createerr *__rpc_createerr(void);
627 ushort_t pmap_getport(struct sockaddr_in *address, rpcprog_t program,
629 struct pmaplist *pmap_getmaps(struct sockaddr_in *address);
630 enum clnt_stat pmap_rmtcall(struct sockaddr_in *addr, rpcprog_t prog,
633 struct timeval tout, rpcport_t *port_ptr);
636 bool_t xdr_pmap(XDR *xdrs, struct pmap *objp);
639 bool_t xdr_rmtcallargs(XDR *xdrs, struct p_rmtcallargs *cap);
640 bool_t xdr_rmtcallres(XDR *xdrs, struct p_rmtcallres *crp);
643 bool_t xdr_callmsg(XDR *xdrs, struct rpc_msg *cmsg);
651 struct netconfig *__rpc_getconfip(char *nettype);
653 struct netconfig *__rpc_getconf(void *vhandle);
655 struct netconfig *__rpcfd_to_nconf(int fd, int servtype);
659 bool_t xdr_opaque_auth(XDR *xdrs, struct opaque_auth *ap);
661 bool_t xdr_accepted_reply(XDR *xdrs, struct accepted_reply *ar);
662 bool_t xdr_rejected_reply(XDR *xdrs, struct rejected_reply *rr);
663 bool_t xdr_replymsg(XDR *xdrs, struct rpc_msg *rmsg);
664 bool_t xdr_callhdr(XDR *xdrs, struct rpc_msg *cmsg);
665 void __seterr_reply(struct rpc_msg *msg, struct rpc_err *error);
668 int __rpc_select_to_poll(int fdmax, fd_set *fdset, struct pollfd *p0);
669 int __rpc_timeval_to_msec(struct timeval *t);
672 CLIENT *clntudp_bufcreate(struct sockaddr_in *raddr, rpcprog_t prog,
673 rpcvers_t vers, struct timeval wait, int *sockp,
675 CLIENT *clntudp_create(struct sockaddr_in *raddr, rpcprog_t program,
676 rpcvers_t version, struct timeval wait, int *sockp);
677 CLIENT *clnttcp_create(struct sockaddr_in *raddr, rpcprog_t prog,
686 int __rpc_bindresvport(int fd, struct sockaddr_in *sin, int *portp, int qlen);
687 void get_myaddress(struct sockaddr_in *addr);
697 struct sockaddr_in *syncaddr, des_block *ckey);
704 const struct netconfig *nconf, const struct netbuf *address);
706 const struct netconfig *nconf);
708 const struct netconfig *nconf, struct netbuf *address,
710 rpcblist *rpcb_getmaps(const struct netconfig *nconf, const char *host);
711 enum clnt_stat rpcb_rmtcall(const struct netconfig *nconf, const char *host,
714 caddr_t resp, struct timeval tout,
715 struct netbuf *addr_ptr);
717 char *rpcb_taddr2uaddr(struct netconfig *nconf, struct netbuf *taddr);
718 struct netbuf *rpcb_uaddr2taddr(struct netconfig *nconf, char *uaddr);
726 bool_t xdr_rpcb_rmtcallargs(XDR *xdrs, struct r_rpcb_rmtcallargs *objp);
727 bool_t xdr_rpcb_rmtcallres(XDR *xdrs, struct r_rpcb_rmtcallres *objp);
728 bool_t xdr_netbuf(XDR *xdrs, struct netbuf *objp);
759 bool_t rpc_gss_getcred(struct svc_req *req, rpc_gss_rawcred_t **rcred,
764 int rpc_gss_svc_max_data_length(struct svc_req *req, int max_tp_unit_len);
768 int rtime_tli(char *host, struct timeval *timep, struct timeval *timeout);
774 void (*dispatch)(), const struct netconfig *nconf);
791 void svc_getreq_poll(struct pollfd *pfdp, int pollretval);
800 enum auth_stat __authenticate(struct svc_req *rqst, struct rpc_msg *msg);
817 const struct netconfig *nconf);
818 SVCXPRT *svc_tli_create(int fd, const struct netconfig *nconf,
819 const struct t_bind *bindaddr, uint_t sendsz,
840 int __svc_vc_dup(struct svc_req *req, caddr_t *resp_buf, uint_t *resp_bufsz);
841 int __svc_vc_dupdone(struct svc_req *req, caddr_t resp_buf, uint_t resp_bufsz,
845 int authdes_getucred(const struct authdes_cred *adc, uid_t *uid, gid_t *gid,
847 enum auth_stat __svcauth_des(struct svc_req *rqst, struct rpc_msg *msg);
868 bool_t xdr_netobj(XDR *xdrs, struct netobj *np);
870 const struct xdr_discrim *choices, xdrproc_t dfault);
930 struct timeval timeout);
934 void clnt_geterr(CLIENT *cl, struct rpc_err *errp);
938 struct netbuf *svc_getrpccaller(SVCXPRT *xprt);
972 int yp_all(char *domain, char *map, struct ypall_callback *callback);
973 int __yp_all_rsvdport(char *domain, char *map, struct ypall_callback *callback);
981 struct ypbind_resp {
985 struct ypbind_binding *ypbind_bindinfo;
988 typedef struct ypbind_resp ypbind_resp;
989 struct ypbind_domain {
993 typedef struct ypbind_domain ypbind_domain;
994 struct ypbind_setdom {
996 struct ypbind_binding *ypsetdom_bindinfo;
998 typedef struct ypbind_setdom ypbind_setdom;
1008 struct dom_binding {
1009 struct dom_binding *dom_pnext;
1011 struct ypbind_binding *dom_binding;
1020 int __yp_dobind(char *domain, struct dom_binding **binding);
1021 int __yp_rel_binding(struct dom_binding *binding);
1063 bool xdr_ypreq_key(XDR *xdrs, struct ypreq_key *ps);
1064 bool xdr_ypreq_nokey(XDR *xdrs, struct ypreq_nokey *ps);
1065 bool xdr_ypresp_val(XDR *xdrs, struct ypresp_val *ps);
1066 bool xdr_ypresp_key_val(XDR *xdrs, struct ypresp_key_val *ps);
1068 bool xdr_ypmap_parms(XDR *xdrs, struct ypmap_parms *ps);
1069 bool xdr_ypresp_master(XDR *xdrs, struct ypresp_master *ps);
1070 bool xdr_ypresp_order(XDR * xdrs, struct ypresp_order *ps);
1071 bool xdr_ypresp_maplist(XDR *xdrs, struct ypresp_maplist *ps);
1072 bool xdr_yppushresp_xfr(XDR *xdrs, struct yppushresp_xfr *ps);
1073 bool xdr_ypreq_newxfr(XDR *xdrs, struct ypreq_newxfr *ps);
1074 bool xdr_ypreq_xfr(XDR *xdrs, struct ypreq_xfr *ps);
1075 bool xdr_ypall(XDR *xdrs, struct ypall_callback *callback);
1081 bool_t xdr_yppasswd(XDR *xdrsp, struct yppasswd *pp);