\r
/** Decodes an Ethernet frame header and prints its contents to through the USART in a human readable format.\r
*\r
- * \param InDataStart Pointer to the start of an Ethernet frame header\r
+ * \param[in] InDataStart Pointer to the start of an Ethernet frame header\r
*/\r
-void DecodeEthernetFrameHeader(void* InDataStart)\r
+void DecodeEthernetFrameHeader(Ethernet_Frame_Info_t* FrameINData)\r
{\r
#if !defined(NO_DECODE_ETHERNET)\r
- Ethernet_Frame_Header_t* FrameHeader = (Ethernet_Frame_Header_t*)InDataStart;\r
+ Ethernet_Frame_Header_t* FrameHeader = (Ethernet_Frame_Header_t*)FrameINData->FrameData;\r
\r
printf_P(PSTR("\r\n"));\r
\r
printf_P(PSTR(" ETHERNET\r\n"));\r
- printf_P(PSTR(" + Frame Size: %u\r\n"), FrameIN.FrameLength);\r
+ printf_P(PSTR(" + Frame Size: %u\r\n"), FrameINData->FrameLength);\r
\r
if (!(MAC_COMPARE(&FrameHeader->Destination, &ServerMACAddress)) &&\r
!(MAC_COMPARE(&FrameHeader->Destination, &BroadcastMACAddress)))\r
FrameHeader->Destination.Octets[4],\r
FrameHeader->Destination.Octets[5]);\r
\r
- if (SwapEndian_16(FrameIN.FrameLength) > ETHERNET_VER2_MINSIZE)\r
+ if (SwapEndian_16(FrameINData->FrameLength) > ETHERNET_VER2_MINSIZE)\r
printf_P(PSTR(" + Protocol: 0x%04x\r\n"), SwapEndian_16(FrameHeader->EtherType));\r
else\r
printf_P(PSTR(" + Protocol: UNKNOWN E1\r\n"));\r
\r
/** Decodes an ARP header and prints its contents to through the USART in a human readable format.\r
*\r
- * \param InDataStart Pointer to the start of an ARP packet header\r
+ * \param[in] InDataStart Pointer to the start of an ARP packet header\r
*/\r
void DecodeARPHeader(void* InDataStart)\r
{\r
\r
/** Decodes an IP header and prints its contents to through the USART in a human readable format.\r
*\r
- * \param InDataStart Pointer to the start of an IP packet header\r
+ * \param[in] InDataStart Pointer to the start of an IP packet header\r
*/\r
void DecodeIPHeader(void* InDataStart)\r
{\r
\r
/** Decodes an ICMP header and prints its contents to through the USART in a human readable format.\r
*\r
- * \param InDataStart Pointer to the start of an ICMP packet header\r
+ * \param[in] InDataStart Pointer to the start of an ICMP packet header\r
*/\r
void DecodeICMPHeader(void* InDataStart)\r
{\r
\r
/** Decodes a TCP header and prints its contents to through the USART in a human readable format.\r
*\r
- * \param InDataStart Pointer to the start of a TCP packet header\r
+ * \param[in] InDataStart Pointer to the start of a TCP packet header\r
*/\r
void DecodeTCPHeader(void* InDataStart)\r
{\r
\r
/** Decodes an UDP header and prints its contents to through the USART in a human readable format.\r
*\r
- * \param InDataStart Pointer to the start of a UDP packet header\r
+ * \param[in] InDataStart Pointer to the start of a UDP packet header\r
*/\r
void DecodeUDPHeader(void* InDataStart)\r
{\r
\r
/** Decodes an DHCP header and prints its contents to through the USART in a human readable format.\r
*\r
- * \param InDataStart Pointer to the start of a DHCP packet header\r
+ * \param[in] InDataStart Pointer to the start of a DHCP packet header\r
*/\r
void DecodeDHCPHeader(void* InDataStart)\r
{\r