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

1234

/freebsd-10.3-release/sys/rpc/
H A Dnettype.h45 #include <rpc/netconfig.h>
47 #include <netconfig.h>
63 extern struct netconfig *__rpc_getconf(void *);
64 extern struct netconfig *__rpc_getconfip(const char *);
H A Drpcb_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 *);
H A Dgetnetconfig.c43 static struct netconfig netconfigs[] = {
89 struct netconfig **nconfp;
91 nconfp = malloc(sizeof(struct netconfig *), M_RPC, M_WAITOK);
97 struct netconfig *
100 struct netconfig **nconfp = (struct netconfig **) handle;
101 struct netconfig *nconf;
112 struct netconfig *
115 struct netconfig *nconf;
126 freenetconfigent(struct netconfig *ncon
[all...]
H A Dnetconfig.h1 /* $NetBSD: netconfig.h,v 1.1 2000/06/02 22:57:54 fvdl Exp $ */
2 /* $FreeBSD: releng/10.3/sys/rpc/netconfig.h 177633 2008-03-26 15:23:12Z dfr $ */
10 #define NETCONFIG "/etc/netconfig"
13 struct netconfig { struct
26 struct netconfig **nc_head;
27 struct netconfig **nc_curr;
83 struct netconfig *getnetconfig(void *);
84 struct netconfig *getnetconfigent(const char *);
85 void freenetconfigent(struct netconfig *);
90 struct netconfig *getnetpat
[all...]
H A Drpc.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 *);
H A Dtypes.h76 #include <rpc/netconfig.h>
78 #include <netconfig.h>
H A Drpc_com.h74 extern struct netconfig * __rpcgettp(int);
87 const struct netconfig *, const char *host, CLIENT **clpp,
H A Drpcb_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;
448 * the netconfig file.
476 static struct netconfig *loopnconf;
482 struct netconfig *nconf, *tmpnconf = NULL;
488 /* fails to open netconfig file */
540 const struct netconfig *nconf, /* Network structure of transport */
541 const struct netbuf *address) /* Services netconfig address */
549 struct netconfig nconfcop
[all...]
/freebsd-10.3-release/include/rpc/
H A Drpcb_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 *);
H A Dnettype.h44 #include <netconfig.h>
59 extern struct netconfig *__rpc_getconf(void *);
60 extern struct netconfig *__rpc_getconfip(const char *);
H A Drpc_com.h62 extern struct netconfig * __rpcgettp(int);
74 struct netbuf *__rpcb_findaddr(rpcprog_t, rpcvers_t, const struct netconfig *,
H A Drpc.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 *);
/freebsd-10.3-release/include/
H A Dnetconfig.h1 /* $NetBSD: netconfig.h,v 1.1 2000/06/02 22:57:54 fvdl Exp $ */
2 /* $FreeBSD: releng/10.3/include/netconfig.h 93032 2002-03-23 17:24:55Z imp $ */
10 #define NETCONFIG "/etc/netconfig"
13 struct netconfig { struct
26 struct netconfig **nc_head;
27 struct netconfig **nc_curr;
83 struct netconfig *getnetconfig(void *);
84 struct netconfig *getnetconfigent(const char *);
85 void freenetconfigent(struct netconfig *);
89 struct netconfig *getnetpat
[all...]
/freebsd-10.3-release/usr.sbin/bsdinstall/scripts/
H A DMakefile4 keymap mirrorselect mount netconfig netconfig_ipv4 netconfig_ipv6 \
/freebsd-10.3-release/lib/libc/rpc/
H A Drpc_com.h64 extern struct netconfig * __rpcgettp(int);
77 const struct netconfig *, const char *host, CLIENT **clpp,
H A Dgetnetconfig.c45 #include <netconfig.h>
56 * system network configuration database, /etc/netconfig. In addition to the
57 * netconfig database and the routines for accessing it, the environment
64 * netconfig errors
70 #define NC_BADFILE EBADF /* format for netconfig file is bad */
74 * semantics as strings (should be in netconfig.h)
82 * flags as characters (also should be in netconfig.h)
98 "Netid not found in netconfig database"
109 char *linep; /* hold line read from netconfig */
110 struct netconfig *nc
[all...]
H A Dgetnetpath.c44 #include <netconfig.h>
54 struct netconfig *ncp; /* an nconf entry */
61 void *nc_handlep; /* handle for current netconfig "session" */
80 * resources, or the absence of the /etc/netconfig file), a NULL pointer is
125 * When first called, getnetpath() returns a pointer to the netconfig
127 * netconfig entry is formatted as a struct netconfig.
128 * On each subsequent call, getnetpath returns a pointer to the netconfig
130 * can thus be used to search the netconfig database for all networks
136 * compnent is invalid if there is no corresponding entry in the netconfig
[all...]
H A Dpmap_clnt.c67 struct netconfig *nconf;
97 struct netconfig *nconf;
H A Drpcb_clnt.c54 #include <netconfig.h>
101 static CLIENT *getclnthandle(const char *, const struct netconfig *, char **);
103 static struct netbuf *got_entry(rpcb_entry_list_ptr, const struct netconfig *);
285 const struct netconfig *nconf;
435 static struct netconfig *loopnconf;
445 * the netconfig file.
475 struct netconfig *nconf, *tmpnconf = NULL;
481 /* fails to open netconfig file */
533 const struct netconfig *nconf; /* Network structure of transport */
534 const struct netbuf *address; /* Services netconfig addres
[all...]
/freebsd-10.3-release/contrib/netbsd-tests/fs/nfs/nfsservice/rpcbind/
H A Drpcbind.h85 int add_bndlist(struct netconfig *, struct netbuf *);
88 struct netconfig *rpcbind_get_conf(const char *);
116 int create_rmtcall_fd(struct netconfig *);
H A Dcheck_bound.c54 #include <netconfig.h>
67 struct netconfig *nconf;
112 add_bndlist(struct netconfig *nconf, struct netbuf *baddr)
115 struct netconfig *newnconf;
220 struct netconfig *
H A Drpcb_stat.c41 #include <netconfig.h>
107 struct netconfig *nconf;
151 struct netconfig *nconf;
/freebsd-10.3-release/usr.sbin/rpcbind/
H A Dcheck_bound.c55 #include <netconfig.h>
65 struct netconfig *nconf;
112 add_bndlist(struct netconfig *nconf, struct netbuf *baddr __unused)
115 struct netconfig *newnconf;
220 struct netconfig *
H A Drpcbind.h83 int add_bndlist(struct netconfig *, struct netbuf *);
86 struct netconfig *rpcbind_get_conf(char *);
114 int create_rmtcall_fd(struct netconfig *);
/freebsd-10.3-release/contrib/tcp_wrappers/
H A Dtli.c39 #include <netconfig.h>
58 static struct netconfig *tli_transport();
189 static struct netconfig *tli_transport(fd)
195 struct netconfig *config;
200 * devices listed in the netconfig table.
248 struct netconfig *config = request->config;
265 struct netconfig *config = request->config;

Completed in 279 milliseconds

1234