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

IPv4 to IPv6 Quick Reference Guide
Summary: Source Code Symbols and Function Changes
Appendix A 73
IPv6 Multicast Options
NOTE When setting the getsockopt() and setsockopt()
level
parameter, use
IPPROTO_IPV6 level for all IPV6_* options listed here.
IP Packet Options
NOTE Bundle the seven options above into a single setsockopt() call using
IPV6_PKTOPTIONS.
Table A-6 IPv6 Multicast Options
IPv4 IPv6 Comments
IP_MULTICAST_IF
IP_MULTICAST_TTL
IP_MULTICAST_LOOP
IP_ADD_MEMBERSHIP
IP_DROP_MEMBERSHIP
IPV6_MULTICAST_IF
IPV6_MULTICAST_HOPS
IPV6_MULTICAST_LOOP
IPV6_JOIN_GROUP
IPV6_LEAVE_GROUP
Table A-7 IP Packet Options
IP_OPTIONS IPV6_PKTOPTIONS Comments
IP_RECVDSTADDR
IP_RECVIF
IPV6_DESTOPTS
IPV6_HOPLIMIT
IPV6_HOPOPTS
IPV6_NEXTHOP
IPV6_PKTINFO
IPV6_PKTINFO
IPV6_PKTINFO
Receive Destination options
Unicast hop limit for receiving packets
Receive hop-by-hop options
Set next-hop address
Set packet information
Return destination IP address
Return received interface index
IPV6_RTHDR Send or receive routing header
IP_TTL
ip_mreq
IPv6_UNICAST_HOPS
ipv6_IP_OPTIONSmreq
Default unicast hop limit