netbuf
struct netbuf addr;
const struct netbuf *, const rpcprog_t,
extern CLIENT *clnt_vc_create(const int, const struct netbuf *,
extern CLIENT *clnt_dg_create(const int, const struct netbuf *,
char *taddr2uaddr(const struct netconfig *, const struct netbuf *);
struct netbuf *uaddr2taddr(const struct netconfig *, const char *);
const struct netconfig *, const struct netbuf *);
const struct netbuf *)
const struct netconfig *, struct netbuf *,
extern char *rpcb_taddr2uaddr(struct netconfig *, struct netbuf *);
extern struct netbuf *rpcb_uaddr2taddr(struct netconfig *, char *);
struct netbuf xp_ltaddr; /* local transport address */
struct netbuf xp_rtaddr; /* remote transport address */
const struct timeval50, const struct netbuf *);
const struct timeval, const struct netbuf *);
const struct timeval50 tout50, const struct netbuf *nb)
static char netbuf[PACKETSZ];
bp = netbuf;
ep = netbuf + sizeof(netbuf);
struct netbuf taddr, *np;
const struct netbuf *svcaddr, /* servers address */
struct netbuf *addr;
addr = (struct netbuf *)(void *)info;
addr = (struct netbuf *)(void *)info;
struct netbuf *svcaddr; /* servers address */
const struct netbuf *svcaddr, /* servers address */
struct netbuf ct_addr;
const struct netbuf *raddr,
*(struct netbuf *)(void *)info = ct->ct_addr;
struct netbuf *na;
taddr2uaddr(const struct netconfig *nconf, const struct netbuf *nbuf)
struct netbuf *
__rpc_taddr2uaddr_af(int af, const struct netbuf *nbuf)
struct netbuf *
struct netbuf *ret = NULL;
__rpc_fixup_addr(struct netbuf *new, const struct netbuf *svc)
char *__rpc_taddr2uaddr_af(int, const struct netbuf *);
struct netbuf *__rpc_uaddr2taddr_af(int, const char *);
int __rpc_fixup_addr(struct netbuf *, const struct netbuf *);
struct netbuf *__rpcb_findaddr(rpcprog_t, rpcvers_t, const struct netconfig *,
static bool_t rpc_wrap_bcast(char *, struct netbuf *, struct netconfig *);
struct netbuf bindaddr;
struct netbuf *addr, /* address of the guy who responded */
struct netbuf *ac_taddr;
const struct netbuf *addr_ptr) /* Preallocated netbuf address */
struct netbuf *na;
((struct netbuf *)__UNCONST(addr_ptr))->len = 0;
((struct netbuf *)__UNCONST(addr_ptr))->len = 0;
static void delete_cache(struct netbuf *);
((struct netbuf *)__UNCONST(addr_ptr))->len = na->len;
static void add_cache(const char *, const char *, struct netbuf *, char *);
static struct netbuf *got_entry(rpcb_entry_list_ptr, const struct netconfig *);
rpcb_taddr2uaddr(struct netconfig *nconf, struct netbuf *taddr)
struct netbuf *
struct netbuf *taddr;
taddr = (struct netbuf *)calloc(1, sizeof (struct netbuf));
delete_cache(struct netbuf *addr)
add_cache(const char *host, const char *netid, struct netbuf *taddr,
struct netbuf *addr, taddr;
struct netbuf addr_to_delete;
struct netbuf nbuf;
const struct netbuf *address) /* Services netconfig address */
static struct netbuf *
struct netbuf *na = NULL;
struct netbuf *
struct netbuf *address = NULL;
struct netbuf servaddr;
struct netbuf remote;
if (((address = malloc(sizeof(struct netbuf))) == NULL) ||
const struct netconfig *nconf, struct netbuf *address,
struct netbuf *na;
xdr_netbuf(XDR *xdrs, struct netbuf *objp)
struct netbuf cache_addr;
static struct netbuf nfs_nb;
struct netbuf *a;
reply(caddr_t replyp, struct netbuf * raddrp, struct netconfig * nconf)
struct netbuf addr;
static struct netbuf *nbuf;
static bool_t reply_proc(void *, struct netbuf *, struct netconfig *);
static CLIENT *clnt_rpcbind_create(const char *, rpcvers_t, struct netbuf **);
rpcvers_t, struct netbuf **);
getport(const struct netbuf *nb)
struct netbuf nb;
struct netbuf **targaddr)
rpcvers_t rpcbversnum, struct netbuf **targaddr)
struct netbuf addr;
struct netbuf nbuf;
struct netbuf *who, /* Who sent us the reply */
struct netbuf *targaddr;
static int rstat_reply(char *, struct netbuf *, struct netconfig *);
rstat_reply(char *replyp, struct netbuf *raddrp, struct netconfig *nconf)
rusers_reply(char *replyp, struct netbuf *raddrp, struct netconfig *nconf)
struct netbuf nb;
static int rusers_reply(char *, struct netbuf *, struct netconfig *);
struct netbuf nbuf;
struct netbuf nb;
add_bndlist(struct netconfig *nconf, struct netbuf *baddr __unused)
struct netbuf *na;
struct netbuf rpcbproc_taddr2uaddr_3_arg;
struct netbuf rpcbproc_taddr2uaddr_4_arg;
netbufcmp(struct netbuf *n1, struct netbuf *n2)
netbuf_copybuf(struct netbuf *dst, const struct netbuf *src)
static struct netbuf *
netbufdup(struct netbuf *ap)
struct netbuf *np;
if ((np = calloc(1, sizeof(struct netbuf))) == NULL)
netbuffree(struct netbuf *ap)
static int forward_register(u_int32_t, struct netbuf *, int, char *,
static int netbufcmp(struct netbuf *, struct netbuf *);
static struct netbuf *netbufdup(struct netbuf *);
static void netbuffree(struct netbuf *);
static struct netbuf nbuf;
static struct netbuf *taddr;
(void) memset(&nbuf, 0, sizeof (struct netbuf));
struct netbuf *taddr = arg;
struct netbuf *caller;
struct netbuf *na = NULL;
struct netbuf tbuf;
forward_register(u_int32_t caller_xid, struct netbuf *caller_addr,
struct netbuf *caller_addr;
struct netbuf *);
struct netbuf nb;
struct netbuf nb;
struct netbuf *addr)
int is_loopback(struct netbuf *);
char *addrmerge(struct netbuf *caller, char *serv_uaddr, char *clnt_uaddr,
int add_bndlist(struct netconfig *, struct netbuf *);
is_loopback(struct netbuf *nbuf)
struct netbuf *caller = svc_getrpccaller(xprt);
struct netbuf *serv_nbp, *clnt_nbp = NULL, tbuf;
addrmerge(struct netbuf *caller, char *serv_uaddr, char *clnt_uaddr,