diff options
author | mpp <mpp@FreeBSD.org> | 1997-01-30 22:39:40 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1997-01-30 22:39:40 +0000 |
commit | 9a362024366f02badd3b95c43c8568c303bfc811 (patch) | |
tree | 838dfc1be267c0543db4ae4565ae622655cd8d11 /lib/libc/sys/nfssvc.2 | |
parent | 444cbb04eefcb9a4da4e2a366541c4d02d74938d (diff) | |
download | FreeBSD-src-9a362024366f02badd3b95c43c8568c303bfc811.zip FreeBSD-src-9a362024366f02badd3b95c43c8568c303bfc811.tar.gz |
Update to reflect current include files.
Diffstat (limited to 'lib/libc/sys/nfssvc.2')
-rw-r--r-- | lib/libc/sys/nfssvc.2 | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/lib/libc/sys/nfssvc.2 b/lib/libc/sys/nfssvc.2 index 4ba2861..c789aee 100644 --- a/lib/libc/sys/nfssvc.2 +++ b/lib/libc/sys/nfssvc.2 @@ -86,10 +86,13 @@ 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 +.Pp structure. The initial call has only the .Dv NFSSVC_MNTD @@ -135,10 +138,15 @@ struct nfsd_srvargs { u_long 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_long nsd_ttl; /* credential ttl (sec) */ + NFSKERBKEY_T nsd_key; /* Session key */ }; .Ed -.sp +.Pp to enter the kernel as an .Xr nfsd 8 daemon. @@ -186,12 +194,12 @@ with the flag and a pointer to a .Bd -literal struct nfsd_args { - int sock; /* Socket to serve */ - caddr_t name; /* Client address for connection based sockets */ - int namelen; /* Length of name */ + int sock; /* Socket to serve */ + caddr_t name; /* Client address for connection based sockets */ + int namelen;/* Length of name */ }; .Ed -.sp +.Pp to pass a server side .Tn NFS socket into the kernel for servicing by the |