diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-07-14 16:03:27 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-07-15 18:08:44 -0400 |
commit | cc5598b78fd320dd6d1f90c14491e08029f3c4f6 (patch) | |
tree | de62ba86decdc7bdb69ed717e3c42b4a7d6b774b /samples | |
parent | 166b88d755f925139af7f7b75aa0a1b896ca0670 (diff) |
SUNRPC: Introduce a specific rpcb_create for contacting localhost
Add rpcb_create_local() for use by rpcb_register() and upcoming IPv6
registration functions.
Ensure any errors encountered by rpcb_create_local() are properly
reported.
We can also use a statically allocated constant loopback socket address
instead of one allocated on the stack and initialized every time the
function is called.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions