1999-11-18 07:29:55 +00:00
|
|
|
/* packet-snmp.h
|
|
|
|
* Exported routines for SNMP (simple network management protocol)
|
|
|
|
* D.Jorand (c) 1998
|
|
|
|
*
|
2000-02-15 21:06:58 +00:00
|
|
|
* $Id: packet-snmp.h,v 1.3 2000/02/15 21:03:10 gram Exp $
|
1999-11-18 07:29:55 +00:00
|
|
|
*
|
|
|
|
* Ethereal - Network traffic analyzer
|
2000-01-07 22:05:43 +00:00
|
|
|
* By Gerald Combs <gerald@zing.org>
|
1999-11-18 07:29:55 +00:00
|
|
|
* Copyright 1998 Didier Jorand
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2000-02-15 21:06:58 +00:00
|
|
|
void dissect_snmp(const u_char *, int, frame_data *, proto_tree *);
|
|
|
|
|
1999-11-18 07:29:55 +00:00
|
|
|
/*
|
|
|
|
* Guts of the SNMP dissector - exported for use by protocols such as
|
|
|
|
* ILMI.
|
|
|
|
*/
|
|
|
|
void dissect_snmp_pdu(const u_char *, int, frame_data *, proto_tree *tree,
|
|
|
|
char *, int, gint);
|