Home
last modified time | relevance | path

Searched refs:xp_ltaddr (Results 1 – 9 of 9) sorted by relevance

/freebsd/lib/libc/rpc/
H A Dsvc_vc.c156 xprt->xp_ltaddr.maxlen = xprt->xp_ltaddr.len = sslocal.ss_len; in svc_vc_create()
157 xprt->xp_ltaddr.buf = mem_alloc((size_t)sslocal.ss_len); in svc_vc_create()
158 if (xprt->xp_ltaddr.buf == NULL) { in svc_vc_create()
162 memcpy(xprt->xp_ltaddr.buf, &sslocal, (size_t)sslocal.ss_len); in svc_vc_create()
197 ret->xp_ltaddr.maxlen = ret->xp_ltaddr.len = ss.ss_len; in svc_fd_create()
198 ret->xp_ltaddr.buf = mem_alloc((size_t)ss.ss_len); in svc_fd_create()
199 if (ret->xp_ltaddr.buf == NULL) { in svc_fd_create()
203 memcpy(ret->xp_ltaddr.buf, &ss, (size_t)ss.ss_len); in svc_fd_create()
227 if (ret->xp_ltaddr.buf != NULL) in svc_fd_create()
228 mem_free(ret->xp_ltaddr.buf, rep->xp_ltaddr.maxlen); in svc_fd_create()
[all …]
H A Dsvc_dg.c147 xprt->xp_ltaddr.buf = mem_alloc(sizeof (struct sockaddr_storage)); in svc_dg_create()
148 xprt->xp_ltaddr.maxlen = sizeof (struct sockaddr_storage); in svc_dg_create()
149 xprt->xp_ltaddr.len = slen; in svc_dg_create()
150 memcpy(xprt->xp_ltaddr.buf, &ss, slen); in svc_dg_create()
403 if (xprt->xp_ltaddr.buf) in svc_dg_destroy()
404 (void) mem_free(xprt->xp_ltaddr.buf, xprt->xp_ltaddr.maxlen); in svc_dg_destroy()
H A Drpc_soc.c232 port = (((struct sockaddr_in *)svc->xp_ltaddr.buf)->sin_port); in svc_com_create()
H A Dsvc.c227 &((SVCXPRT *) xprt)->xp_ltaddr); in svc_reg()
/freebsd/sys/rpc/
H A Dsvc_dg.c126 xprt->xp_ltaddr.ss_len = sizeof(xprt->xp_ltaddr); in svc_dg_create()
127 error = sosockaddr(so, (struct sockaddr *)&xprt->xp_ltaddr); in svc_dg_create()
H A Dsvc_vc.c232 xprt->xp_ltaddr.ss_len = sizeof(xprt->xp_ltaddr); in svc_vc_create()
233 error = sosockaddr(so, (struct sockaddr *)&xprt->xp_ltaddr); in svc_vc_create()
311 xprt->xp_ltaddr.ss_len = sizeof(xprt->xp_ltaddr); in svc_vc_create_conn()
312 error = sosockaddr(so, (struct sockaddr *)&xprt->xp_ltaddr); in svc_vc_create_conn()
H A Dsvc.h167 struct sockaddr_storage xp_ltaddr; /* local transport address */ member
199 struct netbuf xp_ltaddr; /* local transport address */
H A Dsvc.c558 nb.buf = &xprt->xp_ltaddr; in svc_reg()
559 nb.len = xprt->xp_ltaddr.ss_len; in svc_reg()
/freebsd/include/rpc/
H A Dsvc.h118 struct netbuf xp_ltaddr; /* local transport address */ member
167 #define svc_getrpccallee(x) (&(x)->xp_ltaddr)