Difference for arch/dos/ipx.c from version 1.3 to 1.4


version 1.3 version 1.4
Line 19
 
Line 19
  * Routines for IPX communications.   * Routines for IPX communications.
  *    *
  * $Log$   * $Log$
    * Revision 1.4  2003/07/01 03:31:09  donut
    * Add netgame bandwidth/packet usage to pause info display.
    *
  * Revision 1.3  2003/03/09 06:34:08  donut   * Revision 1.3  2003/03/09 06:34:08  donut
  * change byte typedef to sbyte to avoid conflict with win32 byte which is unsigned   * change byte typedef to sbyte to avoid conflict with win32 byte which is unsigned
  *   *
Line 196
 
Line 199
 #include "u_dpmi.h"  #include "u_dpmi.h"
 #include "key.h"  #include "key.h"
 #include "ipx_drv.h"  #include "ipx_drv.h"
   #include "netstats.h"
   
 typedef unsigned char BYTE;  typedef unsigned char BYTE;
 typedef unsigned short WORD;  typedef unsigned short WORD;
Line 317
 
Line 321
  memcpy( data, packet_buffers[best_id].data, size );   memcpy( data, packet_buffers[best_id].data, size );
  free_packet(best_id);   free_packet(best_id);
   
    net_stats_recv(size);
   
  return size;   return size;
 }  }
   
Line 582
 
Line 588
 // memcpy( packets[0].ipx.destination.network_id, &ipx_network, 4 );  // memcpy( packets[0].ipx.destination.network_id, &ipx_network, 4 );
  memset( packets[0].ipx.destination.network_id, 0, 4 );   memset( packets[0].ipx.destination.network_id, 0, 4 );
   
    net_stats_init(30); // IPX header overhead = 30 bytes.
  return 0;   return 0;
 }  }
   
Line 628
 
Line 635
   
  memcpy( packets[0].pd.data, data, datasize );   memcpy( packets[0].pd.data, data, datasize );
   
    net_stats_sent(datasize);
  // Send it   // Send it
  ipx_send_packet( &packets[0].ecb );   ipx_send_packet( &packets[0].ecb );
   

Legend:
line(s) removed in v.1.3 
line(s) changed
 line(s) added in v.1.4