Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/gtk main.c packet_win.c

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 18 May 2000 04:09:10 -0500 (CDT)
guy         2000/05/18 04:08:50 CDT

  Modified files:
    gtk                  main.c packet_win.c 
  Log:
  Remove the "union pseudo_header" from the "frame_data" structure;
  there's no need to keep it around in memory - when the frame data is
  read in when handing a frame, read in the information, if any, necessary
  to reconstruct the frame header, and reconstruct it.  This saves some
  memory.
  
  This requires that the seek-and-read function be implemented inside
  Wiretap, and that the Wiretap handle remain open even after we've
  finished reading the file sequentially.
  
  This also points out that we can't really do X.25-over-Ethernet
  correctly, as we don't know where the direction (DTE->DCE or DCE->DTE)
  flag is stored; it's not clear how the Ethernet type 0x0805 for X.25
  Layer 3 is supposed to be handled in any case.  We eliminate
  X.25-over-Ethernet support (until we find out what we're supposed to
  do).
  
  Revision  Changes    Path
  1.119     +1 -10     ethereal/gtk/main.c
  1.7       +5 -2      ethereal/gtk/packet_win.c