Home
last modified time | relevance | path

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

123

/freebsd-13-stable/sys/rpc/
HDrpc_com.h76 char *__rpc_taddr2uaddr_af(int, const struct netbuf *);
77 struct netbuf *__rpc_uaddr2taddr_af(int, const char *);
78 int __rpc_fixup_addr(struct netbuf *, const struct netbuf *);
85 struct netbuf *__rpcb_findaddr_timed(rpcprog_t, rpcvers_t,
107 extern char *__rpc_taddr2uaddr_af(int, const struct netbuf *);
108 extern struct netbuf *__rpc_uaddr2taddr_af(int, const char *);
HDrpcb_clnt.h68 const struct netconfig *, const struct netbuf *);
79 const struct netbuf *);
81 const struct netconfig *, struct netbuf *,
84 extern char *rpcb_taddr2uaddr(struct netconfig *, struct netbuf *);
85 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.h101 char *taddr2uaddr(const struct netconfig *, const struct netbuf *);
102 struct netbuf *uaddr2taddr(const struct netconfig *, const char *);
HDtypes.h91 struct netbuf { struct
103 struct netbuf addr; argument
HDrpc_generic.c278 taddr2uaddr(const struct netconfig *nconf, const struct netbuf *nbuf) in taddr2uaddr()
287 struct netbuf *
298 __rpc_taddr2uaddr_af(int af, const struct netbuf *nbuf) in __rpc_taddr2uaddr_af()
360 struct netbuf *
363 struct netbuf *ret = NULL; in __rpc_uaddr2taddr_af()
401 ret = (struct netbuf *)malloc(sizeof *ret, M_RPC, M_WAITOK); in __rpc_uaddr2taddr_af()
HDclnt.h539 struct netbuf *, const rpcprog_t,
554 extern CLIENT *clnt_vc_create(const int, const struct netbuf *,
574 extern CLIENT *clnt_dg_create(const int, const struct netbuf *,
/freebsd-13-stable/include/rpc/
HDrpcb_clnt.h66 const struct netconfig *, const struct netbuf *);
76 const struct netbuf *);
78 const struct netconfig *, struct netbuf *,
81 extern char *rpcb_taddr2uaddr(struct netconfig *, struct netbuf *);
82 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.x324 %extern "C" bool_t xdr_netbuf(XDR *, struct netbuf *);
327 %extern bool_t xdr_netbuf(XDR *, struct netbuf *);
355 struct netbuf
359 RPCBPROC_TADDR2UADDR(struct netbuf) = 8;
387 struct netbuf
391 RPCBPROC_TADDR2UADDR(struct netbuf) = 8;
HDrpc.h90 char *taddr2uaddr(const struct netconfig *, const struct netbuf *);
91 struct netbuf *uaddr2taddr(const struct netconfig *, const char *);
HDclnt.h359 struct netbuf *, const rpcprog_t,
374 extern CLIENT *clnt_vc_create(const int, const struct netbuf *,
394 extern CLIENT *clnt_dg_create(const int, const struct netbuf *,
/freebsd-13-stable/lib/libc/rpc/
HDrpc_com.h66 char *__rpc_taddr2uaddr_af(int, const struct netbuf *);
67 struct netbuf *__rpc_uaddr2taddr_af(int, const char *);
68 int __rpc_fixup_addr(struct netbuf *, const struct netbuf *);
75 struct netbuf *__rpcb_findaddr_timed(rpcprog_t, rpcvers_t,
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_generic.c555 taddr2uaddr(const struct netconfig *nconf, const struct netbuf *nbuf) in taddr2uaddr()
564 struct netbuf *
575 __rpc_taddr2uaddr_af(int af, const struct netbuf *nbuf) in __rpc_taddr2uaddr_af()
628 struct netbuf *
631 struct netbuf *ret = NULL; in __rpc_uaddr2taddr_af()
669 ret = (struct netbuf *)malloc(sizeof *ret); in __rpc_uaddr2taddr_af()
768 __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()
/freebsd-13-stable/share/examples/ipfilter/samples/
HDproxy.c232 char netbuf[1024], outbuf[1024]; local
245 nrptr = netbuf;
246 nwptr = netbuf;
247 nsz = sizeof(netbuf);
256 if (nrptr - netbuf < sizeof(netbuf))
261 if (nsz < sizeof(netbuf))
269 i = read(in, nrptr, sizeof(netbuf) - (nrptr - netbuf));
304 if (nsz == sizeof(netbuf) || nwptr == nrptr) {
305 nrptr = netbuf;
306 nwptr = netbuf;
/freebsd-13-stable/usr.sbin/rpcbind/
HDrpcb_svc_com.c86 struct netbuf *caller_addr;
103 static int forward_register(u_int32_t, struct netbuf *, int, char *,
108 static int netbufcmp(struct netbuf *, struct netbuf *);
109 static struct netbuf *netbufdup(struct netbuf *);
110 static void netbuffree(struct netbuf *);
368 static struct netbuf nbuf; in rpcbproc_uaddr2taddr_com()
369 static struct netbuf *taddr; in rpcbproc_uaddr2taddr_com()
375 (void) memset((char *)&nbuf, 0, sizeof (struct netbuf)); in rpcbproc_uaddr2taddr_com()
390 struct netbuf *taddr = (struct netbuf *)arg; in rpcbproc_taddr2uaddr_com()
600 struct netbuf *caller; in rpcbproc_callit_com()
[all …]
HDrpcbind.h91 int add_bndlist(struct netconfig *, struct netbuf *);
134 int is_loopback(struct netbuf *);
143 char *addrmerge(struct netbuf *caller, const char *serv_uaddr,
HDcheck_bound.c85 struct netbuf *na; in check_bound()
112 add_bndlist(struct netconfig *nconf, struct netbuf *baddr __unused) in add_bndlist()
HDsecurity.c60 struct netbuf *caller = svc_getrpccaller(xprt); in check_access()
124 is_loopback(struct netbuf *nbuf) in is_loopback()
/freebsd-13-stable/lib/libc/net/
HDgetnetbynis.c89 bp = ned->netbuf; in _getnetbynis()
90 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()
/freebsd-13-stable/usr.bin/rpcinfo/
HDrpcinfo.c136 static bool_t reply_proc(void *, struct netbuf *, struct netconfig *);
141 static CLIENT *clnt_rpcbind_create(char *, int, struct netbuf **);
143 struct netbuf **);
595 reply_proc(void *res, struct netbuf *who, struct netconfig *nconf)
887 struct netbuf *targaddr;
1234 static struct netbuf *nbuf;
1543 clnt_rpcbind_create(char *host, int rpcbversnum, struct netbuf **targaddr)
1575 u_long rpcbversnum, struct netbuf **targaddr)
1577 struct netbuf addr;
1594 (struct netbuf *)malloc(sizeof (struct netbuf));

123