/netbsd-src/external/bsd/ipf/dist/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;
|
/netbsd-src/include/rpc/ |
H A D | rpcb_clnt.h | 65 const struct netconfig *, const struct netbuf *); 76 const struct netbuf *) 80 const struct netconfig *, struct netbuf *, 86 extern char *rpcb_taddr2uaddr(struct netconfig *, struct netbuf *); 87 extern struct netbuf *rpcb_uaddr2taddr(struct netconfig *, char *);
|
H A D | rpcb_prot.x | 329 %extern "C" bool_t xdr_netbuf(XDR *, struct netbuf *); 332 %extern bool_t xdr_netbuf(XDR *, struct netbuf *); 363 struct netbuf 367 RPCBPROC_TADDR2UADDR(struct netbuf) = 8; 395 struct netbuf 399 RPCBPROC_TADDR2UADDR(struct netbuf) = 8;
|
H A D | rpc.h | 88 char *taddr2uaddr(const struct netconfig *, const struct netbuf *); 89 struct netbuf *uaddr2taddr(const struct netconfig *, const char *);
|
H A D | clnt.h | 367 const struct netbuf *, const rpcprog_t, 383 extern CLIENT *clnt_vc_create(const int, const struct netbuf *, 398 extern CLIENT *clnt_dg_create(const int, const struct netbuf *,
|
H A D | svc.h | 117 struct netbuf xp_ltaddr; /* local transport address */ 118 struct netbuf xp_rtaddr; /* remote transport address */
|
/netbsd-src/lib/libc/rpc/ |
H A D | rpcb_clnt.c | 100 struct netbuf *ac_taddr; 112 static void delete_cache(struct netbuf *); 113 static void add_cache(const char *, const char *, struct netbuf *, char *); 116 static struct netbuf *got_entry(rpcb_entry_list_ptr, const struct netconfig *); 190 delete_cache(struct netbuf *addr) in delete_cache() 218 add_cache(const char *host, const char *netid, struct netbuf *taddr, in add_cache() 308 struct netbuf *addr, taddr; in getclnthandle() 309 struct netbuf addr_to_delete; in getclnthandle() 438 struct netbuf nbuf; in local_rpcb() 534 const struct netbuf *address) /* Services netconfig address */ in rpcb_set() [all …]
|
H A D | rpc_internal.h | 46 char *__rpc_taddr2uaddr_af(int, const struct netbuf *); 47 struct netbuf *__rpc_uaddr2taddr_af(int, const char *); 48 int __rpc_fixup_addr(struct netbuf *, const struct netbuf *); 55 struct netbuf *__rpcb_findaddr(rpcprog_t, rpcvers_t, const struct netconfig *,
|
H A D | rpc_generic.c | 605 taddr2uaddr(const struct netconfig *nconf, const struct netbuf *nbuf) in taddr2uaddr() 617 struct netbuf * 631 __rpc_taddr2uaddr_af(int af, const struct netbuf *nbuf) in __rpc_taddr2uaddr_af() 686 struct netbuf * 689 struct netbuf *ret = NULL; in __rpc_uaddr2taddr_af() 828 __rpc_fixup_addr(struct netbuf *new, const struct netbuf *svc) in __rpc_fixup_addr()
|
H A D | rpc_soc.c | 102 static bool_t rpc_wrap_bcast(char *, struct netbuf *, struct netconfig *); 115 struct netbuf bindaddr; in clnt_com_create() 367 struct netbuf *addr, /* address of the guy who responded */ in rpc_wrap_bcast()
|
H A D | clnt_dg.c | 161 const struct netbuf *svcaddr, /* servers address */ in clnt_dg_create() 556 struct netbuf *addr; in clnt_dg_control() 619 addr = (struct netbuf *)(void *)info; in clnt_dg_control() 625 addr = (struct netbuf *)(void *)info; in clnt_dg_control()
|
H A D | clnt_generic.c | 231 struct netbuf *svcaddr; /* servers address */ in clnt_tp_create() 294 const struct netbuf *svcaddr, /* servers address */ in clnt_tli_create()
|
/netbsd-src/usr.sbin/rpcbind/ |
H A D | rpcb_svc_com.c | 94 struct netbuf *caller_addr; 111 static int forward_register(u_int32_t, struct netbuf *, int, char *, 116 static int netbufcmp(struct netbuf *, struct netbuf *); 117 static struct netbuf *netbufdup(struct netbuf *); 118 static void netbuffree(struct netbuf *); 383 static struct netbuf nbuf; in rpcbproc_uaddr2taddr_com() 384 static struct netbuf *taddr; in rpcbproc_uaddr2taddr_com() 393 (void) memset(&nbuf, 0, sizeof (struct netbuf)); in rpcbproc_uaddr2taddr_com() 408 struct netbuf *taddr = arg; in rpcbproc_taddr2uaddr_com() 614 struct netbuf *caller; in rpcbproc_callit_com() [all …]
|
H A D | rpcbind.h | 88 int add_bndlist(struct netconfig *, struct netbuf *); 131 int is_loopback(struct netbuf *); 140 char *addrmerge(struct netbuf *caller, char *serv_uaddr, char *clnt_uaddr,
|
H A D | check_bound.c | 90 struct netbuf *na; in check_bound() 121 add_bndlist(struct netconfig *nconf, struct netbuf *baddr __unused) in add_bndlist()
|
H A D | security.c | 77 struct netbuf *caller = svc_getrpccaller(xprt); in check_access() 141 is_loopback(struct netbuf *nbuf) in is_loopback()
|
H A D | rpcbind.c | 138 struct netbuf *); 497 struct netbuf nb; in init_transport() 550 struct netbuf nb; in init_transport() 811 struct netbuf *addr) in rbllist_add()
|
/netbsd-src/lib/libc/compat/include/rpc/ |
H A D | rpcb_clnt.h | 47 const struct timeval50, const struct netbuf *); 52 const struct timeval, const struct netbuf *);
|
/netbsd-src/common/include/rpc/ |
H A D | types.h | 91 struct netbuf { struct 103 struct netbuf addr; argument
|
/netbsd-src/usr.bin/rusers/ |
H A D | rusers.c | 68 static int rusers_reply(char *, struct netbuf *, struct netconfig *); 141 rusers_reply(char *replyp, struct netbuf *raddrp, struct netconfig *nconf) in rusers_reply() 231 struct netbuf nb; in onehost()
|
/netbsd-src/usr.bin/rpcinfo/ |
H A D | rpcinfo.c | 139 static bool_t reply_proc(void *, struct netbuf *, struct netconfig *); 145 static CLIENT *clnt_rpcbind_create(const char *, rpcvers_t, struct netbuf **); 147 rpcvers_t, struct netbuf **); 318 struct netbuf nbuf; 598 struct netbuf *who, /* Who sent us the reply */ 903 struct netbuf *targaddr; 1257 static struct netbuf *nbuf; 1546 getport(const struct netbuf *nb) 1579 struct netbuf nb; 1591 struct netbuf **targaddr) [all …]
|
/netbsd-src/lib/libc/net/ |
H A D | getnetnamadr.c | 171 static char netbuf[PACKETSZ]; in getnetanswer() local 201 bp = netbuf; in getnetanswer() 202 ep = netbuf + sizeof(netbuf); in getnetanswer()
|
/netbsd-src/usr.bin/rup/ |
H A D | rup.c | 154 static int rstat_reply(char *, struct netbuf *, struct netconfig *); 203 rstat_reply(char *replyp, struct netbuf *raddrp, struct netconfig *nconf) in rstat_reply()
|
/netbsd-src/lib/libc/compat/rpc/ |
H A D | compat_rpcb.c | 68 const struct timeval50 tout50, const struct netbuf *nb) in __weak_alias()
|
/netbsd-src/tests/lib/libc/rpc/ |
H A D | t_rpc.c | 45 reply(caddr_t replyp, struct netbuf * raddrp, struct netconfig * nconf) in reply() 66 struct netbuf addr; in onehost()
|