----------------------------------------------------------------------------- Purpose: For an "m_IPv4Bytes address mapped into ipv6 space", this will internally convert it to a plain m_IPv4Bytes address. -----------------------------------------------------------------------------
| 379 | // convert it to a plain m_IPv4Bytes address. |
| 380 | //----------------------------------------------------------------------------- |
| 381 | bool CIPAddress::BConvertMappedToIPv4() |
| 382 | { |
| 383 | if ( !IsMappedIPv4() ) |
| 384 | return false; |
| 385 | SetIPv4( m_rgubIPv6[12], m_rgubIPv6[13], m_rgubIPv6[14], m_rgubIPv6[15] ); |
| 386 | return true; |
| 387 | } |
| 388 | |
| 389 | //----------------------------------------------------------------------------- |
| 390 | // Purpose: For an m_IPv4Bytes address, this will internally convert it into a mapped |
no outgoing calls
no test coverage detected