X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/071e02c6b6b4837fa9cf0b6d4c749994e02638d7..bea72a8412f99b294c00341fa16a8308bcc66f15:/Demos/Device/ClassDriver/RNDISEthernet/Lib/ICMP.h?ds=inline diff --git a/Demos/Device/ClassDriver/RNDISEthernet/Lib/ICMP.h b/Demos/Device/ClassDriver/RNDISEthernet/Lib/ICMP.h index 6c2fbb134..9982560b1 100644 --- a/Demos/Device/ClassDriver/RNDISEthernet/Lib/ICMP.h +++ b/Demos/Device/ClassDriver/RNDISEthernet/Lib/ICMP.h @@ -45,22 +45,22 @@ #include "ProtocolDecoders.h" /* Macros: */ - /** ICMP message type constant, indicating an ICMP ECHO Reply message */ + /** ICMP message type constant, indicating an ICMP ECHO Reply message. */ #define ICMP_TYPE_ECHOREPLY 0 - /** ICMP message type constant, indicating a packet destination is unreachable */ + /** ICMP message type constant, indicating a packet destination is unreachable. */ #define ICMP_TYPE_DESTINATIONUNREACHABLE 3 - /** ICMP message type constant, indicating an ICMP Source Quench message */ + /** ICMP message type constant, indicating an ICMP Source Quench message. */ #define ICMP_TYPE_SOURCEQUENCH 4 - /** ICMP message type constant, indicating an ICMP Redirect message */ + /** ICMP message type constant, indicating an ICMP Redirect message. */ #define ICMP_TYPE_REDIRECTMESSAGE 5 - /** ICMP message type constant, indicating an ICMP ECHO Request message */ + /** ICMP message type constant, indicating an ICMP ECHO Request message. */ #define ICMP_TYPE_ECHOREQUEST 8 - /** ICMP message type constant, indicating an ICMP Time Exceeded message */ + /** ICMP message type constant, indicating an ICMP Time Exceeded message. */ #define ICMP_TYPE_TIMEEXCEEDED 11 /* Type Defines: */ @@ -75,6 +75,8 @@ } ICMP_Header_t; /* Function Prototypes: */ - int16_t ICMP_ProcessICMPPacket(Ethernet_Frame_Info_t* FrameIN, void* InDataStart, void* OutDataStart); + int16_t ICMP_ProcessICMPPacket(Ethernet_Frame_Info_t* const FrameIN, + void* InDataStart, + void* OutDataStart); #endif