Lines Matching refs:pxAnswer
490 LLMNRAnswer_t * pxAnswer; in DNS_ParseDNSReply() local
504 …uxExtraLength = sizeof( LLMNRAnswer_t ) + ipSIZE_OF_IPv6_ADDRESS - sizeof( pxAnswer->ulIPAddress ); in DNS_ParseDNSReply()
551 pxAnswer = ( ( LLMNRAnswer_t * ) xSet.pucByte ); in DNS_ParseDNSReply()
558 pxAnswer->ucNameCode = dnsNAME_IS_OFFSET; in DNS_ParseDNSReply()
559 … pxAnswer->ucNameOffset = ( uint8_t ) ( xSet.pcRequestedName - ( char * ) pucNewBuffer ); in DNS_ParseDNSReply()
561 … vSetField16( pxAnswer, LLMNRAnswer_t, usType, xSet.usType ); /* Type A or AAAA: host */ in DNS_ParseDNSReply()
562 … vSetField16( pxAnswer, LLMNRAnswer_t, usClass, dnsCLASS_IN ); /* 1: Class IN */ in DNS_ParseDNSReply()
563 vSetField32( pxAnswer, LLMNRAnswer_t, ulTTL, dnsLLMNR_TTL_VALUE ); in DNS_ParseDNSReply()
565 … usLength = ( int16_t ) ( sizeof( *pxAnswer ) + ( size_t ) ( xSet.pucByte - pucNewBuffer ) ); in DNS_ParseDNSReply()
571 … vSetField16( pxAnswer, LLMNRAnswer_t, usDataLength, ipSIZE_OF_IPv6_ADDRESS ); in DNS_ParseDNSReply()
572 …( void ) memcpy( &( pxAnswer->ulIPAddress ), xEndPoint.ipv6_settings.xIPAddress.ucBytes, ipSIZE_OF… in DNS_ParseDNSReply()
575 …usLength = ( int16_t ) ( sizeof( *pxAnswer ) + uxDistance + ipSIZE_OF_IPv6_ADDRESS - sizeof( pxAns… in DNS_ParseDNSReply()
581 …vSetField16( pxAnswer, LLMNRAnswer_t, usDataLength, ( uint16_t ) sizeof( pxAnswer->ulIPAddress ) ); in DNS_ParseDNSReply()
582 …vSetField32( pxAnswer, LLMNRAnswer_t, ulIPAddress, FreeRTOS_ntohl( xEndPoint.ipv4_settings.ulIPAdd… in DNS_ParseDNSReply()
584 usLength = ( int16_t ) ( sizeof( *pxAnswer ) + uxDistance ); in DNS_ParseDNSReply()
1030 NBNSAnswer_t * pxAnswer; in DNS_TreatNBNS() local
1208 … pxAnswer = ( ( NBNSAnswer_t * ) &( pucUDPPayloadBuffer[ offsetof( NBNSRequest_t, usType ) ] ) ); in DNS_TreatNBNS()
1210 vSetField16( pxAnswer, NBNSAnswer_t, usType, usType ); /* Type */ in DNS_TreatNBNS()
1211 vSetField16( pxAnswer, NBNSAnswer_t, usClass, dnsNBNS_CLASS_IN ); /* Class */ in DNS_TreatNBNS()
1212 vSetField32( pxAnswer, NBNSAnswer_t, ulTTL, dnsNBNS_TTL_VALUE ); in DNS_TreatNBNS()
1213 …vSetField16( pxAnswer, NBNSAnswer_t, usDataLength, 6 ); /* 6 bytes including the length … in DNS_TreatNBNS()
1214 vSetField16( pxAnswer, NBNSAnswer_t, usNbFlags, dnsNBNS_NAME_FLAGS ); in DNS_TreatNBNS()
1216 …vSetField32( pxAnswer, NBNSAnswer_t, ulIPAddress, FreeRTOS_ntohl( xEndPoint.ipv4_settings.ulIPAddr… in DNS_TreatNBNS()