![Anders Broman](/assets/img/avatar_default.png)
The ftbp.patch file includes: a) A fix to acse.cnf which works around an asn2eth bug (it is the AE-qualifier EXPORT I want, but asn2eth doesn't generate the appropriate extern for the values). Also a small cosmetic change for EXTERNAL decodings. b) New EXPORTs for the FTAM dissector for use in FTBP. c) A fix to asn2eth to solve the problem if you EXPORT types that include a '-' character in the name (e.g. "AE-qualifier" from acse.cnf, "Date-and-Time-Attribute" from ftam.cnf). The problem is that asn2eth generates the "xxxx-exp.cnf" file using the 'C' name (which has replaced '-' with '_') rather than the original 'ASN' name. The fix just undoes the replacement as I couldn't see the original name being preserved anywhere. There still remains a problem if the type has a '.' in the name - but generally I don't think they do. * Better ROS handling and registration * Simplified RTSE registration * X411 column information, extension naming and use of new RTSE/ROS registration * X420 notification extensions, warnings removal and export of ExtensionsField (missed from recent FTBP patch). * Better highlighting of S4406 protocol. svn path=/trunk/; revision=16296
53 lines
1.6 KiB
C
53 lines
1.6 KiB
C
/* packet-ros.h
|
|
* Routines for ROS packet dissection
|
|
* Graeme Lunt 2005
|
|
*
|
|
* $Id$
|
|
*
|
|
* Ethereal - Network traffic analyzer
|
|
* By Gerald Combs <gerald@ethereal.com>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef PACKET_ROS_H
|
|
#define PACKET_ROS_H
|
|
|
|
#include "packet-ros-exp.h"
|
|
|
|
# include "packet-ses.h"
|
|
|
|
/* for use in the SESSION_DATA_STRUCTURE ros_op argument
|
|
top byte indicates ROS invocation
|
|
bottom three bytes indicate operation code */
|
|
|
|
# define ROS_OP_MASK 0xff000000
|
|
|
|
# define ROS_OP_ARGUMENT 0x10000000
|
|
# define ROS_OP_RESULT 0x20000000
|
|
# define ROS_OP_ERROR 0x30000000
|
|
# define ROS_OP_REJECT 0x40000000
|
|
|
|
# define ROS_OP_BIND 0x01000000
|
|
# define ROS_OP_UNBIND 0x02000000
|
|
# define ROS_OP_INVOKE 0x03000000
|
|
|
|
# define ROS_OP_OPCODE_MASK (~ROS_OP_MASK)
|
|
|
|
void register_ros_oid_dissector_handle(const char *oid, dissector_handle_t dissector, int proto _U_, const char *name, gboolean uses_rtse);
|
|
|
|
#endif /* PACKET_ROS_H */
|