Reinsert h450 dissection
svn path=/trunk/; revision=13100
This commit is contained in:
parent
b33945c4b0
commit
eee54467b1
|
@ -1,6 +1,6 @@
|
||||||
/* Do not modify this file. */
|
/* Do not modify this file. */
|
||||||
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
|
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
|
||||||
/* ./packet-h225.c */
|
/* .\packet-h225.c */
|
||||||
/* ../../tools/asn2eth.py -X -e -p h225 -c h225.cnf -s packet-h225-template h225.asn */
|
/* ../../tools/asn2eth.py -X -e -p h225 -c h225.cnf -s packet-h225-template h225.asn */
|
||||||
|
|
||||||
/* Input file: packet-h225-template.c */
|
/* Input file: packet-h225-template.c */
|
||||||
|
@ -60,6 +60,7 @@
|
||||||
#include "packet-ber.h"
|
#include "packet-ber.h"
|
||||||
#include "packet-h235.h"
|
#include "packet-h235.h"
|
||||||
#include "packet-h245.h"
|
#include "packet-h245.h"
|
||||||
|
#include "packet-q931.h"
|
||||||
|
|
||||||
#define PNAME "h225"
|
#define PNAME "h225"
|
||||||
#define PSNAME "H225"
|
#define PSNAME "H225"
|
||||||
|
@ -124,7 +125,7 @@ static int hf_h225_setupAcknowledge = -1; /* SetupAcknowledge_UUIE */
|
||||||
static int hf_h225_notify = -1; /* Notify_UUIE */
|
static int hf_h225_notify = -1; /* Notify_UUIE */
|
||||||
static int hf_h225_nonStandardData = -1; /* NonStandardParameter */
|
static int hf_h225_nonStandardData = -1; /* NonStandardParameter */
|
||||||
static int hf_h225_h4501SupplementaryService = -1; /* SEQUNCE_OF_OCTET_STRING */
|
static int hf_h225_h4501SupplementaryService = -1; /* SEQUNCE_OF_OCTET_STRING */
|
||||||
static int hf_h225_h4501SupplementaryService_item = -1; /* OCTET_STRING */
|
static int hf_h225_h4501SupplementaryService_item = -1; /* T_h4501SupplementaryService_item */
|
||||||
static int hf_h225_h245Tunneling = -1; /* BOOLEAN */
|
static int hf_h225_h245Tunneling = -1; /* BOOLEAN */
|
||||||
static int hf_h225_h245Control = -1; /* H245Control */
|
static int hf_h225_h245Control = -1; /* H245Control */
|
||||||
static int hf_h225_nonStandardControl = -1; /* SEQUNCE_OF_NonStandardParameter */
|
static int hf_h225_nonStandardControl = -1; /* SEQUNCE_OF_NonStandardParameter */
|
||||||
|
@ -2119,9 +2120,6 @@ dissect_h225_OCTET_STRING(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, pro
|
||||||
|
|
||||||
return offset;
|
return offset;
|
||||||
}
|
}
|
||||||
static int dissect_h4501SupplementaryService_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) {
|
|
||||||
return dissect_h225_OCTET_STRING(tvb, offset, pinfo, tree, hf_h225_h4501SupplementaryService_item);
|
|
||||||
}
|
|
||||||
static int dissect_messageContent_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) {
|
static int dissect_messageContent_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) {
|
||||||
return dissect_h225_OCTET_STRING(tvb, offset, pinfo, tree, hf_h225_messageContent_item);
|
return dissect_h225_OCTET_STRING(tvb, offset, pinfo, tree, hf_h225_messageContent_item);
|
||||||
}
|
}
|
||||||
|
@ -5851,6 +5849,27 @@ static int dissect_h323_message_body(tvbuff_t *tvb, int offset, packet_info *pin
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static int
|
||||||
|
dissect_h225_T_h4501SupplementaryService_item(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) {
|
||||||
|
|
||||||
|
tvbuff_t *h4501_tvb;
|
||||||
|
guint32 h4501_offset=0;
|
||||||
|
guint32 h4501_len=0;
|
||||||
|
|
||||||
|
offset=dissect_per_octet_string(tvb, offset, pinfo, tree, -1, -1, -1, &h4501_offset, &h4501_len);
|
||||||
|
|
||||||
|
if(h4501_len){
|
||||||
|
h4501_tvb = tvb_new_subset(tvb, h4501_offset, h4501_len, h4501_len);
|
||||||
|
call_dissector(h4501_handle, h4501_tvb, pinfo, tree);
|
||||||
|
}
|
||||||
|
|
||||||
|
return offset;
|
||||||
|
}
|
||||||
|
static int dissect_h4501SupplementaryService_item(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) {
|
||||||
|
return dissect_h225_T_h4501SupplementaryService_item(tvb, offset, pinfo, tree, hf_h225_h4501SupplementaryService_item);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
dissect_h225_SEQUNCE_OF_OCTET_STRING(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) {
|
dissect_h225_SEQUNCE_OF_OCTET_STRING(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) {
|
||||||
offset = dissect_per_sequence_of(tvb, offset, pinfo, tree, hf_index,
|
offset = dissect_per_sequence_of(tvb, offset, pinfo, tree, hf_index,
|
||||||
|
@ -6290,7 +6309,6 @@ dissect_h225_RequestSeqNum(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, pr
|
||||||
1U, 65535U, &(h225_pi.requestSeqNum), NULL, FALSE);
|
1U, 65535U, &(h225_pi.requestSeqNum), NULL, FALSE);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return offset;
|
return offset;
|
||||||
}
|
}
|
||||||
static int dissect_requestSeqNum(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) {
|
static int dissect_requestSeqNum(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) {
|
||||||
|
@ -8785,7 +8803,7 @@ void proto_register_h225(void) {
|
||||||
"H323-UserInformation/user-data", HFILL }},
|
"H323-UserInformation/user-data", HFILL }},
|
||||||
{ &hf_h225_protocol_discriminator,
|
{ &hf_h225_protocol_discriminator,
|
||||||
{ "protocol-discriminator", "h225.protocol_discriminator",
|
{ "protocol-discriminator", "h225.protocol_discriminator",
|
||||||
FT_UINT32, BASE_DEC, NULL, 0,
|
FT_UINT32, BASE_DEC, VALS(q931_protocol_discriminator_vals), 0,
|
||||||
"H323-UserInformation/user-data/protocol-discriminator", HFILL }},
|
"H323-UserInformation/user-data/protocol-discriminator", HFILL }},
|
||||||
{ &hf_h225_user_information,
|
{ &hf_h225_user_information,
|
||||||
{ "user-information", "h225.user_information",
|
{ "user-information", "h225.user_information",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* Do not modify this file. */
|
/* Do not modify this file. */
|
||||||
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
|
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
|
||||||
/* ./packet-h225.h */
|
/* .\packet-h225.h */
|
||||||
/* ../../tools/asn2eth.py -X -e -p h225 -c h225.cnf -s packet-h225-template h225.asn */
|
/* ../../tools/asn2eth.py -X -e -p h225 -c h225.cnf -s packet-h225-template h225.asn */
|
||||||
|
|
||||||
/* Input file: packet-h225-template.h */
|
/* Input file: packet-h225-template.h */
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,42 @@
|
||||||
|
/* Do not modify this file. */
|
||||||
|
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
|
||||||
|
/* .\packet-h450.h */
|
||||||
|
/* ../../tools/asn2eth.py -X -e -p h450 -c h450.cnf -s packet-h450-template h4501.asn */
|
||||||
|
|
||||||
|
/* Input file: packet-h450-template.h */
|
||||||
|
|
||||||
|
/* packet-h450.h
|
||||||
|
* Routines for h450 packet dissection
|
||||||
|
* Copyright 2005, Anders Broman <anders.broman@ericsson.com>
|
||||||
|
*
|
||||||
|
* $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_H450_H
|
||||||
|
#define PACKET_H450_H
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*#include "packet-H450-exp.h" */
|
||||||
|
|
||||||
|
#endif /* PACKET_H450_H */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue