diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-01-03 06:56:03 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-01-03 06:56:03 +0000 |
commit | 0e7c1de08a9e6b453b47c60a698a24387d63719a (patch) | |
tree | 3d72ae6a3dba0301ae7eb98baf0c993eec9500d6 /packet-rtcp.c | |
parent | 6c75aa83f9559312b7a3d3bf5989ab6668dbd076 (diff) | |
download | wireshark-0e7c1de08a9e6b453b47c60a698a24387d63719a.tar.gz |
Have "proto_register_protocol()" build a list of data structures for
protocols, in addition to adding structures to the list of filterable
fields. Give it an extra argument that specifies a "short name" for the
protocol, for use in such places as
pinfo->current_proto;
the dialog box for constructing filters;
the preferences tab for the protocol;
and so on (although we're not yet using it in all those places).
Make the preference name that appears in the preferences file and the
command line for the DIAMETER protocol "diameter", not "Diameter"; the
convention is that the name in question be all-lower-case.
Make some routines and variables that aren't exported static.
Update a comment in the ICP dissector to make it clear that the
dissector won't see fragments other than the first fragment of a
fragmented datagram.
svn path=/trunk/; revision=2810
Diffstat (limited to 'packet-rtcp.c')
-rw-r--r-- | packet-rtcp.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packet-rtcp.c b/packet-rtcp.c index 481ce9304d..277ca5c1a2 100644 --- a/packet-rtcp.c +++ b/packet-rtcp.c @@ -179,6 +179,9 @@ static int heur_init = FALSE; static char rtcp_proto[] = "RTCP"; +static gboolean dissect_rtcp_heur( tvbuff_t *tvb, packet_info *pinfo, + proto_tree *tree ); + void rtcp_add_address( const unsigned char* ip_addr, int prt ) { address src_addr; @@ -231,7 +234,7 @@ static void rtcp_init( void ) } #endif -gboolean +static gboolean dissect_rtcp_heur( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree ) { conversation_t* pconv; @@ -1206,7 +1209,8 @@ proto_register_rtcp(void) }; - proto_rtcp = proto_register_protocol("Real-time Transport Control Protocol", "rtcp"); + proto_rtcp = proto_register_protocol("Real-time Transport Control Protocol", + "RTCP", "rtcp"); proto_register_field_array(proto_rtcp, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); |