]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS-Labs/Source/FreeRTOS-Plus-TCP/include/FreeRTOS_IP.h
Update TCP to last release versions in preparation for kernel V10.3.0 release.
[freertos] / FreeRTOS-Labs / Source / FreeRTOS-Plus-TCP / include / FreeRTOS_IP.h
index f8019a779fcab54b3b093ed904647f54600a4a12..f66400f32d63194697c9914e1fc79c9c819003a0 100644 (file)
@@ -1,6 +1,6 @@
 /*\r
- * FreeRTOS+TCP 191100 experimental\r
- * Copyright (C) 2018 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
+ * FreeRTOS+TCP 2.2.x Labs copy\r
+ * Copyright (C) 2017 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
  *\r
  * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
  * this software and associated documentation files (the "Software"), to deal in\r
@@ -275,6 +275,15 @@ void FreeRTOS_ClearARP( void );
 #endif /* ipconfigDHCP_REGISTER_HOSTNAME */\r
 \r
 \r
+/* This xApplicationGetRandomNumber() will set *pulNumber to a random number,\r
+and return pdTRUE. When the random number generator is broken, it shall return\r
+pdFALSE.\r
+The function is defined in 'iot_secure_sockets.c'.\r
+If that module is not included in the project, the application must provide an\r
+implementation of it.\r
+The macro's ipconfigRAND32() and configRAND32() are not in use anymore. */\r
+BaseType_t xApplicationGetRandomNumber( uint32_t *pulNumber );\r
+\r
 /* For backward compatibility define old structure names to the newer equivalent\r
 structure name. */\r
 #ifndef ipconfigENABLE_BACKWARD_COMPATIBILITY\r