summaryrefslogtreecommitdiffstats
path: root/utils/mount/network.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2009-03-05 06:20:40 -0500
committerSteve Dickson <steved@redhat.com>2009-03-05 06:20:40 -0500
commit27a49079b03316eebcbc74197b73988b01b58ecc (patch)
treef24ddd9ce2c3d2cb9cc508c9ce27ae966c79dc91 /utils/mount/network.c
parent5529fdbb4acb2507b79acf07e08c2a88c1df9e38 (diff)
downloadnfs-utils-27a49079b03316eebcbc74197b73988b01b58ecc.tar.gz
nfs-utils-27a49079b03316eebcbc74197b73988b01b58ecc.tar.xz
nfs-utils-27a49079b03316eebcbc74197b73988b01b58ecc.zip
nfs-utils: Provide type-checked version of svc_getcaller()
TI-RPC's version of the svc_getcaller() macro points to a sockaddr_in6, not a sockaddr_in, though for AF_INET callers, an AF_INET address resides there. To squelch compiler warnings when the TI-RPC version of the svc_req structure is used, add inline helpers with appropriate type casting. Note that tcp_wrappers support only AF_INET addresses for now. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mount/network.c')
0 files changed, 0 insertions, 0 deletions