1
0
mirror of https://github.com/FreeRTOS/FreeRTOS-Plus-TCP synced 2025-10-25 04:56:15 +08:00

Add IPv6 data path and endpoint changes to FreeRTOS_IP.c (#591)

* Add IPv6 data path and endpoint changes to FreeRTOS_IP.c
* Add FreeRTOS_IPv4.h and FreeRTOS_IPv6.h files.
* Fix compilation issues and run Uncrustify
This commit is contained in:
Monika Singh
2022-12-06 06:29:32 +00:00
committed by GitHub
parent 5e56f7739f
commit 96643cedf1
16 changed files with 1550 additions and 565 deletions

View File

@@ -299,6 +299,9 @@ void FreeRTOS_GetAddressConfiguration( uint32_t * pulIPAddress,
uint32_t * pulGatewayAddress,
uint32_t * pulDNSServerAddress );
/* The following 2 functions also assume that there is only 1 network interface.
* The new function are called: FreeRTOS_GetEndPointConfiguration() and
* FreeRTOS_SetEndPointConfiguration(), see below. */
void FreeRTOS_SetAddressConfiguration( const uint32_t * pulIPAddress,
const uint32_t * pulNetMask,
const uint32_t * pulGatewayAddress,
@@ -315,7 +318,8 @@ const uint8_t * FreeRTOS_GetMACAddress( void );
void FreeRTOS_UpdateMACAddress( const uint8_t ucMACAddress[ ipMAC_ADDRESS_LENGTH_BYTES ] );
#if ( ipconfigUSE_NETWORK_EVENT_HOOK == 1 )
/* This function shall be defined by the application. */
void vApplicationIPNetworkEventHook( eIPCallbackEvent_t eNetworkEvent );
void vApplicationIPNetworkEventHook( eIPCallbackEvent_t eNetworkEvent,
struct xNetworkEndPoint * pxEndPoint );
#endif
#if ( ipconfigSUPPORT_OUTGOING_PINGS == 1 )
void vApplicationPingReplyHook( ePingReplyStatus_t eStatus,