Home
last modified time | relevance | path

Searched refs:netconfig (Results 1 – 25 of 88) sorted by relevance

1234

/NextBSD/sys/rpc/
HDgetnetconfig.c43 static struct netconfig netconfigs[] = {
89 struct netconfig **nconfp; in setnetconfig()
91 nconfp = malloc(sizeof(struct netconfig *), M_RPC, M_WAITOK); in setnetconfig()
97 struct netconfig *
100 struct netconfig **nconfp = (struct netconfig **) handle; in getnetconfig()
101 struct netconfig *nconf; in getnetconfig()
112 struct netconfig *
115 struct netconfig *nconf; in getnetconfigent()
126 freenetconfigent(struct netconfig *nconf) in freenetconfigent()
134 struct netconfig **nconfp = (struct netconfig **) handle; in endnetconfig()
HDrpcb_clnt.h67 const struct netconfig *, const struct netbuf *);
69 const struct netconfig *);
71 extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *);
72 extern enum clnt_stat rpcb_rmtcall(const struct netconfig *,
80 const struct netconfig *, struct netbuf *,
83 extern char *rpcb_taddr2uaddr(struct netconfig *, struct netbuf *);
84 extern struct netbuf *rpcb_uaddr2taddr(struct netconfig *, char *);
HDnetconfig.h13 struct netconfig { struct
26 struct netconfig **nc_head; argument
27 struct netconfig **nc_curr;
83 struct netconfig *getnetconfig(void *);
84 struct netconfig *getnetconfigent(const char *);
85 void freenetconfigent(struct netconfig *);
90 struct netconfig *getnetpath(void *);
HDrpc.h100 char *taddr2uaddr(const struct netconfig *, const struct netbuf *);
101 struct netbuf *uaddr2taddr(const struct netconfig *, const char *);
113 int __rpc_nconf2fd(const struct netconfig *);
114 int __rpc_nconf2sockinfo(const struct netconfig *, struct __rpc_sockinfo *);
117 struct socket *__rpc_nconf2socket(const struct netconfig *);
118 int __rpc_nconf2sockinfo(const struct netconfig *, struct __rpc_sockinfo *);
HDrpcb_clnt.c98 static CLIENT *getclnthandle(const char *, const struct netconfig *, char **);
100 static struct netbuf *got_entry(rpcb_entry_list_ptr, const struct netconfig *);
288 const struct netconfig *nconf;
476 static struct netconfig *loopnconf; in local_rpcb()
482 struct netconfig *nconf, *tmpnconf = NULL; in local_rpcb()
540 const struct netconfig *nconf, /* Network structure of transport */ in rpcb_set()
549 struct netconfig nconfcopy; in rpcb_set()
607 rpcb_unset(rpcprog_t program, rpcvers_t version, const struct netconfig *nconf) in rpcb_unset()
654 const struct netconfig *nconf;
687 struct netconfig *nconf;
[all …]
HDrpc_generic.c235 __rpc_nconf2sockinfo(const struct netconfig *nconf, struct __rpc_sockinfo *sip) in __rpc_nconf2sockinfo()
257 __rpc_nconf2socket(const struct netconfig *nconf) in __rpc_nconf2socket()
277 taddr2uaddr(const struct netconfig *nconf, const struct netbuf *nbuf) in taddr2uaddr()
287 uaddr2taddr(const struct netconfig *nconf, const char *uaddr) in uaddr2taddr()
513 struct netconfig *
519 struct netconfig *dummy; in __rpc_getconfip()
522 struct netconfig *nconf; in __rpc_getconfip()
607 struct netconfig *
611 struct netconfig *nconf; in __rpc_getconf()
HDnettype.h63 extern struct netconfig *__rpc_getconf(void *);
64 extern struct netconfig *__rpc_getconfip(const char *);
HDsvc_generic.c92 struct netconfig *nconf; in svc_create()
154 const struct netconfig *nconf) /* Netconfig structure for the network */ in svc_tp_create()
156 struct netconfig nconfcopy; in svc_tp_create()
208 const struct netconfig *nconf, /* Netconfig struct for nettoken */ in svc_tli_create()
/NextBSD/include/rpc/
HDrpcb_clnt.h65 const struct netconfig *, const struct netbuf *);
67 const struct netconfig *);
68 extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *);
69 extern enum clnt_stat rpcb_rmtcall(const struct netconfig *,
77 const struct netconfig *, struct netbuf *,
80 extern char *rpcb_taddr2uaddr(struct netconfig *, struct netbuf *);
81 extern struct netbuf *rpcb_uaddr2taddr(struct netconfig *, char *);
HDrpc.h89 char *taddr2uaddr(const struct netconfig *, const struct netbuf *);
90 struct netbuf *uaddr2taddr(const struct netconfig *, const char *);
101 int __rpc_nconf2fd(const struct netconfig *);
102 int __rpc_nconf2sockinfo(const struct netconfig *, struct __rpc_sockinfo *);
HDnettype.h59 extern struct netconfig *__rpc_getconf(void *);
60 extern struct netconfig *__rpc_getconfip(const char *);
HDrpc_com.h62 extern struct netconfig * __rpcgettp(int);
74 struct netbuf *__rpcb_findaddr(rpcprog_t, rpcvers_t, const struct netconfig *,
/NextBSD/include/
HDnetconfig.h13 struct netconfig { struct
26 struct netconfig **nc_head; argument
27 struct netconfig **nc_curr;
83 struct netconfig *getnetconfig(void *);
84 struct netconfig *getnetconfigent(const char *);
85 void freenetconfigent(struct netconfig *);
89 struct netconfig *getnetpath(void *);
/NextBSD/lib/libc/rpc/
HDgetnetconfig.c110 struct netconfig *ncp;
126 static int parse_ncp(char *, struct netconfig *);
127 static struct netconfig *dup_ncp(struct netconfig *);
241 struct netconfig *
247 struct netconfig *np; in getnetconfig()
248 struct netconfig *result; in getnetconfig()
333 np = (struct netconfig *) malloc(sizeof (struct netconfig)); in getnetconfig()
443 struct netconfig *
449 struct netconfig *ncp = NULL; /* returned value */ in getnetconfigent()
510 if ((ncp = (struct netconfig *) in getnetconfigent()
[all …]
HDrpcb_clnt.c101 static CLIENT *getclnthandle(const char *, const struct netconfig *, char **);
103 static struct netbuf *got_entry(rpcb_entry_list_ptr, const struct netconfig *);
277 getclnthandle(const char *host, const struct netconfig *nconf, char **targaddr) in getclnthandle()
426 static struct netconfig *loopnconf; in local_rpcb()
466 struct netconfig *nconf, *tmpnconf = NULL; in local_rpcb()
524 rpcb_set(rpcprog_t program, rpcvers_t version, const struct netconfig *nconf, in rpcb_set()
548 parms.r_addr = taddr2uaddr((struct netconfig *) nconf, in rpcb_set()
582 rpcb_unset(rpcprog_t program, rpcvers_t version, const struct netconfig *nconf) in rpcb_unset()
619 got_entry(rpcb_entry_list_ptr relp, const struct netconfig *nconf) in got_entry()
652 struct netconfig *nconf; in __rpcbind_is_up()
[all …]
HDrpc_generic.c236 struct netconfig *
244 struct netconfig *dummy; in __rpc_getconfip()
258 struct netconfig *nconf; in __rpc_getconfip()
350 struct netconfig *
354 struct netconfig *nconf; in __rpc_getconf()
463 struct netconfig *
517 __rpc_nconf2sockinfo(const struct netconfig *nconf, struct __rpc_sockinfo *sip) in __rpc_nconf2sockinfo()
539 __rpc_nconf2fd(const struct netconfig *nconf) in __rpc_nconf2fd()
553 struct netconfig *nconf; in __rpc_sockinfo2netid()
579 taddr2uaddr(const struct netconfig *nconf, const struct netbuf *nbuf) in taddr2uaddr()
[all …]
HDsvc_generic.c91 struct netconfig *nconf; in svc_create()
154 rpcprog_t prognum, rpcvers_t versnum, const struct netconfig *nconf) in svc_tp_create()
169 (void) rpcb_unset(prognum, versnum, (struct netconfig *) nconf); in svc_tp_create()
197 svc_tli_create(int fd, const struct netconfig *nconf, in svc_tli_create()
HDclnt_generic.c183 struct netconfig *nconf; in clnt_create_timed()
267 const struct netconfig *nconf) in clnt_tp_create()
281 const struct netconfig *nconf, const struct timeval *tp) in clnt_tp_create_timed()
295 (struct netconfig *)nconf, (char *)hostname, in clnt_tp_create_timed()
332 clnt_tli_create(int fd, const struct netconfig *nconf, in clnt_tli_create()
/NextBSD/contrib/netbsd-tests/fs/nfs/nfsservice/rpcbind/
HDcheck_bound.c67 struct netconfig *nconf;
112 add_bndlist(struct netconfig *nconf, struct netbuf *baddr) in add_bndlist()
115 struct netconfig *newnconf; in add_bndlist()
220 struct netconfig *
HDrpcbind.h85 int add_bndlist(struct netconfig *, struct netbuf *);
88 struct netconfig *rpcbind_get_conf(const char *);
116 int create_rmtcall_fd(struct netconfig *);
/NextBSD/usr.sbin/rpcbind/
HDcheck_bound.c65 struct netconfig *nconf;
112 add_bndlist(struct netconfig *nconf, struct netbuf *baddr __unused) in add_bndlist()
115 struct netconfig *newnconf; in add_bndlist()
230 struct netconfig *
HDrpcbind.h85 int add_bndlist(struct netconfig *, struct netbuf *);
88 struct netconfig *rpcbind_get_conf(const char *);
116 int create_rmtcall_fd(struct netconfig *);
/NextBSD/contrib/tcp_wrappers/
HDtli.c58 static struct netconfig *tli_transport();
189 static struct netconfig *tli_transport(fd) in tli_transport()
195 struct netconfig *config;
248 struct netconfig *config = request->config;
265 struct netconfig *config = request->config;
/NextBSD/contrib/amd/include/
HDam_utils.h370 extern void compute_nfs_args(nfs_args_t *nap, mntent_t *mntp, int genflags, struct netconfig *nfsnc…
371 …_soAMQp, SVCXPRT **udp_amqpp, struct netconfig **udp_amqncpp, int *tcp_soAMQp, SVCXPRT **tcp_amqpp…
373 …ster(SVCXPRT *, u_long, u_long, void (*)(struct svc_req *, SVCXPRT *), u_long, struct netconfig *);
377 extern int get_knetconfig(struct knetconfig **kncpp, struct netconfig *in_ncp, char *nc_protoname);
378 extern struct netconfig *nfsncp;
/NextBSD/contrib/gcc/
HDsys-protos.h46 extern struct nd_hostservlist _netdir_getbyaddr(struct netconfig *, struct netbuf *);
47 extern struct nd_addrlist * _netdir_getbyname(struct netconfig *, struct nd_hostserv *);
54 extern struct netconfig * _rpc_getconf(/* ??? */);
55 extern struct netconfig * _rpc_getconfip(/* ??? */);
65 extern struct netconfig * _s_match(/* ??? */);
76 extern char * _taddr2uaddr(struct netconfig *, struct netbuf *);
79 extern struct netbuf * _uaddr2taddr(struct netconfig *, char *);
402 extern void freenetconfigent(struct netconfig *);
467 extern struct netconfig * getnetconfig(void *);
468 extern struct netconfig * getnetconfigent(char *);
[all …]

1234