Home
last modified time | relevance | path

Searched refs:usDataLength (Results 1 – 4 of 4) sorted by relevance

/FreeRTOS-Plus-TCP-v4.0.0/source/
DFreeRTOS_ICMP.c210 uint16_t usDataLength, usCount; in prvProcessICMPEchoReply() local
214 usDataLength = pxICMPPacket->xIPHeader.usLength; in prvProcessICMPEchoReply()
215 usDataLength = FreeRTOS_ntohs( usDataLength ); in prvProcessICMPEchoReply()
219 usDataLength = ( uint16_t ) ( ( ( uint32_t ) usDataLength ) - ipSIZE_OF_IPv4_HEADER ); in prvProcessICMPEchoReply()
223 usDataLength = ( uint16_t ) ( ( ( uint32_t ) usDataLength ) - ipSIZE_OF_ICMPv4_HEADER ); in prvProcessICMPEchoReply()
232 for( usCount = 0; usCount < usDataLength; usCount++ ) in prvProcessICMPEchoReply()
DFreeRTOS_DNS_Parser.c571 … vSetField16( pxAnswer, LLMNRAnswer_t, usDataLength, ipSIZE_OF_IPv6_ADDRESS ); in DNS_ParseDNSReply()
581 …vSetField16( pxAnswer, LLMNRAnswer_t, usDataLength, ( uint16_t ) sizeof( pxAnswer->ulIPAddress ) ); in DNS_ParseDNSReply()
721 if( FreeRTOS_ntohs( pxDNSAnswerRecord->usDataLength ) == in parseDNSAnswer()
851 FreeRTOS_ntohs( pxDNSAnswerRecord->usDataLength ), in parseDNSAnswer()
860 uint16_t usDataLength; in parseDNSAnswer() local
875 usDataLength = FreeRTOS_ntohs( pxDNSAnswerRecord->usDataLength ); in parseDNSAnswer()
878 if( pxSet->uxSourceBytesRemaining >= usDataLength ) in parseDNSAnswer()
880 pxSet->pucByte = &( pxSet->pucByte[ usDataLength ] ); in parseDNSAnswer()
881 pxSet->uxSourceBytesRemaining -= usDataLength; in parseDNSAnswer()
1213 …vSetField16( pxAnswer, NBNSAnswer_t, usDataLength, 6 ); /* 6 bytes including the length … in DNS_TreatNBNS()
/FreeRTOS-Plus-TCP-v4.0.0/source/include/
DFreeRTOS_DNS_Globals.h165 uint16_t usDataLength; /**< Length of the data field. */ member
226 uint16_t usDataLength; /**< Length of the address in this record. */ member
259 uint16_t usDataLength; /**< Data length. */ member
/FreeRTOS-Plus-TCP-v4.0.0/test/unit-test/FreeRTOS_DNS_Parser/
DFreeRTOS_DNS_Parser_utest.c2641 pxDNSAnswerRecord->usDataLength = FreeRTOS_htons( ipSIZE_OF_IPv4_ADDRESS ); in test_parseDNSAnswer_null_bytes()
2689 pxDNSAnswerRecord->usDataLength = FreeRTOS_htons( ipSIZE_OF_IPv4_ADDRESS ); in test_parseDNSAnswer_recordstored_gt_count()
2737 pxDNSAnswerRecord->usDataLength = FreeRTOS_htons( ipSIZE_OF_IPv4_ADDRESS ); in test_parseDNSAnswer_recordstored_gt_count_diffUsType()
2781 pxDNSAnswerRecord->usDataLength = FreeRTOS_htons( ipSIZE_OF_IPv4_ADDRESS ); in test_parseDNSAnswer_recordNOTstored_gt_count_diffUsType()
2825 pxDNSAnswerRecord->usDataLength = FreeRTOS_htons( ipSIZE_OF_IPv6_ADDRESS ); in test_parseDNSAnswer_recordstored_gt_count_IPv6_fail1()
2869 pxDNSAnswerRecord->usDataLength = FreeRTOS_htons( ipSIZE_OF_IPv6_ADDRESS ); in test_parseDNSAnswer_recordstored_gt_count_IPv6_fail2()
2912 pxDNSAnswerRecord->usDataLength = FreeRTOS_htons( ipSIZE_OF_IPv6_ADDRESS ); in test_parseDNSAnswer_recordstored_gt_count_IPv6_success()
2960 pxDNSAnswerRecord->usDataLength = FreeRTOS_htons( ipSIZE_OF_IPv6_ADDRESS ); in test_parseDNSAnswer_recordstored_gt_count_IPv6_success2()
3008 pxDNSAnswerRecord->usDataLength = FreeRTOS_htons( ipSIZE_OF_IPv6_ADDRESS ); in test_parseDNSAnswer_recordstored_gt_count_IPv6_success3()
3052 pxDNSAnswerRecord->usDataLength = FreeRTOS_htons( ipSIZE_OF_IPv4_ADDRESS ); in test_parseDNSAnswer_recordstored_gt_count_IPv6_fail_nullLinkedListForDNSAns()
[all …]