Home
last modified time | relevance | path

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

/freebsd/lib/libc/rpc/
H A Dsvc_vc.c125 struct sockaddr_storage sslocal; in svc_vc_create() local
151 if (_getsockname(fd, (struct sockaddr *)(void *)&sslocal, &slen) < 0) { in svc_vc_create()
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()
162 memcpy(xprt->xp_ltaddr.buf, &sslocal, (size_t)sslocal.ss_len); in svc_vc_create()
278 struct sockaddr_storage addr, sslocal; in rendezvous_request() local
345 if(_getsockname(sock, (struct sockaddr *)(void *)&sslocal, &slen) < 0) { in rendezvous_request()
349 newxprt->xp_ltaddr.maxlen = newxprt->xp_ltaddr.len = sslocal.ss_len; in rendezvous_request()
350 newxprt->xp_ltaddr.buf = mem_alloc((size_t)sslocal.ss_len); in rendezvous_request()
355 memcpy(newxprt->xp_ltaddr.buf, &sslocal, (size_t)sslocal.ss_len); in rendezvous_request()