src/core/thread/mle_tlvs.hpp
void SetLinkQualityOut(uint8_t aRouterIndex, uint8_t aLinkQuality)
    {
        int offset = ((aRouterIndex & 1) ? kOddEntryOffset : 0);
        mRouteData[aRouterIndex + aRouterIndex / 2] =
            (mRouteData[aRouterIndex + aRouterIndex / 2] & ~(kLinkQualityOutMask >> offset)) |
            ((aLinkQuality << (kLinkQualityOutOffset - offset)) & (kLinkQualityOutMask >> offset));
    }
/**
     * This method sets the Link Quality Out value for a given Router index.
     *
     * @param[in]  aRouterIndex  The Router index.
     * @param[in]  aLinkQuality  The Link Quality Out value for a given Router index.
     *
     */
This method sets the Link Quality Out value for a given Router index.
@param[in]  aRouterIndex  The Router index.
@param[in]  aLinkQuality  The Link Quality Out value for a given Router index.
This method sets the Link Quality Out value for a given Router index . @param [ in ] aRouterIndex The Router index . @param [ in ] aLinkQuality The Link Quality Out value for a given Router index .
void SetLinkQualityOut(uint8_t aRouterIndex, uint8_t aLinkQuality)
    {
        int offset = ((aRouterIndex & 1) ? kOddEntryOffset : 0);
        mRouteData[aRouterIndex + aRouterIndex / 2] =
            (mRouteData[aRouterIndex + aRouterIndex / 2] & ~(kLinkQualityOutMask >> offset)) |
            ((aLinkQuality << (kLinkQualityOutOffset - offset)) & (kLinkQualityOutMask >> offset));
    }
void SetLinkQualityOut ( uint8_t aRouterIndex , uint8_t aLinkQuality ) { int offset = ( ( aRouterIndex & 1 ) ? kOddEntryOffset : 0 ) ; mRouteData [ aRouterIndex + aRouterIndex / 2 ] = ( mRouteData [ aRouterIndex + aRouterIndex / 2 ] & ~ ( kLinkQualityOutMask >> offset ) ) | ( ( aLinkQuality << ( kLinkQualityOutOffset - offset ) ) & ( kLinkQualityOutMask >> offset ) ) ; }
This method sets the Link Quality Out value for a given Router index.
This method sets the Link Quality Out value for a given Router index .