Difference for arch/linux/ipx_bsd.c from version 1.2 to 1.3


version 1.2 version 1.3
Line 19
 
Line 19
   
 #include "ipx_drv.h"  #include "ipx_drv.h"
 #include "ipx_bsd.h"  #include "ipx_bsd.h"
   #include "netstats.h"
   
 #ifndef DOSEMU  #ifndef DOSEMU
 #include "mono.h"  #include "mono.h"
Line 170
 
Line 171
   
   ipx_bsd_GetMyAddress();    ipx_bsd_GetMyAddress();
   
     net_stats_init(30); // IPX header overhead = 30 bytes.
   return 0;    return 0;
 }  }
   
Line 196
 
Line 198
   ipxs.sipx_port=htons(mysock.socket);    ipxs.sipx_port=htons(mysock.socket);
   ipxs.sipx_type = IPXHeader->PacketType;    ipxs.sipx_type = IPXHeader->PacketType;
   /* ipxs.sipx_port=htons(0x452); */    /* ipxs.sipx_port=htons(0x452); */
     net_stats_sent(dataLen);
   return sendto(mysock.fd, data, dataLen, 0,    return sendto(mysock.fd, data, dataLen, 0,
       (struct sockaddr *) &ipxs, sizeof(ipxs));        (struct sockaddr *) &ipxs, sizeof(ipxs));
 }  }
Line 215
 
Line 218
  rd->dst_socket = mysock.socket;   rd->dst_socket = mysock.socket;
  rd->pkt_type = ipxs.sipx_type;   rd->pkt_type = ipxs.sipx_type;
      
    net_stats_recv(size);
  return size;   return size;
 }  }
   

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