2 * h225-persistentdata.h
3 * Definitions for lists and hash tables used in wireshark's h225 dissector
4 * for calculation of delays in h225-calls
6 * Copyright 2003 Lars Roland
10 * Wireshark - Network traffic analyzer
11 * By Gerald Combs <gerald@wireshark.org>
12 * Copyright 1998 Gerald Combs
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
33 #include <epan/packet.h>
34 #include <epan/conversation.h>
37 /* Item of ras request list*/
38 typedef struct _h225ras_call_t
{
39 guint32 requestSeqNum
;
41 guint32 req_num
; /* frame number request seen */
42 guint32 rsp_num
; /* frame number response seen */
43 nstime_t req_time
; /* arrival time of request */
44 gboolean responded
; /* true, if request has been responded */
45 struct _h225ras_call_t
*next_call
; /* pointer to next ras request with same SequenceNumber and conversation handle */
49 /* Item of ras-request key list*/
50 typedef struct _h225ras_call_info_key
{
52 conversation_t
*conversation
;
53 } h225ras_call_info_key
;
55 /* functions, needed using ras-request and halfcall matching*/
56 h225ras_call_t
* find_h225ras_call(h225ras_call_info_key
*h225ras_call_key
,int category
);
57 h225ras_call_t
* new_h225ras_call(h225ras_call_info_key
*h225ras_call_key
, packet_info
*pinfo
, e_guid_t
*guid
, int category
);
58 h225ras_call_t
* append_h225ras_call(h225ras_call_t
*prev_call
, packet_info
*pinfo
, e_guid_t
*guid
, int category
);
60 void h225_init_routine(void); /* init routine, used by wireshark */
62 #endif /* __h225_HASH__*/