HP-UX IPv6 Porting Guide (February 2007)
Overview of IPv4 and IPv6 Call Set-up
Using AF_INET6 Socket to Receive IPv4 Communications
Chapter 524
Here
type
is 0800, so the Ethernet driver strips-off the Ethernet header and passes the
IPv4 packet to the IPv4/IP module.
The IPv4/IP protocol stack passes the information and the IPv4-mapped IPv6 address
(::FFFF:1.2.3.4) to the socket layer.
3. The application calls accept() to accept the remote connection request. The application
was already listening on an established IPv6 socket.
4. The application calls getnameinfo() to lookup the host name for IP address
::FFFF:1.2.3.4. See getnameinfo(3N) later in the guide for more information.
5. The search finds the host name for the 1.2.3.4 address in the hosts database and
getnameinfo() returns the host name.