~ubuntu-branches/ubuntu/gutsy/wireshark/gutsy-security

« back to all changes in this revision

Viewing changes to plugins/mgcp/packet-mgcp.c

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2007-04-01 08:58:40 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070401085840-or3qhrpv8alt1bwg
Tags: 0.99.5-1
* New upstream release.
* debian/patches/09_idl2wrs.dpatch: updated to patch idl2wrs.sh.in.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 *          Laboratories, Inc., http://www.PacketCable.com/
10
10
 * www.iana.org/assignments/mgcp-localconnectionoptions
11
11
 *
12
 
 * $Id: packet-mgcp.c 18212 2006-05-23 05:48:00Z etxrab $
 
12
 * $Id: packet-mgcp.c 20029 2006-12-01 18:03:45Z martinm $
13
13
 *
14
14
 * Copyright (c) 2000 by Ed Warnicke <hagbard@physics.rutgers.edu>
15
15
 * Copyright (c) 2004 by Thomas Anders <thomas.anders [AT] blue-cable.de>
136
136
static int hf_mgcp_messagecount = -1;
137
137
static int hf_mgcp_dup = -1;
138
138
static int hf_mgcp_req_dup = -1;
 
139
static int hf_mgcp_req_dup_frame = -1;
139
140
static int hf_mgcp_rsp_dup = -1;
 
141
static int hf_mgcp_rsp_dup_frame = -1;
140
142
 
141
143
static const value_string mgcp_return_code_vals[] = {
142
144
        {000, "Response Acknowledgement"},
826
828
        { &hf_mgcp_req_dup,
827
829
          { "Duplicate Request", "mgcp.req.dup", FT_UINT32, BASE_DEC, NULL, 0x0,
828
830
            "Duplicate Request", HFILL }},
 
831
        { &hf_mgcp_req_dup_frame,
 
832
          { "Original Request Frame", "mgcp.req.dup.frame", FT_FRAMENUM, BASE_NONE, NULL, 0x0,
 
833
            "Frame containing original request", HFILL }},
829
834
        { &hf_mgcp_rsp_dup,
830
835
          { "Duplicate Response", "mgcp.rsp.dup", FT_UINT32, BASE_DEC, NULL, 0x0,
831
836
            "Duplicate Response", HFILL }},
 
837
        { &hf_mgcp_rsp_dup_frame,
 
838
          { "Original Response Frame", "mgcp.rsp.dup.frame", FT_FRAMENUM, BASE_NONE, NULL, 0x0,
 
839
            "Frame containing original response", HFILL }},
832
840
    };
833
841
 
834
842
    static gint *ett[] =
1595
1603
                                                                        item = proto_tree_add_uint(tree, hf_mgcp_rsp_dup,
1596
1604
                                                                                                   tvb, 0, 0, mi->transid);
1597
1605
                                                                        PROTO_ITEM_SET_GENERATED(item);
 
1606
                                                                        item = proto_tree_add_uint(tree, hf_mgcp_rsp_dup_frame,
 
1607
                                                                                                   tvb, 0, 0, mgcp_call->rsp_num);
 
1608
                                                                        PROTO_ITEM_SET_GENERATED(item);
1598
1609
                                                                }
1599
1610
                                                        }
1600
1611
                                                }
1685
1696
                                                        proto_tree_add_uint_hidden(tree, hf_mgcp_dup, tvb, 0,0, mi->transid);
1686
1697
                                                        item = proto_tree_add_uint(tree, hf_mgcp_req_dup, tvb, 0,0, mi->transid);
1687
1698
                                                        PROTO_ITEM_SET_GENERATED(item);
 
1699
                                                        item = proto_tree_add_uint(tree, hf_mgcp_req_dup_frame, tvb, 0,0, mi->req_num);
 
1700
                                                        PROTO_ITEM_SET_GENERATED(item);
1688
1701
                                                }
1689
1702
                                        }
1690
1703
                                }