summaryrefslogtreecommitdiff
path: root/lib/libc/sys/nfssvc.2
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-03-31 02:30:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-03-31 02:30:27 +0000
commitecd0537724b58564fc42626180098646f366c4e1 (patch)
tree7b11af6cb9d4e4cac918f751b7a51dadc96c58db /lib/libc/sys/nfssvc.2
parent3b462aed6cfbe74f3925f1c9ea4a59be008f210f (diff)
sync to nfs.h
Diffstat (limited to 'lib/libc/sys/nfssvc.2')
-rw-r--r--lib/libc/sys/nfssvc.214
1 files changed, 11 insertions, 3 deletions
diff --git a/lib/libc/sys/nfssvc.2 b/lib/libc/sys/nfssvc.2
index 297472162c1..7eb655aca64 100644
--- a/lib/libc/sys/nfssvc.2
+++ b/lib/libc/sys/nfssvc.2
@@ -88,7 +88,10 @@ struct nfsd_cargs {
uid_t ncd_authuid; /* Effective uid */
int ncd_authtype; /* Type of authenticator */
int ncd_authlen; /* Length of authenticator string */
- char *ncd_authstr; /* Authenticator string */
+ u_char *ncd_authstr; /* Authenticator string */
+ int ncd_verflen; /* and the verifier */
+ u_char *ncd_verfstr;
+ NFSKERBKEY_T ncd_key; /* Session key */
};
.Ed
.sp
@@ -134,10 +137,15 @@ and a pointer to a
struct nfsd_srvargs {
struct nfsd *nsd_nfsd; /* Pointer to in kernel nfsd struct */
uid_t nsd_uid; /* Effective uid mapped to cred */
- u_long nsd_haddr; /* Ip address of client */
+ u_int32_t nsd_haddr; /* Ip address of client */
struct ucred nsd_cr; /* Cred. uid maps to */
int nsd_authlen; /* Length of auth string (ret) */
- char *nsd_authstr; /* Auth string (ret) */
+ u_char *nsd_authstr; /* Auth string (ret) */
+ int nsd_verflen; /* and the verfier */
+ u_char *nsd_verfstr;
+ struct timeval nsd_timestamp; /* timestamp from verifier */
+ u_int32_t nsd_ttl; /* credential ttl (sec) */
+ NFSKERBKEY_T nsd_key; /* Session key */
};
.Ed
.sp