Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan proto.c tvbuff.c tvbuff.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: sahlberg@xxxxxxxxxxxx (Ronnie Sahlberg)
Date: Tue, 2 Dec 2003 04:23:18 -0600 (CST)
sahlberg    2003/12/02 04:23:18 CST

  Modified files:
    epan                 proto.c tvbuff.c tvbuff.h 
  Log:
  Move the definition of the tvbuff_t structure and friends to tvbuff.h
  so that we can change tvb_get_ds_tvb() into a macro.
  
  This function was a single line assignment and was called a lot.
  
  This made tethereal ~2.5% faster in one testcase I use.
  
  Revision  Changes    Path
  1.119     +3 -6      ethereal/epan/proto.c
  1.52      +1 -68     ethereal/epan/tvbuff.c
  1.35      +68 -6     ethereal/epan/tvbuff.h