HP-UX IPv6 Porting Guide (September 2004)
Table Of Contents
- About This Document
- 1 Introduction
- 2 IPv6 Addressing
- 3 Data Structure Changes
- 4 Migrating Applications from IPv4 to IPv6
- 5 Overview of IPv4 and IPv6 Call Set-up
- 6 Function Calls Converting Names to Addresses
- 7 Function Calls Converting IP addresses to Names
- 8 Reading Error Messages
- 9 Freeing Memory
- 10 Converting Binary and Text Addresses
- 11 Testing for Scope and Type of IPv6 addresses using Macros
- 12 Identifying Local Interface Names and Indexes
- 13 Configuring or Querying an Interface using IPv6 ioctl() Function Calls
- 14 Verifying IPv6 Installation
- 15 Sample Client/Server Programs
- A IPv4 to IPv6 Quick Reference Guide

IPv6 Addressing
Types of IPv6 addresses
Chapter 2 7
IPv4-Mapped Address
An IPv4-mapped IPv6 address enables an IPv6 application on an IPv4/IPv6 host to
communicate with an IPv4-only node. IPv4-mapped IPv6 addresses are created internally by
the Name Service resolver when an IPv6 application requests the host name for a node with
an IPv4 address only.
The IPv6 module encodes the IPv4 address in the low-order 32 bits of the IPv6 address.
Figure 2-2 IPv4-Mapped Address