\r
#define DEBUG_SOCKET_POLL 0x00080000 ///< Display the socket poll messages\r
#define DEBUG_PORT_WORK 0x00040000 ///< Display the port work messages\r
-#define DEBUG_SERVER_TIMER 0x00020000 ///< Display the socket poll messages\r
+#define DEBUG_SERVER_LISTEN 0x00020000 ///< Display the socket poll messages\r
#define DEBUG_HTTP_PORT 0x00010000 ///< Display HTTP port related messages\r
#define DEBUG_REQUEST 0x00008000 ///< Display the HTTP request messages\r
\r
//\r
// HTTP port management\r
//\r
- BOOLEAN bTimerRunning; ///< Port creation timer status\r
+ BOOLEAN bRunning; ///< Web server running\r
EFI_EVENT TimerEvent; ///< Timer to open HTTP port\r
- int HttpListenPort; ///< File descriptor for the HTTP listen port\r
+ int HttpListenPort; ///< File descriptor for the HTTP listen port over TCP4\r
+ int HttpListenPort6; ///< File descriptor for the HTTP listen port over TCP6\r
\r
//\r
// Client port management\r
OUT BOOLEAN * pbDone\r
);\r
\r
+/**\r
+ Respond with the Exit page\r
+\r
+ @param [in] SocketFD The socket's file descriptor to add to the list.\r
+ @param [in] pPort The WSDT_PORT structure address\r
+ @param [out] pbDone Address to receive the request completion status\r
+\r
+ @retval EFI_SUCCESS The request was successfully processed\r
+\r
+**/\r
+EFI_STATUS\r
+ExitPage (\r
+ IN int SocketFD,\r
+ IN WSDT_PORT * pPort,\r
+ OUT BOOLEAN * pbDone\r
+ );\r
+\r
/**\r
Respond with the firmware status\r
\r
OUT BOOLEAN * pbDone\r
);\r
\r
+/**\r
+ Respond with the Ports page\r
+\r
+ @param [in] SocketFD The socket's file descriptor to add to the list.\r
+ @param [in] pPort The WSDT_PORT structure address\r
+ @param [out] pbDone Address to receive the request completion status\r
+\r
+ @retval EFI_SUCCESS The request was successfully processed\r
+\r
+**/\r
+EFI_STATUS\r
+PortsPage (\r
+ IN int SocketFD,\r
+ IN WSDT_PORT * pPort,\r
+ OUT BOOLEAN * pbDone\r
+ );\r
+\r
/**\r
Page to reboot the system\r
\r
HttpSendIpAddress (\r
IN int SocketFD,\r
IN WSDT_PORT * pPort,\r
- IN struct sockaddr_in * pAddress\r
+ IN struct sockaddr_in6 * pAddress\r
);\r
\r
/**\r