Skip to content

Commit

Permalink
add the rest of Graeme Lunts patch
Browse files Browse the repository at this point in the history
svn path=/trunk/; revision=16520
  • Loading branch information
Ronnie Sahlberg committed Nov 16, 2005
1 parent bde7f8d commit d71982f
Show file tree
Hide file tree
Showing 11 changed files with 13,525 additions and 0 deletions.
11 changes: 11 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -2406,6 +2406,17 @@ William Fiveash <William.Fiveash [AT] sun.com> {
Kerberos PA_ENCTYPE_INFO2 and aes crypto defines
}

Graeme Lunt <graeme.lunt [AT] smhs.co.uk> {
ROS support
RTS support
X.411 (P1) support
X.420 (P22) support
STANAG 4406 (P772) support
X.500 (DAP) support
X.500 (DSP) support
X.500 (DISP) support
}

Menno Andriesse <s5066 [AT] nc3a.nato.int> {
http://s5066.nc3a.nato.int
STANAG 5066 support
Expand Down
1 change: 1 addition & 0 deletions asn1/dap/packet-dap-template.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@

#include "packet-dsp.h"
#include "packet-dap.h"
#include <epan/strutil.h>


/* we don't have a separate dissector for X519 -
Expand Down
8 changes: 8 additions & 0 deletions epan/dissectors/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ DISSECTOR_SRC = \
packet-csm-encaps.c \
packet-cups.c \
packet-daap.c \
packet-dap.c \
packet-data.c \
packet-dccp.c \
packet-dcp.c \
Expand Down Expand Up @@ -247,11 +248,13 @@ DISSECTOR_SRC = \
packet-dis-fields.c \
packet-dis-pdus.c \
packet-diffserv-mpls-common.c \
packet-disp.c \
packet-distcc.c \
packet-dlsw.c \
packet-dnp.c \
packet-dns.c \
packet-dsi.c \
packet-dsp.c \
packet-dtp.c \
packet-dua.c \
packet-dvmrp.c \
Expand Down Expand Up @@ -628,6 +631,7 @@ DISSECTOR_SRC = \
packet-x29.c \
packet-x411.c \
packet-x420.c \
packet-x501.c \
packet-x509af.c \
packet-x509ce.c \
packet-x509if.c \
Expand Down Expand Up @@ -676,6 +680,7 @@ DISSECTOR_INCLUDES = \
packet-cmp.h \
packet-cms.h \
packet-crmf.h \
packet-dap.h \
packet-data.h \
packet-dccp.h \
packet-dcp.h \
Expand Down Expand Up @@ -710,10 +715,12 @@ DISSECTOR_INCLUDES = \
packet-ddtp.h \
packet-diameter-defs.h \
packet-diffserv-mpls-common.h \
packet-disp.h \
packet-dis-enums.h \
packet-dis-fields.h \
packet-dis-pdus.h \
packet-dns.h \
packet-dsp.h \
packet-dvmrp.h \
packet-e164.h \
packet-edonkey.h \
Expand Down Expand Up @@ -887,6 +894,7 @@ DISSECTOR_INCLUDES = \
packet-x11-keysymdef.h \
packet-x411.h \
packet-x420.h \
packet-x501.h \
packet-x509af.h \
packet-x509ce.h \
packet-x509if.h \
Expand Down
7,352 changes: 7,352 additions & 0 deletions epan/dissectors/packet-dap.c

Large diffs are not rendered by default.

104 changes: 104 additions & 0 deletions epan/dissectors/packet-dap.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
/* ./packet-dap.h */
/* ../../tools/asn2eth.py -X -b -e -p dap -c dap.cnf -s packet-dap-template dap.asn */

/* Input file: packet-dap-template.h */

/* packet-dap.h
* Routines for X.511 (X.500 Directory Access Protocol) packet dissection
* Graeme Lunt 2005
*
* $Id: packet-dap-template.h 14773 2005-06-26 10:59:15Z etxrab $
*
* 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_DAP_H
#define PACKET_DAP_H


/*--- Included file: packet-dap-exp.h ---*/

extern const value_string dap_ContextSelection_vals[];
extern const value_string dap_DirectoryBindError_vals[];
extern const value_string dap_ReadArgument_vals[];
extern const value_string dap_ReadResult_vals[];
extern const value_string dap_CompareArgument_vals[];
extern const value_string dap_CompareResult_vals[];
extern const value_string dap_AbandonArgument_vals[];
extern const value_string dap_AbandonResult_vals[];
extern const value_string dap_ListArgument_vals[];
extern const value_string dap_ListResult_vals[];
extern const value_string dap_SearchArgument_vals[];
extern const value_string dap_SearchResult_vals[];
extern const value_string dap_AddEntryArgument_vals[];
extern const value_string dap_AddEntryResult_vals[];
extern const value_string dap_RemoveEntryArgument_vals[];
extern const value_string dap_RemoveEntryResult_vals[];
extern const value_string dap_ModifyEntryArgument_vals[];
extern const value_string dap_ModifyEntryResult_vals[];
extern const value_string dap_EntryModification_vals[];
extern const value_string dap_ModifyDNResult_vals[];
extern const value_string dap_Abandoned_vals[];
extern const value_string dap_AbandonFailedError_vals[];
extern const value_string dap_AttributeError_vals[];
extern const value_string dap_NameError_vals[];
extern const value_string dap_Referral_vals[];
extern const value_string dap_SecurityError_vals[];
extern const value_string dap_ServiceError_vals[];
extern const value_string dap_UpdateError_vals[];
int dissect_dap_CommonResults(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_ContextSelection(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_SecurityParameters(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_DirectoryBindArgument(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_DirectoryBindError(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_ReadArgument(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_ReadResult(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_CompareArgument(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_CompareResult(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_AbandonArgument(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_AbandonResult(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_ListArgument(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_ListResult(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_SearchArgument(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_SearchResult(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_AddEntryArgument(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_AddEntryResult(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_RemoveEntryArgument(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_RemoveEntryResult(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_ModifyEntryArgument(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_ModifyEntryResult(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_EntryModification(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_ModifyDNArgument(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_ModifyDNResult(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_Abandoned(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_AbandonFailedError(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_AttributeError(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_NameError(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_Referral(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_SecurityError(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_ServiceError(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_UpdateError(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
int dissect_dap_OperationalBindingID(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);

/*--- End of included file: packet-dap-exp.h ---*/


#endif /* PACKET_DAP_H */
Loading

0 comments on commit d71982f

Please sign in to comment.