Added function names for all v2 and v3 functions for the SUN NFS ACL protocol stub dissector.

svn path=/trunk/; revision=5488
This commit is contained in:
Ronnie Sahlberg 2002-05-16 08:57:12 +00:00
parent a0ce004fcb
commit e39ee24b14
2 changed files with 22 additions and 1 deletions

View File

@ -600,6 +600,7 @@ Ronnie Sahlberg <sahlberg[AT]optushome.com.au> {
SAMR updates
NETLOGON implementation
LSA updates
NFS AUTH stub implementation
}
Borosa Tomislav <tomislav.borosa[AT]SIEMENS.HR> {

View File

@ -4,7 +4,7 @@
*
* Guy Harris <guy@alum.mit.edu>
*
* $Id: packet-nfsacl.c,v 1.1 2002/05/15 07:21:41 guy Exp $
* $Id: packet-nfsacl.c,v 1.2 2002/05/16 08:57:12 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -45,6 +45,14 @@ static gint ett_nfsacl = -1;
#define NFSACLPROC_NULL 0
#define NFSACLPROC2_GETACL 1
#define NFSACLPROC2_SETACL 2
#define NFSACLPROC2_GETATTR 3
#define NFSACLPROC2_ACCESS 4
#define NFSACLPROC3_GETACL 1
#define NFSACLPROC3_SETACL 2
/* proc number, "proc name", dissect_request, dissect_reply */
/* NULL as function pointer means: type of arguments is "void". */
static const vsff nfsacl1_proc[] = {
@ -56,12 +64,24 @@ static const vsff nfsacl1_proc[] = {
static const vsff nfsacl2_proc[] = {
{ NFSACLPROC_NULL, "NULL",
NULL, NULL },
{ NFSACLPROC2_GETACL, "GETACL",
NULL, NULL },
{ NFSACLPROC2_SETACL, "SETACL",
NULL, NULL },
{ NFSACLPROC2_GETATTR, "GETATTR",
NULL, NULL },
{ NFSACLPROC2_ACCESS, "ACCESS",
NULL, NULL },
{ 0, NULL, NULL, NULL }
};
static const vsff nfsacl3_proc[] = {
{ NFSACLPROC_NULL, "NULL",
NULL, NULL },
{ NFSACLPROC3_GETACL, "GETACL",
NULL, NULL },
{ NFSACLPROC3_SETACL, "SETACL",
NULL, NULL },
{ 0, NULL, NULL, NULL }
};