/** Processes a DHCP packet inside an Ethernet frame, and writes the appropriate response\r
* to the output Ethernet frame if the host is requesting or accepting an IP address.\r
*\r
- * \param IPHeaderInStart Pointer to the start of the incomming packet's IP header\r
- * \param DHCPHeaderInStart Pointer to the start of the incomming packet's DHCP header\r
+ * \param IPHeaderInStart Pointer to the start of the incoming packet's IP header\r
+ * \param DHCPHeaderInStart Pointer to the start of the incoming packet's DHCP header\r
* \param DHCPHeaderOutStart Pointer to the start of the outgoing packet's DHCP header\r
*\r
* \return The number of bytes written to the out Ethernet frame if any, NO_RESPONSE otherwise\r
memcpy(&DHCPHeaderOUT->ClientHardwareAddress, &DHCPHeaderIN->ClientHardwareAddress, sizeof(MAC_Address_t));\r
DHCPHeaderOUT->Cookie = SwapEndian_32(DHCP_MAGIC_COOKIE);\r
\r
- /* Alter the incomming IP packet header so that the corrected IP source and destinations are used - this means that\r
+ /* Alter the incoming IP packet header so that the corrected IP source and destinations are used - this means that\r
when the response IP header is generated, it will use the corrected addresses and not the null/broatcast addresses */\r
IPHeaderIN->SourceAddress = ClientIPAddress;\r
IPHeaderIN->DestinationAddress = ServerIPAddress;\r
\r
- /* Process the incomming DHCP packet options */\r
+ /* Process the incoming DHCP packet options */\r
while (DHCPOptionsINStart[0] != DHCP_OPTION_END)\r
{ \r
/* Find the Message Type DHCP option, to determine the type of DHCP packet */\r