Lines Matching refs:xSet
403 …struct sNTOP6_Set xSet; /* A set of values for easy exchange with the helper functions prv_ntop6_x… in FreeRTOS_inet_ntop6() local
405 ( void ) memset( &( xSet ), 0, sizeof( xSet ) ); in FreeRTOS_inet_ntop6()
407 xSet.pusAddress = pvSource; in FreeRTOS_inet_ntop6()
415 prv_ntop6_search_zeros( &( xSet ) ); in FreeRTOS_inet_ntop6()
417 while( xSet.xIndex < 8 ) in FreeRTOS_inet_ntop6()
419 if( xSet.xIndex == xSet.xZeroStart ) in FreeRTOS_inet_ntop6()
421 if( prv_ntop6_write_zeros( pcDestination, uxSize, &( xSet ) ) == pdFAIL ) in FreeRTOS_inet_ntop6()
426 xSet.xIndex += xSet.xZeroLength; in FreeRTOS_inet_ntop6()
430 if( prv_ntop6_write_short( pcDestination, uxSize, &( xSet ) ) == pdFAIL ) in FreeRTOS_inet_ntop6()
435 xSet.xIndex++; in FreeRTOS_inet_ntop6()
440 if( xSet.xIndex < 8 ) in FreeRTOS_inet_ntop6()
447 pcDestination[ xSet.uxTargetIndex ] = '\0'; in FreeRTOS_inet_ntop6()
570 struct sPTON6_Set xSet; in FreeRTOS_inet_pton6() local
574 ( void ) memset( &( xSet ), 0, sizeof( xSet ) ); in FreeRTOS_inet_pton6()
575 xSet.xColon = -1; in FreeRTOS_inet_pton6()
576 xSet.pucTarget = pvDestination; in FreeRTOS_inet_pton6()
578 ( void ) memset( xSet.pucTarget, 0, ipSIZE_OF_IPv6_ADDRESS ); in FreeRTOS_inet_pton6()
595 xSet.xHighestIndex = ( BaseType_t ) ipSIZE_OF_IPv6_ADDRESS; in FreeRTOS_inet_pton6()
596 xSet.xHighestIndex -= ( BaseType_t ) sizeof( uint16_t ); in FreeRTOS_inet_pton6()
599 xSet.xHadDigit = pdFALSE; in FreeRTOS_inet_pton6()
600 xSet.ulValue = 0U; in FreeRTOS_inet_pton6()
611 if( ( xSet.xHadDigit != pdFALSE ) && in FreeRTOS_inet_pton6()
612 ( xSet.xTargetIndex <= xSet.xHighestIndex ) ) in FreeRTOS_inet_pton6()
615 … xSet.pucTarget[ xSet.xTargetIndex ] = ( uint8_t ) ( ( xSet.ulValue >> 8 ) & 0xffU ); in FreeRTOS_inet_pton6()
616 xSet.pucTarget[ xSet.xTargetIndex + 1 ] = ( uint8_t ) ( xSet.ulValue & 0xffU ); in FreeRTOS_inet_pton6()
617 xSet.xTargetIndex += 2; in FreeRTOS_inet_pton6()
627 xResult = prv_inet_pton6_add_nibble( &( xSet ), ucNew, ch ); in FreeRTOS_inet_pton6()
636 if( xSet.xColon >= 0 ) in FreeRTOS_inet_pton6()
639 prv_inet_pton6_set_zeros( &( xSet ) ); in FreeRTOS_inet_pton6()
642 if( xSet.xTargetIndex == ( BaseType_t ) ipSIZE_OF_IPv6_ADDRESS ) in FreeRTOS_inet_pton6()
650 xSet.pucTarget = ( uint8_t * ) pvDestination; in FreeRTOS_inet_pton6()
651 ( void ) memset( xSet.pucTarget, 0, ipSIZE_OF_IPv6_ADDRESS ); in FreeRTOS_inet_pton6()