]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Sockets/TftpServer/TftpServer.h
Update the sockets applications
[mirror_edk2.git] / AppPkg / Applications / Sockets / TftpServer / TftpServer.h
index e56d21be780092e094a0b03da384ec12ae400a75..b1e9f83ce59995d1f99080d9f5d2242d16e65dfb 100644 (file)
 //  Constants\r
 //------------------------------------------------------------------------------\r
 \r
-#define DEBUG_SOCKET_POLL       0x40000000  ///<  Display the socket poll messages\r
-#define DEBUG_PORT_WORK         0x20000000  ///<  Display the port work messages\r
-#define DEBUG_SERVER_TIMER      0x10000000  ///<  Display the socket poll messages\r
-#define DEBUG_TFTP_PORT         0x08000000  ///<  Display the TFTP port messages\r
-#define DEBUG_TFTP_REQUEST      0x04000000  ///<  Display the TFTP request messages\r
-#define DEBUG_TX                0x02000000  ///<  Display transmit messages\r
+#define DEBUG_PORT_WORK         0x40000000  ///<  Display the port work messages\r
+#define DEBUG_SERVER_TIMER      0x20000000  ///<  Display the socket poll messages\r
+#define DEBUG_TFTP_PORT         0x10000000  ///<  Display the TFTP port messages\r
+#define DEBUG_TFTP_REQUEST      0x08000000  ///<  Display the TFTP request messages\r
+#define DEBUG_TX                0x04000000  ///<  Display transmit messages\r
+#define DEBUG_SOCKET_POLL       0x02000000  ///<  Display the socket poll messages\r
 #define DEBUG_RX                0x01000000  ///<  Display receive messages\r
 #define DEBUG_TFTP_ACK          0x00800000  ///<  Display the TFTP ACK messages\r
 \r
@@ -155,13 +155,13 @@ typedef struct _TSDT_CONNECTION_CONTEXT {
   BOOLEAN bEofSent;             ///<  End of file sent\r
   UINT8 * pBuffer;              ///<  Pointer into the file data\r
   UINT8 * pEnd;                 ///<  End of the file data\r
-  UINT8 FileData [ 64 * TFTP_MAX_BLOCK_SIZE ];  ///<  File data to send\r
+  UINT8 FileData[ 64 * TFTP_MAX_BLOCK_SIZE ]; ///<  File data to send\r
 \r
   //\r
   //  Buffer management\r
   //\r
   ssize_t   TxBytes;            ///<  Bytes in the TX buffer\r
-  UINT8     TxBuffer [ 2 + 2 + TFTP_MAX_BLOCK_SIZE ]; ///<  Transmit buffer\r
+  UINT8     TxBuffer[ 2 + 2 + TFTP_MAX_BLOCK_SIZE ];  ///<  Transmit buffer\r
 }GCC_TSDT_CONNECTION_CONTEXT;\r
 \r
 /**\r
@@ -188,7 +188,7 @@ typedef struct {
   //\r
   struct sockaddr_in RemoteAddress; ///<  Remote address\r
   ssize_t   RxBytes;                ///<  Receive data length in bytes\r
-  UINT8     RxBuffer [ 2 + 2 + TFTP_MAX_BLOCK_SIZE ]; ///<  Receive buffer\r
+  UINT8     RxBuffer[ 2 + 2 + TFTP_MAX_BLOCK_SIZE ];  ///<  Receive buffer\r
 \r
   //\r
   //  Client port management\r