aboutsummaryrefslogtreecommitdiff
path: root/ftp/atftp/files/patch-tftpd.h
blob: 49b9794f301808d38667bfbb613658b47f65c394 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- tftpd.h.orig	2010-10-11 11:33:53.000000000 +0800
+++ tftpd.h	2010-10-11 11:34:33.000000000 +0800
@@ -71,6 +71,11 @@
 struct client_info {
      struct sockaddr_in client;
      int done;                  /* that client as receive it's file */
+     int bytes_sent;
+     int number_of_timeout;     /* number of timeouts while sending to 
+                                 * this client
+                                 */
+     int last_ack;              /* last ACK received from this client */
      struct client_info *next;
 };