X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/071e02c6b6b4837fa9cf0b6d4c749994e02638d7..98947e3750e07054f9da46af82225e9ef89ed656:/Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.h?ds=inline diff --git a/Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.h b/Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.h index 82f28e80e..215695756 100644 --- a/Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.h +++ b/Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.h @@ -45,16 +45,18 @@ #include "ProtocolDecoders.h" /* Macros: */ - /** Protocol IP address of the host (client) machine, once assigned by DHCP */ + /** Protocol IP address of the host (client) machine, once assigned by DHCP. */ #define CLIENT_IP_ADDRESS { 10, 0, 0, 1} - /** Protocol IP address of the virtual server machine */ + /** Protocol IP address of the virtual server machine. */ #define SERVER_IP_ADDRESS { 10, 0, 0, 2} - /** Protocol IP address of the broadcast address */ + /** Protocol IP address of the broadcast address. */ #define BROADCAST_IP_ADDRESS {0xFF, 0xFF, 0xFF, 0xFF} - /** Default Time To Live (TTL) value for sent packets, indicating the maximum allowable hops until their destination is reached */ + /** Default Time To Live (TTL) value for sent packets, indicating the maximum allowable hops until their destination + * is reached. + */ #define DEFAULT_TTL 128 /** Performs a comparison between two IP addresses, indicating if they are identical. @@ -88,6 +90,8 @@ } IP_Header_t; /* Function Prototypes: */ - int16_t IP_ProcessIPPacket(Ethernet_Frame_Info_t* FrameIN, void* InDataStart, void* OutDataStart); + int16_t IP_ProcessIPPacket(Ethernet_Frame_Info_t* const FrameIN, + void* InDataStart, + void* OutDataStart); #endif