/freebsd/sys/rpc/ |
H A D | rpc_com.h | 74 char *__rpc_taddr2uaddr_af(int, const struct netbuf *); 75 struct netbuf *__rpc_uaddr2taddr_af(int, const char *); 76 int __rpc_fixup_addr(struct netbuf *, const struct netbuf *); 83 struct netbuf *__rpcb_findaddr_timed(rpcprog_t, rpcvers_t, 105 extern char *__rpc_taddr2uaddr_af(int, const struct netbuf *); 106 extern struct netbuf *__rpc_uaddr2taddr_af(int, const char *);
|
H A D | rpcb_clnt.h | 67 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 *);
|
H A D | rpcb_prot.h | 339 extern "C" bool_t xdr_netbuf(XDR *, struct netbuf *); 342 extern bool_t xdr_netbuf(XDR *, struct netbuf *); 513 extern struct netbuf * rpcbproc_uaddr2taddr_3(char **, CLIENT *); 514 extern struct netbuf * rpcbproc_uaddr2taddr_3_svc(char **, struct svc_req *); 516 extern char ** rpcbproc_taddr2uaddr_3(struct netbuf *, CLIENT *); 517 extern char ** rpcbproc_taddr2uaddr_3_svc(struct netbuf *, struct svc_req *); 535 extern struct netbuf * rpcbproc_uaddr2taddr_4(char **, CLIENT *); 536 extern struct netbuf * rpcbproc_uaddr2taddr_4_svc(char **, struct svc_req *); 537 extern char ** rpcbproc_taddr2uaddr_4(struct netbuf *, CLIENT *); 538 extern char ** rpcbproc_taddr2uaddr_4_svc(struct netbuf *, struct svc_req *);
|
H A D | rpc.h | 98 char *taddr2uaddr(const struct netconfig *, const struct netbuf *); 99 struct netbuf *uaddr2taddr(const struct netconfig *, const char *);
|
H A D | types.h | 88 struct netbuf { struct 100 struct netbuf addr; argument
|
H A D | rpcb_clnt.c | 81 const struct netbuf *address) /* Services netconfig address */ in rpcb_set() 89 struct netbuf addresscopy; in rpcb_set()
|
H A D | rpc_generic.c | 274 taddr2uaddr(const struct netconfig *nconf, const struct netbuf *nbuf) in taddr2uaddr() 283 struct netbuf * 294 __rpc_taddr2uaddr_af(int af, const struct netbuf *nbuf) in __rpc_taddr2uaddr_af() 356 struct netbuf * 359 struct netbuf *ret = NULL; in __rpc_uaddr2taddr_af() 397 ret = (struct netbuf *)malloc(sizeof *ret, M_RPC, M_WAITOK); in __rpc_uaddr2taddr_af()
|
/freebsd/include/rpc/ |
H A D | rpc_com.h | 63 char *__rpc_taddr2uaddr_af(int, const struct netbuf *); 64 struct netbuf *__rpc_uaddr2taddr_af(int, const char *); 65 int __rpc_fixup_addr(struct netbuf *, const struct netbuf *); 72 struct netbuf *__rpcb_findaddr(rpcprog_t, rpcvers_t, const struct netconfig *,
|
H A D | rpcb_clnt.h | 65 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 *);
|
H A D | rpcb_prot.x | 322 %extern "C" bool_t xdr_netbuf(XDR *, struct netbuf *); 325 %extern bool_t xdr_netbuf(XDR *, struct netbuf *); 353 struct netbuf 357 RPCBPROC_TADDR2UADDR(struct netbuf) = 8; 385 struct netbuf 389 RPCBPROC_TADDR2UADDR(struct netbuf) = 8;
|
H A D | rpc.h | 87 char *taddr2uaddr(const struct netconfig *, const struct netbuf *); 88 struct netbuf *uaddr2taddr(const struct netconfig *, const char *);
|
H A D | clnt.h | 356 struct netbuf *, const rpcprog_t, 371 extern CLIENT *clnt_vc_create(const int, const struct netbuf *, 391 extern CLIENT *clnt_dg_create(const int, const struct netbuf *,
|
H A D | svc_dg.h | 48 struct netbuf su_srcaddr; /* dst address of last msg */
|
/freebsd/lib/libc/rpc/ |
H A D | rpcb_clnt.c | 78 struct netbuf *ac_taddr; 92 static void delete_cache(struct netbuf *); 93 static void add_cache(const char *, const char *, struct netbuf *, char *); 96 static struct netbuf *got_entry(rpcb_entry_list_ptr, const struct netconfig *); 164 delete_cache(struct netbuf *addr) in delete_cache() 189 add_cache(const char *host, const char *netid, struct netbuf *taddr, in add_cache() 202 ad_cache->ac_taddr = (struct netbuf *)malloc(sizeof (struct netbuf)); in add_cache() 273 struct netbuf *addr, taddr; in getclnthandle() 274 struct netbuf addr_to_delete; in getclnthandle() 423 struct netbuf nbuf; in local_rpcb() [all …]
|
H A D | rpc_com.h | 63 char *__rpc_taddr2uaddr_af(int, const struct netbuf *); 64 struct netbuf *__rpc_uaddr2taddr_af(int, const char *); 65 int __rpc_fixup_addr(struct netbuf *, const struct netbuf *); 72 struct netbuf *__rpcb_findaddr_timed(rpcprog_t, rpcvers_t,
|
H A D | rpc_generic.c | 554 taddr2uaddr(const struct netconfig *nconf, const struct netbuf *nbuf) in taddr2uaddr() 563 struct netbuf * 574 __rpc_taddr2uaddr_af(int af, const struct netbuf *nbuf) in __rpc_taddr2uaddr_af() 627 struct netbuf * 630 struct netbuf *ret = NULL; in __rpc_uaddr2taddr_af() 668 ret = (struct netbuf *)malloc(sizeof *ret); in __rpc_uaddr2taddr_af() 767 __rpc_fixup_addr(struct netbuf *new, const struct netbuf *svc) in __rpc_fixup_addr()
|
H A D | rpc_soc.c | 75 static bool_t rpc_wrap_bcast(char *, struct netbuf *, struct netconfig *); 92 struct netbuf bindaddr; in clnt_com_create() 330 rpc_wrap_bcast(char *resultp, struct netbuf *addr, struct netconfig *nconf) in rpc_wrap_bcast() 420 struct netbuf *svcaddr; in clntunix_create() 427 ((svcaddr = malloc(sizeof(struct netbuf))) == NULL ) || in clntunix_create()
|
/freebsd/share/examples/ipfilter/samples/ |
H A D | proxy.c | 232 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/usr.sbin/rpcbind/ |
H A D | rpcb_svc_com.c | 84 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 *); 366 static struct netbuf nbuf; in rpcbproc_uaddr2taddr_com() 367 static struct netbuf *taddr; in rpcbproc_uaddr2taddr_com() 373 (void) memset((char *)&nbuf, 0, sizeof (struct netbuf)); in rpcbproc_uaddr2taddr_com() 388 struct netbuf *taddr = (struct netbuf *)arg; in rpcbproc_taddr2uaddr_com() 598 struct netbuf *caller; in rpcbproc_callit_com() [all …]
|
H A D | rpcbind.h | 89 int add_bndlist(struct netconfig *, struct netbuf *); 132 int is_loopback(struct netbuf *); 141 char *addrmerge(struct netbuf *caller, const char *serv_uaddr,
|
H A D | check_bound.c | 77 struct netbuf *na; in check_bound() 104 add_bndlist(struct netconfig *nconf, struct netbuf *baddr __unused) in add_bndlist() 155 struct netbuf *callee; in mergeaddr()
|
H A D | security.c | 60 struct netbuf *caller = svc_getrpccaller(xprt); in check_access() 124 is_loopback(struct netbuf *nbuf) in is_loopback()
|
/freebsd/lib/libc/net/ |
H A D | getnetbynis.c | 88 bp = ned->netbuf; in _getnetbynis() 89 ep = ned->netbuf + sizeof ned->netbuf; in _getnetbynis()
|
H A D | getnetbyht.c | 98 bp = ned->netbuf; in getnetent_p() 99 ep = ned->netbuf + sizeof ned->netbuf; in getnetent_p()
|
/freebsd/usr.bin/rpcinfo/ |
H A D | rpcinfo.c | 128 static bool_t reply_proc(void *, struct netbuf *, struct netconfig *); 133 static CLIENT *clnt_rpcbind_create(char *, int, struct netbuf **); 135 struct netbuf **); 587 reply_proc(void *res, struct netbuf *who, struct netconfig *nconf) 879 struct netbuf *targaddr; 1226 static struct netbuf *nbuf; 1535 clnt_rpcbind_create(char *host, int rpcbversnum, struct netbuf **targaddr) 1567 u_long rpcbversnum, struct netbuf **targaddr) 1569 struct netbuf addr; 1586 (struct netbuf *)malloc(sizeof (struct netbuf));
|