Searched refs:xp_ltaddr (Results 1 – 9 of 9) sorted by relevance
/freebsd/lib/libc/rpc/ |
H A D | svc_vc.c | 156 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 D | svc_dg.c | 147 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 D | rpc_soc.c | 232 port = (((struct sockaddr_in *)svc->xp_ltaddr.buf)->sin_port); in svc_com_create()
|
H A D | svc.c | 227 &((SVCXPRT *) xprt)->xp_ltaddr); in svc_reg()
|
/freebsd/sys/rpc/ |
H A D | svc_dg.c | 126 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 D | svc_vc.c | 232 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 D | svc.h | 167 struct sockaddr_storage xp_ltaddr; /* local transport address */ member 199 struct netbuf xp_ltaddr; /* local transport address */
|
H A D | svc.c | 558 nb.buf = &xprt->xp_ltaddr; in svc_reg() 559 nb.len = xprt->xp_ltaddr.ss_len; in svc_reg()
|
/freebsd/include/rpc/ |
H A D | svc.h | 118 struct netbuf xp_ltaddr; /* local transport address */ member 167 #define svc_getrpccallee(x) (&(x)->xp_ltaddr)
|