Home
last modified time | relevance | path

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

123

/freebsd-14.2/sys/rpc/
H A Drpc_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 *);
H A Drpcb_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 *);
H A Drpcb_clnt.c82 struct netbuf *ac_taddr;
172 struct netbuf *addr;
201 struct netbuf *taddr;
213 ad_cache->ac_taddr = (struct netbuf *)malloc(sizeof (struct netbuf));
651 static struct netbuf *
739 struct netbuf *
776 struct netbuf remote;
1062 struct netbuf *na;
1183 struct netbuf *na;
1336 struct netbuf *
[all …]
H A Drpcb_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 *);
H A Drpc.h101 char *taddr2uaddr(const struct netconfig *, const struct netbuf *);
102 struct netbuf *uaddr2taddr(const struct netconfig *, const char *);
H A Dtypes.h91 struct netbuf { struct
103 struct netbuf addr; argument
H A Drpc_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()
H A Dclnt.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-14.2/include/rpc/
H A Drpc_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 *,
H A Drpcb_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 *);
H A Drpcb_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;
H A Drpc.h90 char *taddr2uaddr(const struct netconfig *, const struct netbuf *);
91 struct netbuf *uaddr2taddr(const struct netconfig *, const char *);
H A Dclnt.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 *,
H A Dsvc_dg.h48 struct netbuf su_srcaddr; /* dst address of last msg */
/freebsd-14.2/lib/libc/rpc/
H A Drpc_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_timed(rpcprog_t, rpcvers_t,
H A Drpcb_clnt.c84 struct netbuf *ac_taddr;
208 ad_cache->ac_taddr = (struct netbuf *)malloc(sizeof (struct netbuf)); in add_cache()
429 struct netbuf nbuf; in local_rpcb()
618 static struct netbuf *
704 struct netbuf *
737 struct netbuf remote; in __rpcb_findaddr_timed()
1027 struct netbuf *na; in rpcb_getaddr()
1147 struct netbuf *na; in rpcb_rmtcall()
1278 struct netbuf *
1282 struct netbuf *taddr; in rpcb_uaddr2taddr()
[all …]
H A Drpc_generic.c554 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 Drpc_soc.c80 static bool_t rpc_wrap_bcast(char *, struct netbuf *, struct netconfig *);
97 struct netbuf bindaddr; in clnt_com_create()
335 rpc_wrap_bcast(char *resultp, struct netbuf *addr, struct netconfig *nconf) in rpc_wrap_bcast()
425 struct netbuf *svcaddr; in clntunix_create()
432 ((svcaddr = malloc(sizeof(struct netbuf))) == NULL ) || in clntunix_create()
/freebsd-14.2/share/examples/ipfilter/samples/
H A Dproxy.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-14.2/usr.sbin/rpcbind/
H A Drpcb_svc_com.c108 static int netbufcmp(struct netbuf *, struct netbuf *);
109 static struct netbuf *netbufdup(struct netbuf *);
368 static struct netbuf nbuf; in rpcbproc_uaddr2taddr_com()
390 struct netbuf *taddr = (struct netbuf *)arg; in rpcbproc_taddr2uaddr_com()
600 struct netbuf *caller; in rpcbproc_callit_com()
605 struct netbuf *na = (struct netbuf *) NULL; in rpcbproc_callit_com()
616 struct netbuf tbuf; in rpcbproc_callit_com()
1034 netbufcmp(struct netbuf *n1, struct netbuf *n2) in netbufcmp()
1040 netbuf_copybuf(struct netbuf *dst, const struct netbuf *src) in netbuf_copybuf()
1057 static struct netbuf *
[all …]
H A Drpcbind.h91 int add_bndlist(struct netconfig *, struct netbuf *);
134 int is_loopback(struct netbuf *);
143 char *addrmerge(struct netbuf *caller, const char *serv_uaddr,
H A Dcheck_bound.c85 struct netbuf *na; in check_bound()
112 add_bndlist(struct netconfig *nconf, struct netbuf *baddr __unused) in add_bndlist()
163 struct netbuf *callee; in mergeaddr()
/freebsd-14.2/lib/libc/net/
H A Dgetnetbynis.c88 bp = ned->netbuf; in _getnetbynis()
89 ep = ned->netbuf + sizeof ned->netbuf; in _getnetbynis()
H A Dgetnetbyht.c102 bp = ned->netbuf; in getnetent_p()
103 ep = ned->netbuf + sizeof ned->netbuf; in getnetent_p()
/freebsd-14.2/usr.bin/rpcinfo/
H A Drpcinfo.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