@@ -95,6 +95,7 @@ static void prvIPTimerReload( IPTimer_t * pxTimer,
9595 */
9696
9797#if ipconfigIS_ENABLED ( ipconfigUSE_IPv4 )
98+
9899/** @brief Timer to limit the maximum time a packet should be stored while
99100 * awaiting an ARP resolution. */
100101 static IPTimer_t xARPResolutionTimer ;
@@ -103,6 +104,7 @@ static void prvIPTimerReload( IPTimer_t * pxTimer,
103104 static IPTimer_t xARPTimer ;
104105#endif
105106#if ipconfigIS_ENABLED ( ipconfigUSE_IPv6 )
107+
106108/** @brief Timer to limit the maximum time a packet should be stored while
107109 * awaiting an ND resolution. */
108110 static IPTimer_t xNDResolutionTimer ;
@@ -250,7 +252,7 @@ void vCheckNetworkTimers( void )
250252 iptraceDELAYED_ARP_TIMER_EXPIRED ();
251253 }
252254 }
253- #endif
255+ #endif /* if ipconfigIS_ENABLED( ipconfigUSE_IPv4 ) */
254256
255257 #if ipconfigIS_ENABLED ( ipconfigUSE_IPv6 )
256258 /* Is it time for ND processing? */
@@ -277,7 +279,7 @@ void vCheckNetworkTimers( void )
277279 iptraceDELAYED_ND_TIMER_EXPIRED ();
278280 }
279281 }
280- #endif
282+ #endif /* if ipconfigIS_ENABLED( ipconfigUSE_IPv6 ) */
281283
282284 #if ( ipconfigUSE_DHCP == 1 ) || ( ipconfigUSE_RA == 1 )
283285 {
@@ -473,10 +475,10 @@ static void prvIPTimerReload( IPTimer_t * pxTimer,
473475 *
474476 * @param[in] xTime Time to be reloaded into the ARP timer.
475477 */
476- void vARPTimerReload ( TickType_t xTime )
477- {
478- prvIPTimerReload ( & xARPTimer , xTime );
479- }
478+ void vARPTimerReload ( TickType_t xTime )
479+ {
480+ prvIPTimerReload ( & xARPTimer , xTime );
481+ }
480482#endif
481483/*-----------------------------------------------------------*/
482484
@@ -487,10 +489,10 @@ void vARPTimerReload( TickType_t xTime )
487489 *
488490 * @param[in] xTime Time to be reloaded into the ND timer.
489491 */
490- void vNDTimerReload ( TickType_t xTime )
491- {
492- prvIPTimerReload ( & xNDTimer , xTime );
493- }
492+ void vNDTimerReload ( TickType_t xTime )
493+ {
494+ prvIPTimerReload ( & xNDTimer , xTime );
495+ }
494496#endif
495497/*-----------------------------------------------------------*/
496498
@@ -639,7 +641,7 @@ static BaseType_t prvIPTimerCheck( IPTimer_t * pxTimer )
639641 xARPResolutionTimer .bActive = pdFALSE_UNSIGNED ;
640642 }
641643 }
642- #endif
644+ #endif /* if ipconfigIS_ENABLED( ipconfigUSE_IPv4 ) */
643645/*-----------------------------------------------------------*/
644646
645647#if ipconfigIS_ENABLED ( ipconfigUSE_IPv6 )
@@ -678,7 +680,7 @@ static BaseType_t prvIPTimerCheck( IPTimer_t * pxTimer )
678680 xNDResolutionTimer .bActive = pdFALSE_UNSIGNED ;
679681 }
680682 }
681- #endif
683+ #endif /* if ipconfigIS_ENABLED( ipconfigUSE_IPv6 ) */
682684/*-----------------------------------------------------------*/
683685
684686#if ( ipconfigUSE_DHCP == 1 ) || ( ipconfigUSE_RA == 1 ) || ( ipconfigUSE_DHCPv6 == 1 )
0 commit comments