Diff for /src/sys/netinet/ip_var.h between versions 1.6 and 1.7

version 1.6, 2004/03/06 07:30:43 version 1.7, 2004/05/03 15:18:25
Line 98  struct ip_moptions { Line 98  struct ip_moptions {
         u_long  imo_multicast_vif;      /* vif num outgoing multicasts */          u_long  imo_multicast_vif;      /* vif num outgoing multicasts */
 };  };
   
 struct  ipstat {  #ifdef _KERNEL
   
   #if defined(SMP)
   #define _GD     mycpu
   #define ipstat  ipstats_ary[_GD->gd_cpuid]
   #else /* !SMP */
   #define ipstat  ipstats_ary[0]
   #endif
   
   struct ip_stats;
   extern struct ip_stats  ipstats_ary[MAXCPU];
   #endif
   
   /*
    * IP Statistics.
    */
   struct  ip_stats {
         u_long  ips_total;              /* total packets received */          u_long  ips_total;              /* total packets received */
         u_long  ips_badsum;             /* checksum bad */          u_long  ips_badsum;             /* checksum bad */
         u_long  ips_tooshort;           /* packet too short */          u_long  ips_tooshort;           /* packet too short */
Line 144  struct route; Line 160  struct route;
 struct sockopt;  struct sockopt;
 struct lwkt_port;  struct lwkt_port;
   
 extern struct   ipstat  ipstat;  
 #ifndef RANDOM_IP_ID  #ifndef RANDOM_IP_ID
 extern u_short  ip_id;                          /* ip packet ctr, for ids */  extern u_short  ip_id;                          /* ip packet ctr, for ids */
 #endif  #endif

Removed from v.1.6  
changed lines
  Added in v.1.7