src/core/net/dns_types.hpp
/**
     * This method sets the response code.
     *
     * @param[in]  aResponse The type of the response.
     *
     */
This method sets the response code.
@param[in]  aResponse The type of the response.
This method sets the response code . @param [ in ] aResponse The type of the response .
void SetResponseCode(Response aResponse)
    {
        mFlags[1] &= ~kRCodeMask;
        mFlags[1] |= static_cast<uint8_t>(aResponse) << kRCodeOffset;
    }
void SetResponseCode ( Response aResponse ) { mFlags [ 1 ] &= ~ kRCodeMask ; mFlags [ 1 ] |= static_cast < uint8_t > ( aResponse ) << kRCodeOffset ; }
This method sets the response code.
This method sets the response code .