diff options
-rw-r--r-- | epan/packet_info.c | 4 | ||||
-rw-r--r-- | epan/packet_info.h | 4 | ||||
-rw-r--r-- | packet-afs.c | 4 | ||||
-rw-r--r-- | packet-nbns.c | 4 | ||||
-rw-r--r-- | packet-rlogin.c | 4 | ||||
-rw-r--r-- | packet-rx.c | 4 | ||||
-rw-r--r-- | packet-smb-mailslot.c | 4 | ||||
-rw-r--r-- | packet-smb-pipe.c | 8 | ||||
-rw-r--r-- | packet-smb.c | 4 | ||||
-rw-r--r-- | packet-tcp.c | 6 |
10 files changed, 23 insertions, 23 deletions
diff --git a/epan/packet_info.c b/epan/packet_info.c index f5a7307051..68d6aae5eb 100644 --- a/epan/packet_info.c +++ b/epan/packet_info.c @@ -1,7 +1,7 @@ /* packet_info.c * Routines for handling packet information * - * $Id: packet_info.c,v 1.3 2001/10/01 08:29:37 guy Exp $ + * $Id: packet_info.c,v 1.4 2001/11/03 00:58:52 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -47,7 +47,7 @@ void blank_packetinfo(void) pi.destport = 0; pi.current_proto = "<Missing Protocol Name>"; pi.p2p_dir = P2P_DIR_UNKNOWN; - pi.private = NULL; + pi.private_data = NULL; } diff --git a/epan/packet_info.h b/epan/packet_info.h index 218aa92550..6b603117ee 100644 --- a/epan/packet_info.h +++ b/epan/packet_info.h @@ -1,7 +1,7 @@ /* packet_info.h * Definitions for packet info structures and routines * - * $Id: packet_info.h,v 1.7 2001/10/01 08:29:37 guy Exp $ + * $Id: packet_info.h,v 1.8 2001/11/03 00:58:52 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -115,7 +115,7 @@ typedef struct _packet_info { int iplen; int iphdrlen; int p2p_dir; - void *private; /* pointer to data passed from one dissector to another */ + void *private_data; /* pointer to data passed from one dissector to another */ } packet_info; void blank_packetinfo(void); diff --git a/packet-afs.c b/packet-afs.c index 83868488ef..7e7709dd64 100644 --- a/packet-afs.c +++ b/packet-afs.c @@ -8,7 +8,7 @@ * Portions based on information/specs retrieved from the OpenAFS sources at * www.openafs.org, Copyright IBM. * - * $Id: packet-afs.c,v 1.34 2001/09/03 10:33:05 guy Exp $ + * $Id: packet-afs.c,v 1.35 2001/11/03 00:58:49 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -184,7 +184,7 @@ afs_init_protocol(void) static void dissect_afs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - struct rxinfo *rxinfo = pinfo->private; + struct rxinfo *rxinfo = pinfo->private_data; int reply = 0; conversation_t *conversation; struct afs_request_key request_key, *new_request_key; diff --git a/packet-nbns.c b/packet-nbns.c index 10148eaf59..b47748d002 100644 --- a/packet-nbns.c +++ b/packet-nbns.c @@ -4,7 +4,7 @@ * Gilbert Ramirez <gram@xiexie.org> * Much stuff added by Guy Harris <guy@alum.mit.edu> * - * $Id: packet-nbns.c,v 1.62 2001/10/12 01:41:03 guy Exp $ + * $Id: packet-nbns.c,v 1.63 2001/11/03 00:58:49 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1504,7 +1504,7 @@ dissect_nbss_packet(tvbuff_t *tvb, int offset, packet_info *pinfo, static void dissect_nbss(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - struct tcpinfo *tcpinfo = pinfo->private; + struct tcpinfo *tcpinfo = pinfo->private_data; int offset = 0; int max_data; guint8 msg_type; diff --git a/packet-rlogin.c b/packet-rlogin.c index 503c189d86..c047504abe 100644 --- a/packet-rlogin.c +++ b/packet-rlogin.c @@ -2,7 +2,7 @@ * Routines for unix rlogin packet dissection * Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com> * - * $Id: packet-rlogin.c,v 1.21 2001/10/01 08:29:35 guy Exp $ + * $Id: packet-rlogin.c,v 1.22 2001/11/03 00:58:49 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -341,7 +341,7 @@ static void rlogin_display( rlogin_hash_entry_t *hash_info, tvbuff_t *tvb, static void dissect_rlogin(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - struct tcpinfo *tcpinfo = pinfo->private; + struct tcpinfo *tcpinfo = pinfo->private_data; conversation_t *conversation; rlogin_hash_entry_t *hash_info; guint length; diff --git a/packet-rx.c b/packet-rx.c index 147adc51ec..cdb332de15 100644 --- a/packet-rx.c +++ b/packet-rx.c @@ -4,7 +4,7 @@ * Based on routines from tcpdump patches by * Ken Hornstein <kenh@cmf.nrl.navy.mil> * - * $Id: packet-rx.c,v 1.26 2001/09/14 07:10:05 guy Exp $ + * $Id: packet-rx.c,v 1.27 2001/11/03 00:58:49 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -542,7 +542,7 @@ dissect_rx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) break; case RX_PACKET_TYPE_DATA: { tvbuff_t *next_tvb; - pinfo->private = &rxinfo; + pinfo->private_data = &rxinfo; next_tvb = tvb_new_subset(tvb, offset, -1, -1); call_dissector(afs_handle, next_tvb, pinfo, parent_tree); }; diff --git a/packet-smb-mailslot.c b/packet-smb-mailslot.c index f35044abec..06693ccff3 100644 --- a/packet-smb-mailslot.c +++ b/packet-smb-mailslot.c @@ -2,7 +2,7 @@ * Routines for SMB mailslot packet dissection * Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com> * - * $Id: packet-smb-mailslot.c,v 1.18 2001/10/04 23:19:01 guy Exp $ + * $Id: packet-smb-mailslot.c,v 1.19 2001/11/03 00:58:49 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -56,7 +56,7 @@ gboolean dissect_mailslot_smb(tvbuff_t *setup_tvb, tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) { - struct smb_info *smb_info = pinfo->private; + struct smb_info *smb_info = pinfo->private_data; proto_tree *tree = 0; proto_item *item; tvbuff_t *next_tvb = NULL; diff --git a/packet-smb-pipe.c b/packet-smb-pipe.c index 041bd3d4f3..7ac1e310e7 100644 --- a/packet-smb-pipe.c +++ b/packet-smb-pipe.c @@ -8,7 +8,7 @@ XXX Fixme : shouldnt show [malformed frame] for long packets * significant rewrite to tvbuffify the dissector, Ronnie Sahlberg and * Guy Harris 2001 * - * $Id: packet-smb-pipe.c,v 1.37 2001/10/26 10:14:43 guy Exp $ + * $Id: packet-smb-pipe.c,v 1.38 2001/11/03 00:58:49 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -365,7 +365,7 @@ static int add_detail_level(tvbuff_t *tvb, int offset, int count, packet_info *pinfo, proto_tree *tree, int convert, int hf_index) { - struct smb_info *smb_info = pinfo->private; + struct smb_info *smb_info = pinfo->private_data; struct smb_request_val *request_val = smb_info->request_val; guint16 level; @@ -1955,7 +1955,7 @@ dissect_response_data(tvbuff_t *tvb, packet_info *pinfo, int convert, static gboolean dissect_pipe_lanman(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) { - struct smb_info *smb_info = pinfo->private; + struct smb_info *smb_info = pinfo->private_data; struct smb_request_val *request_val = smb_info->request_val; int parameter_count = smb_info->parameter_count; int offset = 0, start_offset; @@ -2221,7 +2221,7 @@ dissect_pipe_lanman(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) gboolean dissect_pipe_smb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - struct smb_info *smb_info = pinfo->private; + struct smb_info *smb_info = pinfo->private_data; if (!proto_is_protocol_enabled(proto_smb_lanman)) return FALSE; diff --git a/packet-smb.c b/packet-smb.c index 79e914f87b..396916f137 100644 --- a/packet-smb.c +++ b/packet-smb.c @@ -2,7 +2,7 @@ * Routines for smb packet dissection * Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com> * - * $Id: packet-smb.c,v 1.122 2001/10/20 19:29:21 guy Exp $ + * $Id: packet-smb.c,v 1.123 2001/11/03 00:58:49 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -10398,7 +10398,7 @@ dissect_transact_params(const u_char *pd, int offset, frame_data *fd, /* * Pass "si" to the subdissector. */ - pinfo->private = &si; + pinfo->private_data = &si; /* * Tvbuff for setup area, for mailslot call. diff --git a/packet-tcp.c b/packet-tcp.c index 5a1f24f234..03255ca1a5 100644 --- a/packet-tcp.c +++ b/packet-tcp.c @@ -1,7 +1,7 @@ /* packet-tcp.c * Routines for TCP packet disassembly * - * $Id: packet-tcp.c,v 1.112 2001/10/30 22:22:26 guy Exp $ + * $Id: packet-tcp.c,v 1.113 2001/11/03 00:58:50 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -250,7 +250,7 @@ desegment_tcp(tvbuff_t *tvb, packet_info *pinfo, int offset, guint32 sport, guint32 dport, proto_tree *tree, proto_tree *tcp_tree) { - struct tcpinfo *tcpinfo = pinfo->private; + struct tcpinfo *tcpinfo = pinfo->private_data; fragment_data *ipfd_head; tcp_segment_key old_tsk, *tsk; gboolean must_desegment = FALSE; @@ -969,7 +969,7 @@ dissect_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Assume we'll pass un-reassembled data to subdissectors. */ tcpinfo.is_reassembled = FALSE; - pinfo->private = &tcpinfo; + pinfo->private_data = &tcpinfo; /* * Assume, initially, that we can't desegment. |