diff options
author | alfred <alfred@FreeBSD.org> | 2002-07-15 19:40:23 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-07-15 19:40:23 +0000 |
commit | df766765ba15b2a418b09b713353a763a1c12909 (patch) | |
tree | 08c1766490b20ea5dcdd86157dd05bf33f410b18 /sys/nfsclient/nfs_lock.h | |
parent | c559b8902789e64b5a4b1e482f230e933cda7198 (diff) | |
download | FreeBSD-src-df766765ba15b2a418b09b713353a763a1c12909.zip FreeBSD-src-df766765ba15b2a418b09b713353a763a1c12909.tar.gz |
Add IPv6 support.
Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
Diffstat (limited to 'sys/nfsclient/nfs_lock.h')
-rw-r--r-- | sys/nfsclient/nfs_lock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_lock.h b/sys/nfsclient/nfs_lock.h index 9de041d..af99bc5 100644 --- a/sys/nfsclient/nfs_lock.h +++ b/sys/nfsclient/nfs_lock.h @@ -58,7 +58,7 @@ struct lockd_msg_ident { int msg_seq; /* Sequence number of message */ }; -#define LOCKD_MSG_VERSION 1 +#define LOCKD_MSG_VERSION 2 /* * The structure that the kernel hands us for each lock request. @@ -69,7 +69,7 @@ typedef struct __lock_msg { struct flock lm_fl; /* The lock request. */ int lm_wait; /* The F_WAIT flag. */ int lm_getlk; /* is this a F_GETLK request */ - struct sockaddr lm_addr; /* The address. */ + struct sockaddr_storage lm_addr; /* The address. */ int lm_nfsv3; /* If NFS version 3. */ size_t lm_fh_len; /* The file handle length. */ struct ucred lm_cred; /* user cred for lock req */ |