| /freebsd-12.1/sys/rpc/ |
| H A D | rpc_com.h | 79 char *__rpc_taddr2uaddr_af(int, const struct netbuf *); 80 struct netbuf *__rpc_uaddr2taddr_af(int, const char *); 81 int __rpc_fixup_addr(struct netbuf *, const struct netbuf *); 88 struct netbuf *__rpcb_findaddr_timed(rpcprog_t, rpcvers_t, 110 extern char *__rpc_taddr2uaddr_af(int, const struct netbuf *); 111 extern struct netbuf *__rpc_uaddr2taddr_af(int, const char *);
|
| H A D | rpcb_clnt.h | 69 const struct netconfig *, const struct netbuf *); 80 const struct netbuf *); 82 const struct netconfig *, struct netbuf *, 85 extern char *rpcb_taddr2uaddr(struct netconfig *, struct netbuf *); 86 extern struct netbuf *rpcb_uaddr2taddr(struct netconfig *, char *);
|
| H A D | rpcb_clnt.c | 84 struct netbuf *ac_taddr; 174 struct netbuf *addr; 203 struct netbuf *taddr; 215 ad_cache->ac_taddr = (struct netbuf *)malloc(sizeof (struct netbuf)); 653 static struct netbuf * 741 struct netbuf * 778 struct netbuf remote; 1064 struct netbuf *na; 1185 struct netbuf *na; 1338 struct netbuf * [all …]
|
| H A D | rpcb_prot.h | 343 extern "C" bool_t xdr_netbuf(XDR *, struct netbuf *); 346 extern bool_t xdr_netbuf(XDR *, struct netbuf *); 517 extern struct netbuf * rpcbproc_uaddr2taddr_3(char **, CLIENT *); 518 extern struct netbuf * rpcbproc_uaddr2taddr_3_svc(char **, struct svc_req *); 520 extern char ** rpcbproc_taddr2uaddr_3(struct netbuf *, CLIENT *); 521 extern char ** rpcbproc_taddr2uaddr_3_svc(struct netbuf *, struct svc_req *); 539 extern struct netbuf * rpcbproc_uaddr2taddr_4(char **, CLIENT *); 540 extern struct netbuf * rpcbproc_uaddr2taddr_4_svc(char **, struct svc_req *); 541 extern char ** rpcbproc_taddr2uaddr_4(struct netbuf *, CLIENT *); 542 extern char ** rpcbproc_taddr2uaddr_4_svc(struct netbuf *, struct svc_req *);
|
| H A D | rpc.h | 102 char *taddr2uaddr(const struct netconfig *, const struct netbuf *); 103 struct netbuf *uaddr2taddr(const struct netconfig *, const char *);
|
| H A D | types.h | 92 struct netbuf { struct 104 struct netbuf addr; argument
|
| H A D | rpc_generic.c | 279 taddr2uaddr(const struct netconfig *nconf, const struct netbuf *nbuf) in taddr2uaddr() 288 struct netbuf * 299 __rpc_taddr2uaddr_af(int af, const struct netbuf *nbuf) in __rpc_taddr2uaddr_af() 361 struct netbuf * 364 struct netbuf *ret = NULL; in __rpc_uaddr2taddr_af() 402 ret = (struct netbuf *)malloc(sizeof *ret, M_RPC, M_WAITOK); in __rpc_uaddr2taddr_af()
|
| H A D | clnt.h | 531 struct netbuf *, const rpcprog_t, 546 extern CLIENT *clnt_vc_create(const int, const struct netbuf *, 566 extern CLIENT *clnt_dg_create(const int, const struct netbuf *,
|
| /freebsd-12.1/lib/libc/rpc/ |
| H A D | rpcb_clnt.c | 87 struct netbuf *ac_taddr; 211 ad_cache->ac_taddr = (struct netbuf *)malloc(sizeof (struct netbuf)); in add_cache() 432 struct netbuf nbuf; in local_rpcb() 621 static struct netbuf * 707 struct netbuf * 740 struct netbuf remote; in __rpcb_findaddr_timed() 1020 struct netbuf *na; in rpcb_getaddr() 1140 struct netbuf *na; in rpcb_rmtcall() 1271 struct netbuf * 1275 struct netbuf *taddr; in rpcb_uaddr2taddr() [all …]
|
| H A D | rpc_com.h | 69 char *__rpc_taddr2uaddr_af(int, const struct netbuf *); 70 struct netbuf *__rpc_uaddr2taddr_af(int, const char *); 71 int __rpc_fixup_addr(struct netbuf *, const struct netbuf *); 78 struct netbuf *__rpcb_findaddr_timed(rpcprog_t, rpcvers_t,
|
| H A D | rpc_generic.c | 580 taddr2uaddr(const struct netconfig *nconf, const struct netbuf *nbuf) in taddr2uaddr() 589 struct netbuf * 600 __rpc_taddr2uaddr_af(int af, const struct netbuf *nbuf) in __rpc_taddr2uaddr_af() 653 struct netbuf * 656 struct netbuf *ret = NULL; in __rpc_uaddr2taddr_af() 694 ret = (struct netbuf *)malloc(sizeof *ret); in __rpc_uaddr2taddr_af() 793 __rpc_fixup_addr(struct netbuf *new, const struct netbuf *svc) in __rpc_fixup_addr()
|
| H A D | rpc_soc.c | 83 static bool_t rpc_wrap_bcast(char *, struct netbuf *, struct netconfig *); 100 struct netbuf bindaddr; in clnt_com_create() 338 rpc_wrap_bcast(char *resultp, struct netbuf *addr, struct netconfig *nconf) in rpc_wrap_bcast() 428 struct netbuf *svcaddr; in clntunix_create() 435 ((svcaddr = malloc(sizeof(struct netbuf))) == NULL ) || in clntunix_create()
|
| /freebsd-12.1/include/rpc/ |
| H A D | rpcb_clnt.h | 67 const struct netconfig *, const struct netbuf *); 77 const struct netbuf *); 79 const struct netconfig *, struct netbuf *, 82 extern char *rpcb_taddr2uaddr(struct netconfig *, struct netbuf *); 83 extern struct netbuf *rpcb_uaddr2taddr(struct netconfig *, char *);
|
| H A D | rpc_com.h | 67 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(rpcprog_t, rpcvers_t, const struct netconfig *,
|
| H A D | rpcb_prot.x | 326 %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;
|
| H A D | rpc.h | 91 char *taddr2uaddr(const struct netconfig *, const struct netbuf *); 92 struct netbuf *uaddr2taddr(const struct netconfig *, const char *);
|
| H A D | clnt.h | 360 struct netbuf *, const rpcprog_t, 375 extern CLIENT *clnt_vc_create(const int, const struct netbuf *, 395 extern CLIENT *clnt_dg_create(const int, const struct netbuf *,
|
| /freebsd-12.1/contrib/ipfilter/samples/ |
| H A D | proxy.c | 233 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;
|
| /freebsd-12.1/usr.sbin/rpcbind/ |
| H A D | rpcb_svc_com.c | 109 static int netbufcmp(struct netbuf *, struct netbuf *); 110 static struct netbuf *netbufdup(struct netbuf *); 369 static struct netbuf nbuf; in rpcbproc_uaddr2taddr_com() 391 struct netbuf *taddr = (struct netbuf *)arg; in rpcbproc_taddr2uaddr_com() 601 struct netbuf *caller; in rpcbproc_callit_com() 606 struct netbuf *na = (struct netbuf *) NULL; in rpcbproc_callit_com() 617 struct netbuf tbuf; in rpcbproc_callit_com() 1035 netbufcmp(struct netbuf *n1, struct netbuf *n2) in netbufcmp() 1041 netbuf_copybuf(struct netbuf *dst, const struct netbuf *src) in netbuf_copybuf() 1058 static struct netbuf * [all …]
|
| H A D | rpcbind.h | 92 int add_bndlist(struct netconfig *, struct netbuf *); 135 int is_loopback(struct netbuf *); 144 char *addrmerge(struct netbuf *caller, const char *serv_uaddr,
|
| H A D | check_bound.c | 86 struct netbuf *na; in check_bound() 113 add_bndlist(struct netconfig *nconf, struct netbuf *baddr __unused) in add_bndlist()
|
| /freebsd-12.1/lib/libc/net/ |
| H A D | getnetbynis.c | 91 bp = ned->netbuf; in _getnetbynis() 92 ep = ned->netbuf + sizeof ned->netbuf; in _getnetbynis()
|
| H A D | getnetbyht.c | 105 bp = ned->netbuf; in getnetent_p() 106 ep = ned->netbuf + sizeof ned->netbuf; in getnetent_p()
|
| /freebsd-12.1/usr.bin/rpcinfo/ |
| H A D | rpcinfo.c | 138 static bool_t reply_proc(void *, struct netbuf *, struct netconfig *); 143 static CLIENT *clnt_rpcbind_create(char *, int, struct netbuf **); 145 struct netbuf **); 597 reply_proc(void *res, struct netbuf *who, struct netconfig *nconf) 889 struct netbuf *targaddr; 1236 static struct netbuf *nbuf; 1545 clnt_rpcbind_create(char *host, int rpcbversnum, struct netbuf **targaddr) 1577 u_long rpcbversnum, struct netbuf **targaddr) 1579 struct netbuf addr; 1596 (struct netbuf *)malloc(sizeof (struct netbuf));
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | sys-protos.h | 46 extern struct nd_hostservlist _netdir_getbyaddr(struct netconfig *, struct netbuf *); 76 extern char * _taddr2uaddr(struct netconfig *, struct netbuf *); 79 extern struct netbuf * _uaddr2taddr(struct netconfig *, char *); 117 extern char * atos(char *, struct netbuf *, int); 756 … netdir_getbyaddr(struct netconfig *, struct nd_hostservlist **, struct netbuf *); 900 extern struct netbuf * rpcb_uaddr2taddr(/* ??? */); 1073 extern struct netbuf * stoa(char *, struct netbuf *); 1136 extern char * taddr2uaddr(struct netconfig *, struct netbuf *); 1187 extern struct netbuf * uaddr2taddr(struct netconfig *, char *);
|