summaryrefslogtreecommitdiffstats
path: root/utils/statd/callback.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-01-14 12:22:33 -0500
committerSteve Dickson <steved@redhat.com>2010-01-15 14:55:51 -0500
commitf867499c8521a957776d52a9657b15fa7c2a513f (patch)
tree7a4281eaa6747cf641fe601c8574a965eb449b42 /utils/statd/callback.c
parent56f9d50712481ed0f84f26e3a9f9dd012cf1995f (diff)
downloadnfs-utils-f867499c8521a957776d52a9657b15fa7c2a513f.tar.gz
nfs-utils-f867499c8521a957776d52a9657b15fa7c2a513f.tar.xz
nfs-utils-f867499c8521a957776d52a9657b15fa7c2a513f.zip
sm-notify: Support creating a PF_INET6 socket in smn_create_socket()
Socket creation is unfortunately complicated by the need to handle the case where sm-notify is built with IPv6 support, but the local system has disabled it entirely at run-time (ie, socket(3) returns EAFNOSUPPORT when we try to create an AF_INET6 socket). The run-time address family setting is made available in the global variable nsm_family. This setting can control the family of the socket's bind address and what kind of addresses we want returned by smn_lookup(). Support for that is added in subsequent patches. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'utils/statd/callback.c')
0 files changed, 0 insertions, 0 deletions