Change ports from guint16 to guint32

svn path=/trunk/; revision=1421
This commit is contained in:
Gilbert Ramirez 2000-01-05 21:48:16 +00:00
parent 24fb5d5651
commit b9343202d7
2 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
/* conversation.c
* Routines for building lists of packets that are part of a "conversation"
*
* $Id: conversation.c,v 1.5 1999/11/14 21:16:58 guy Exp $
* $Id: conversation.c,v 1.6 2000/01/05 21:48:16 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -51,8 +51,8 @@ typedef struct conversation_key {
address src;
address dst;
port_type ptype;
guint16 port_src;
guint16 port_dst;
guint32 port_src;
guint32 port_dst;
} conversation_key;
/*
@ -226,7 +226,7 @@ copy_address(address *to, address *from)
*/
conversation_t *
conversation_new(address *src, address *dst, port_type ptype,
guint16 src_port, guint16 dst_port, void *data)
guint32 src_port, guint32 dst_port, void *data)
{
conversation_t *conversation;
conversation_key *new_key;
@ -256,7 +256,7 @@ conversation_new(address *src, address *dst, port_type ptype,
*/
conversation_t *
find_conversation(address *src, address *dst, port_type ptype,
guint16 src_port, guint16 dst_port)
guint32 src_port, guint32 dst_port)
{
conversation_key key;

View File

@ -1,7 +1,7 @@
/* conversation.h
* Routines for building lists of packets that are part of a "conversation"
*
* $Id: conversation.h,v 1.3 1999/10/29 01:04:17 guy Exp $
* $Id: conversation.h,v 1.4 2000/01/05 21:48:16 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -37,8 +37,8 @@ typedef struct conversation {
extern void conversation_init(void);
conversation_t *conversation_new(address *src, address *dst, port_type ptype,
guint16 src_port, guint16 dst_port, void *data);
guint32 src_port, guint32 dst_port, void *data);
conversation_t *find_conversation(address *src, address *dst, port_type ptype,
guint16 src_port, guint16 dst_port);
guint32 src_port, guint32 dst_port);
#endif /* conversation.h */