Home
last modified time | relevance | path

Searched refs:netbuf (Results 1 – 25 of 74) sorted by relevance

123

/NextBSD/sys/rpc/
HDrpc_com.h77 char *__rpc_taddr2uaddr_af(int, const struct netbuf *);
78 struct netbuf *__rpc_uaddr2taddr_af(int, const char *);
79 int __rpc_fixup_addr(struct netbuf *, const struct netbuf *);
86 struct netbuf *__rpcb_findaddr_timed(rpcprog_t, rpcvers_t,
108 extern char *__rpc_taddr2uaddr_af(int, const struct netbuf *);
109 extern struct netbuf *__rpc_uaddr2taddr_af(int, const char *);
HDrpcb_clnt.h67 const struct netconfig *, const struct netbuf *);
78 const struct netbuf *);
80 const struct netconfig *, struct netbuf *,
83 extern char *rpcb_taddr2uaddr(struct netconfig *, struct netbuf *);
84 extern struct netbuf *rpcb_uaddr2taddr(struct netconfig *, char *);
HDrpcb_clnt.c82 struct netbuf *ac_taddr;
96 static void delete_cache(struct netbuf *);
97 static void add_cache(const char *, const char *, struct netbuf *, char *);
100 static struct netbuf *got_entry(rpcb_entry_list_ptr, const struct netconfig *);
172 struct netbuf *addr;
201 struct netbuf *taddr;
213 ad_cache->ac_taddr = (struct netbuf *)malloc(sizeof (struct netbuf));
292 struct netbuf *addr, taddr;
293 struct netbuf addr_to_delete;
541 const struct netbuf *address) /* Services netconfig address */ in rpcb_set()
[all …]
HDrpcb_prot.h341 extern "C" bool_t xdr_netbuf(XDR *, struct netbuf *);
344 extern bool_t xdr_netbuf(XDR *, struct netbuf *);
515 extern struct netbuf * rpcbproc_uaddr2taddr_3(char **, CLIENT *);
516 extern struct netbuf * rpcbproc_uaddr2taddr_3_svc(char **, struct svc_req *);
518 extern char ** rpcbproc_taddr2uaddr_3(struct netbuf *, CLIENT *);
519 extern char ** rpcbproc_taddr2uaddr_3_svc(struct netbuf *, struct svc_req *);
537 extern struct netbuf * rpcbproc_uaddr2taddr_4(char **, CLIENT *);
538 extern struct netbuf * rpcbproc_uaddr2taddr_4_svc(char **, struct svc_req *);
539 extern char ** rpcbproc_taddr2uaddr_4(struct netbuf *, CLIENT *);
540 extern char ** rpcbproc_taddr2uaddr_4_svc(struct netbuf *, struct svc_req *);
HDrpc.h100 char *taddr2uaddr(const struct netconfig *, const struct netbuf *);
101 struct netbuf *uaddr2taddr(const struct netconfig *, const char *);
HDtypes.h90 struct netbuf { struct
102 struct netbuf addr; argument
HDrpc_generic.c277 taddr2uaddr(const struct netconfig *nconf, const struct netbuf *nbuf) in taddr2uaddr()
286 struct netbuf *
297 __rpc_taddr2uaddr_af(int af, const struct netbuf *nbuf) in __rpc_taddr2uaddr_af()
355 struct netbuf *
358 struct netbuf *ret = NULL; in __rpc_uaddr2taddr_af()
392 ret = (struct netbuf *)malloc(sizeof *ret, M_RPC, M_WAITOK); in __rpc_uaddr2taddr_af()
/NextBSD/lib/libc/rpc/
HDrpcb_clnt.c85 struct netbuf *ac_taddr;
99 static void delete_cache(struct netbuf *);
100 static void add_cache(const char *, const char *, struct netbuf *, char *);
103 static struct netbuf *got_entry(rpcb_entry_list_ptr, const struct netconfig *);
171 delete_cache(struct netbuf *addr) in delete_cache()
196 add_cache(const char *host, const char *netid, struct netbuf *taddr, in add_cache()
209 ad_cache->ac_taddr = (struct netbuf *)malloc(sizeof (struct netbuf)); in add_cache()
280 struct netbuf *addr, taddr; in getclnthandle()
281 struct netbuf addr_to_delete; in getclnthandle()
430 struct netbuf nbuf; in local_rpcb()
[all …]
HDrpc_com.h67 char *__rpc_taddr2uaddr_af(int, const struct netbuf *);
68 struct netbuf *__rpc_uaddr2taddr_af(int, const char *);
69 int __rpc_fixup_addr(struct netbuf *, const struct netbuf *);
76 struct netbuf *__rpcb_findaddr_timed(rpcprog_t, rpcvers_t,
HDrpc_generic.c579 taddr2uaddr(const struct netconfig *nconf, const struct netbuf *nbuf) in taddr2uaddr()
588 struct netbuf *
599 __rpc_taddr2uaddr_af(int af, const struct netbuf *nbuf) in __rpc_taddr2uaddr_af()
648 struct netbuf *
651 struct netbuf *ret = NULL; in __rpc_uaddr2taddr_af()
685 ret = (struct netbuf *)malloc(sizeof *ret); in __rpc_uaddr2taddr_af()
784 __rpc_fixup_addr(struct netbuf *new, const struct netbuf *svc) in __rpc_fixup_addr()
HDrpc_soc.c81 static bool_t rpc_wrap_bcast(char *, struct netbuf *, struct netconfig *);
98 struct netbuf bindaddr; in clnt_com_create()
336 rpc_wrap_bcast(char *resultp, struct netbuf *addr, struct netconfig *nconf) in rpc_wrap_bcast()
426 struct netbuf *svcaddr; in clntunix_create()
433 ((svcaddr = malloc(sizeof(struct netbuf))) == NULL ) || in clntunix_create()
/NextBSD/include/rpc/
HDrpcb_clnt.h65 const struct netconfig *, const struct netbuf *);
75 const struct netbuf *);
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_com.h65 char *__rpc_taddr2uaddr_af(int, const struct netbuf *);
66 struct netbuf *__rpc_uaddr2taddr_af(int, const char *);
67 int __rpc_fixup_addr(struct netbuf *, const struct netbuf *);
74 struct netbuf *__rpcb_findaddr(rpcprog_t, rpcvers_t, const struct netconfig *,
HDrpcb_prot.x326 %extern "C" bool_t xdr_netbuf(XDR *, struct netbuf *);
329 %extern bool_t xdr_netbuf(XDR *, struct netbuf *);
357 struct netbuf
361 RPCBPROC_TADDR2UADDR(struct netbuf) = 8;
389 struct netbuf
393 RPCBPROC_TADDR2UADDR(struct netbuf) = 8;
HDrpc.h89 char *taddr2uaddr(const struct netconfig *, const struct netbuf *);
90 struct netbuf *uaddr2taddr(const struct netconfig *, const char *);
HDclnt.h358 struct netbuf *, const rpcprog_t,
373 extern CLIENT *clnt_vc_create(const int, const struct netbuf *,
393 extern CLIENT *clnt_dg_create(const int, const struct netbuf *,
/NextBSD/contrib/ipfilter/samples/
HDproxy.c233 char netbuf[1024], outbuf[1024]; local
246 nrptr = netbuf;
247 nwptr = netbuf;
248 nsz = sizeof(netbuf);
257 if (nrptr - netbuf < sizeof(netbuf))
262 if (nsz < sizeof(netbuf))
270 i = read(in, nrptr, sizeof(netbuf) - (nrptr - netbuf));
305 if (nsz == sizeof(netbuf) || nwptr == nrptr) {
306 nrptr = netbuf;
307 nwptr = netbuf;
/NextBSD/usr.sbin/rpcbind/
HDrpcb_svc_com.c84 struct netbuf *caller_addr;
101 static int forward_register(u_int32_t, struct netbuf *, int, char *,
106 static int netbufcmp(struct netbuf *, struct netbuf *);
107 static struct netbuf *netbufdup(struct netbuf *);
108 static void netbuffree(struct netbuf *);
369 static struct netbuf nbuf; in rpcbproc_uaddr2taddr_com()
370 static struct netbuf *taddr; in rpcbproc_uaddr2taddr_com()
379 (void) memset((char *)&nbuf, 0, sizeof (struct netbuf)); in rpcbproc_uaddr2taddr_com()
394 struct netbuf *taddr = (struct netbuf *)arg; in rpcbproc_taddr2uaddr_com()
603 struct netbuf *caller; in rpcbproc_callit_com()
[all …]
HDrpcbind.h85 int add_bndlist(struct netconfig *, struct netbuf *);
128 int is_loopback(struct netbuf *);
137 char *addrmerge(struct netbuf *caller, const char *serv_uaddr,
/NextBSD/contrib/netbsd-tests/fs/nfs/nfsservice/rpcbind/
HDrpcb_svc_com.c87 struct netbuf *caller_addr;
104 static u_int32_t forward_register(u_int32_t, struct netbuf *, int, char *,
109 static int netbufcmp(struct netbuf *, struct netbuf *);
110 static struct netbuf *netbufdup(struct netbuf *);
111 static void netbuffree(struct netbuf *);
371 static struct netbuf nbuf; in rpcbproc_uaddr2taddr_com()
372 static struct netbuf *taddr; in rpcbproc_uaddr2taddr_com()
380 (void) memset((char *)&nbuf, 0, sizeof (struct netbuf)); in rpcbproc_uaddr2taddr_com()
395 struct netbuf *taddr = (struct netbuf *)arg; in rpcbproc_taddr2uaddr_com()
595 struct netbuf *caller; in rpcbproc_callit_com()
[all …]
HDrpcbind.h85 int add_bndlist(struct netconfig *, struct netbuf *);
128 int is_loopback(struct netbuf *);
137 char *addrmerge(struct netbuf *caller, char *serv_uaddr, char *clnt_uaddr,
HDcheck_bound.c87 struct netbuf *na; in check_bound()
112 add_bndlist(struct netconfig *nconf, struct netbuf *baddr) in add_bndlist()
/NextBSD/lib/libc/net/
HDgetnetbynis.c88 bp = ned->netbuf; in _getnetbynis()
89 ep = ned->netbuf + sizeof ned->netbuf; in _getnetbynis()
HDgetnetbyht.c103 bp = ned->netbuf; in getnetent_p()
104 ep = ned->netbuf + sizeof ned->netbuf; in getnetent_p()
/NextBSD/contrib/netbsd-tests/lib/libc/rpc/
HDt_rpc.c35 reply(caddr_t replyp, struct netbuf * raddrp, struct netconfig * nconf) in reply()
60 struct netbuf addr; in onehost()

123