HP OpenVMS Systems Documentation
Compaq TCP/IP Services for OpenVMS
Guide to IPv6
Previous
Contents
Chapter 7
7
Porting Applications
7.1
Using AF_INET6 Sockets
7.2
Name Changes
7.3
Structure Changes
7.3.1
in_addr Structure
7.3.2
sockaddr Structure
7.3.3
sockaddr_in Structure
7.3.4
hostent Structure
7.4
Function Call Changes
7.4.1
gethostbyaddr Function Call
7.4.2
gethostbyname Function Call
7.4.3
inet_ntoa Function Call
7.4.4
inet_addr Function Call
7.5
Other Application Changes
7.5.1
Comparing IP Addresses
7.5.2
Comparing an IP Address to the Wildcard Address
7.5.3
Using int Data Types to Hold IP Addresses
7.5.4
Using Functions that Return IP Addresses
7.5.5
Changing Socket Options
7.6
Sample Client/Server Programs
7.6.1
Programs Using AF_INET Sockets
7.6.1.1
Client Program
7.6.1.2
Server Program
7.6.2
Programs Using AF_INET6 Sockets
7.6.2.1
Client Program
7.6.2.2
Server Program
7.6.3
Sample Program Output
Appendix A
Appendix A
Supported IPv6 RFCs
Appendix B
Appendix B
IPv6 Extensions to Management Commands and IPv6 Processes
B.1
IPv6 Extensions to Management Commands
B.1.1
ifconfig Command
B.1.2
iptunnel Command
B.1.3
netstat Command
B.1.4
traceroute Command
B.2
IPv6 Processes
B.2.1
TCPIP$ND6HOST
B.2.2
TCPIP$IP6RTRD Process
B.2.2.1
Interface Keyword Information
B.2.2.2
Address-Prefix Keyword Information
Appendix C
Appendix C
Deprecated Library Functions
C.1
getipnodebyname Function
C.2
getipnodebyaddr Function
C.3
freehostent Function
Examples
2-1
Sample TCPIP$IP6RTRD.CONF File
3-1
Sample IPV6.DB File
3-2
Sample IPV6.REV File
3-3
Sample TCPIP$BIND.CONF_IPV6 File
Figures
1-1
Unicast Addresses
1-2
64-Bit Prefix Plus 64-Bit Interface ID
1-3
IPv4-Compatible IPv6 Address
1-4
IPv4-Mapped IPv6 Address
1-5
IPv6 Link-Local Unicast Address
1-6
IPv6 Site-Local Unicast Address
1-7
IPv6 Multicast Address
1-8
Aggregatable Global Unicast Address Format
1-9
Aggregatable Testing Address Format
1-10
Host-to-Host Configuration with No Router
1-11
Host-to-Host Configuration with Router
1-12
IPv6 Network to IPv6 Network with Router Configuration
1-13
Multiple IPv6 Networks and Multiple Routers Configuration
1-14
Host-to-Host Configuration over Tunnel
1-15
Host-to-Router Configuration over Tunnel
1-16
IPv6 Network-to-IPv6 Network Configuration over Tunnel
2-1
Configuration Worksheet
2-2
Simple Host-to-Host Configuration
2-3
Host-to-Host with Router Configuration
2-4
IPv6 Network-to-IPv6 Network with Router Configuration
2-5
Multiple IPv6 Networks and Multiple Routers Configuration
2-6
Host-to-Host over Tunnel Configuration
2-7
Host-to-Router over Tunnel Configuration
2-8
Router Not Advertising a Global Address Prefix
2-9
Router Advertising a Global Address Prefix
2-10
Router A Not Advertising a Global Prefix on the Tunnel Link
2-11
IPv6 Network to IPv6 Network over Tunnel Configuration
7-1
Using AF_INET Socket for IPv4 Communications
7-2
Using AF_INET6 Socket to Send IPv4 Communications
7-3
Using AF_INET6 Socket to Receive IPv4 Communications
7-4
Using AF_INET6 Socket for IPv6 Communications
Tables
1
TCP/IP Services Documentation
1-1
Well-Known Multicast Addresses
1-2
IPv6 Address Types and Prefixes
6-1
ai_flags Member Values
6-2
Flag Bits
6-3
Summary of Address-Testing Macros
7-1
Name Changes
B-1
RFC 2461 Interface Keywords and Values
B-2
RFC 2461 Prefix Keywords
B-3
RFC 2080 Prefix Keywords
C-1
Node Name to Address Processing
C-2
AI_ADDRCONFIG Flag
C-3
AI_DEFAULT Flag
Previous
Next
Contents