]> git.decadent.org.uk Git - nfs-utils.git/commit
support: Introduce sockaddr helpers to get and set IP port numbers
authorChuck Lever <chuck.lever@oracle.com>
Tue, 14 Jul 2009 20:47:09 +0000 (16:47 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 14 Jul 2009 20:47:09 +0000 (16:47 -0400)
commit5600327322a78a3a803368c0fe4f923cf14a4cf7
tree67e3774f33391e09e703073b68ed46f57ccca599
parent23c1a452afce5726cfe661a4d7ac14a1883ecb55
support: Introduce sockaddr helpers to get and set IP port numbers

Introduce address family-agnostic functions that get and set IP port
numbers in socket addresses.  We can already replace a few similar
functions in the mount command, and a few more will come up with
statd and sm-notify.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
support/include/nfsrpc.h
support/nfs/getport.c
support/nfs/rpc_socket.c
utils/mount/network.c