* Uwe Girlich <uwe@planetquake.com>
* http://www.idsoftware.com/q1source/q1source.zip
*
- * $Id: packet-quake.c,v 1.25 2002/01/24 09:20:50 guy Exp $
+ * $Id: packet-quake.c,v 1.26 2002/04/02 06:28:16 girlich Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
static void
dissect_quake_CCREQ_CONNECT
-(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+(tvbuff_t *tvb, proto_tree *tree)
{
gint maxbufsize;
char game[QUAKE_MAXSTRING];
static void
dissect_quake_CCREQ_SERVER_INFO
-(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+(tvbuff_t *tvb, proto_tree *tree)
{
gint maxbufsize;
char game[QUAKE_MAXSTRING];
static void
dissect_quake_CCREQ_PLAYER_INFO
-(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+(tvbuff_t *tvb, proto_tree *tree)
{
guint8 player;
static void
dissect_quake_CCREQ_RULE_INFO
-(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+(tvbuff_t *tvb, proto_tree *tree)
{
char rule[QUAKE_MAXSTRING];
gint maxbufsize;
static void
dissect_quake_CCREP_REJECT
-(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+(tvbuff_t *tvb, proto_tree *tree)
{
gint maxbufsize;
char reason[QUAKE_MAXSTRING];
static void
dissect_quake_CCREP_SERVER_INFO
-(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+(tvbuff_t *tvb, proto_tree *tree)
{
gint offset;
gint len;
static void
dissect_quake_CCREP_PLAYER_INFO
-(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+(tvbuff_t *tvb, proto_tree *tree)
{
gint offset;
guint8 player;
static void
dissect_quake_CCREP_RULE_INFO
-(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+(tvbuff_t *tvb, proto_tree *tree)
{
char rule[QUAKE_MAXSTRING];
char value[QUAKE_MAXSTRING];
switch (command) {
case CCREQ_CONNECT:
dissect_quake_CCREQ_CONNECT
- (next_tvb, pinfo, control_tree);
+ (next_tvb, control_tree);
break;
case CCREQ_SERVER_INFO:
dissect_quake_CCREQ_SERVER_INFO
- (next_tvb, pinfo, control_tree);
+ (next_tvb, control_tree);
break;
case CCREQ_PLAYER_INFO:
dissect_quake_CCREQ_PLAYER_INFO
- (next_tvb, pinfo, control_tree);
+ (next_tvb, control_tree);
break;
case CCREQ_RULE_INFO:
dissect_quake_CCREQ_RULE_INFO
- (next_tvb, pinfo, control_tree);
+ (next_tvb, control_tree);
break;
case CCREP_ACCEPT:
dissect_quake_CCREP_ACCEPT
break;
case CCREP_REJECT:
dissect_quake_CCREP_REJECT
- (next_tvb, pinfo, control_tree);
+ (next_tvb, control_tree);
break;
case CCREP_SERVER_INFO:
dissect_quake_CCREP_SERVER_INFO
- (next_tvb, pinfo, control_tree);
+ (next_tvb, control_tree);
break;
case CCREP_PLAYER_INFO:
dissect_quake_CCREP_PLAYER_INFO
- (next_tvb, pinfo, control_tree);
+ (next_tvb, control_tree);
break;
case CCREP_RULE_INFO:
dissect_quake_CCREP_RULE_INFO
- (next_tvb, pinfo, control_tree);
+ (next_tvb, control_tree);
break;
default:
call_dissector(data_handle,next_tvb, pinfo, control_tree);
* http://www.dgs.monash.edu.au/~timf/bottim/
* http://www.opt-sci.Arizona.EDU/Pandora/default.asp
*
- * $Id: packet-quake2.c,v 1.9 2002/01/24 09:20:50 guy Exp $
+ * $Id: packet-quake2.c,v 1.10 2002/04/02 06:28:16 girlich Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
static void
-dissect_quake2_ConnectionlessPacket(tvbuff_t *tvb, packet_info *pinfo,
- proto_tree *tree, int direction)
+dissect_quake2_ConnectionlessPacket(tvbuff_t *tvb, packet_info *pinfo _U_,
+ proto_tree *tree, int direction _U_)
{
proto_tree *cl_tree = NULL;
proto_item *cl_item = NULL;