projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure all demos now compile in C99 standards mode, and not GNU99 (C99 + GNU extensions).
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
RNDISEthernet
/
Lib
/
IP.h
diff --git
a/Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.h
b/Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.h
index
82f28e8
..
2156957
100644
(file)
--- a/
Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.h
+++ b/
Demos/Device/ClassDriver/RNDISEthernet/Lib/IP.h
@@
-45,16
+45,18
@@
#include "ProtocolDecoders.h"
/* Macros: */
#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}
#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}
#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}
#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.
#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: */
} 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
#endif