Diff for /qemu/slirp/tcp_var.h between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2018/04/24 16:54:42 version 1.1.1.4, 2018/04/24 17:25:50
Line 61  struct tcpcb { Line 61  struct tcpcb {
 #define TF_RCVD_TSTMP   0x0100          /* a timestamp was received in SYN */  #define TF_RCVD_TSTMP   0x0100          /* a timestamp was received in SYN */
 #define TF_SACK_PERMIT  0x0200          /* other side said I could SACK */  #define TF_SACK_PERMIT  0x0200          /* other side said I could SACK */
   
         /* Make it static  for now */          struct  tcpiphdr t_template;    /* static skeletal packet for xmit */
 /*      struct  tcpiphdr *t_template;   / * skeletal packet for transmit */  
         struct  tcpiphdr t_template;  
   
         struct  socket *t_socket;               /* back pointer to socket */          struct  socket *t_socket;               /* back pointer to socket */
 /*  /*
Line 160  struct tcpcb { Line 158  struct tcpcb {
 #define TCP_REXMTVAL(tp) \  #define TCP_REXMTVAL(tp) \
         (((tp)->t_srtt >> TCP_RTT_SHIFT) + (tp)->t_rttvar)          (((tp)->t_srtt >> TCP_RTT_SHIFT) + (tp)->t_rttvar)
   
 #ifdef LOG_ENABLED  
 /*  
  * TCP statistics.  
  * Many of these should be kept per connection,  
  * but that's inconvenient at the moment.  
  */  
 struct tcpstat {  
         u_long  tcps_connattempt;       /* connections initiated */  
         u_long  tcps_accepts;           /* connections accepted */  
         u_long  tcps_connects;          /* connections established */  
         u_long  tcps_drops;             /* connections dropped */  
         u_long  tcps_conndrops;         /* embryonic connections dropped */  
         u_long  tcps_closed;            /* conn. closed (includes drops) */  
         u_long  tcps_segstimed;         /* segs where we tried to get rtt */  
         u_long  tcps_rttupdated;        /* times we succeeded */  
         u_long  tcps_delack;            /* delayed acks sent */  
         u_long  tcps_timeoutdrop;       /* conn. dropped in rxmt timeout */  
         u_long  tcps_rexmttimeo;        /* retransmit timeouts */  
         u_long  tcps_persisttimeo;      /* persist timeouts */  
         u_long  tcps_keeptimeo;         /* keepalive timeouts */  
         u_long  tcps_keepprobe;         /* keepalive probes sent */  
         u_long  tcps_keepdrops;         /* connections dropped in keepalive */  
   
         u_long  tcps_sndtotal;          /* total packets sent */  
         u_long  tcps_sndpack;           /* data packets sent */  
         u_long  tcps_sndbyte;           /* data bytes sent */  
         u_long  tcps_sndrexmitpack;     /* data packets retransmitted */  
         u_long  tcps_sndrexmitbyte;     /* data bytes retransmitted */  
         u_long  tcps_sndacks;           /* ack-only packets sent */  
         u_long  tcps_sndprobe;          /* window probes sent */  
         u_long  tcps_sndurg;            /* packets sent with URG only */  
         u_long  tcps_sndwinup;          /* window update-only packets sent */  
         u_long  tcps_sndctrl;           /* control (SYN|FIN|RST) packets sent */  
   
         u_long  tcps_rcvtotal;          /* total packets received */  
         u_long  tcps_rcvpack;           /* packets received in sequence */  
         u_long  tcps_rcvbyte;           /* bytes received in sequence */  
         u_long  tcps_rcvbadsum;         /* packets received with ccksum errs */  
         u_long  tcps_rcvbadoff;         /* packets received with bad offset */  
 /*      u_long  tcps_rcvshort;  */      /* packets received too short */  
         u_long  tcps_rcvduppack;        /* duplicate-only packets received */  
         u_long  tcps_rcvdupbyte;        /* duplicate-only bytes received */  
         u_long  tcps_rcvpartduppack;    /* packets with some duplicate data */  
         u_long  tcps_rcvpartdupbyte;    /* dup. bytes in part-dup. packets */  
         u_long  tcps_rcvoopack;         /* out-of-order packets received */  
         u_long  tcps_rcvoobyte;         /* out-of-order bytes received */  
         u_long  tcps_rcvpackafterwin;   /* packets with data after window */  
         u_long  tcps_rcvbyteafterwin;   /* bytes rcvd after window */  
         u_long  tcps_rcvafterclose;     /* packets rcvd after "close" */  
         u_long  tcps_rcvwinprobe;       /* rcvd window probe packets */  
         u_long  tcps_rcvdupack;         /* rcvd duplicate acks */  
         u_long  tcps_rcvacktoomuch;     /* rcvd acks for unsent data */  
         u_long  tcps_rcvackpack;        /* rcvd ack packets */  
         u_long  tcps_rcvackbyte;        /* bytes acked by rcvd acks */  
         u_long  tcps_rcvwinupd;         /* rcvd window update packets */  
 /*      u_long  tcps_pawsdrop;  */      /* segments dropped due to PAWS */  
         u_long  tcps_predack;           /* times hdr predict ok for acks */  
         u_long  tcps_preddat;           /* times hdr predict ok for data pkts */  
         u_long  tcps_socachemiss;       /* tcp_last_so misses */  
         u_long  tcps_didnuttin;         /* Times tcp_output didn't do anything XXX */  
 };  
   
 extern struct   tcpstat tcpstat;        /* tcp statistics */  
 #endif  
   
 extern u_int32_t        tcp_now;                /* for RFC 1323 timestamps */  
   
 #endif  #endif

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


unix.superglobalmegacorp.com