The IPv6 default address selection document (RFC 3484) describes the
rules for selecting source and destination IPv6 addresses, and
indicates that applications should be able to reverse the sense of
some of the address selection rules through some unspecified API.
However, no such socket API exists in the basic (RFC 3493) or advanced
(RFC 3542) IPv6 socket API documents. This document fills that gap
partially by specifying new socket-level options for source address
selection and flags for the getaddrinfo() API to specify address
selection based on the source address preference in accordance with
the socket-level options that modify the default source address
selection algorithm. The socket API described in this document will be
particularly useful for IPv6 applications that want to choose between
temporary and public addresses, and for Mobile IPv6 aware applications
that want to use the care-of address for communication. It also
specifies socket options and flags for selecting Cryptographically
Generated Address (CGA) or non-CGA source addresses. This memo
provides information for the Internet community.
[1]
Pekka Nikander,et al.
SEcure Neighbor Discovery (SEND)
,
2005,
RFC.
[2]
Charles E. Perkins,et al.
Mobility support in IPv6
,
1996,
MobiCom '96.
[3]
Thomas Narten,et al.
Privacy Extensions for Stateless Address Autoconfiguration in IPv6
,
2001,
RFC.
[4]
Tuomas Aura,et al.
Cryptographically Generated Addresses (CGA)
,
2005,
ISC.
[5]
Robert E. Gilligan,et al.
Basic Socket Interface Extensions for IPv6
,
1997,
RFC.
[6]
Scott O. Bradner,et al.
Key words for use in RFCs to Indicate Requirement Levels
,
1997,
RFC.
[7]
Stephen E. Deering,et al.
Internet Protocol, Version 6 (IPv6) Specification
,
1995,
RFC.
[8]
Matt Thomas,et al.
Advanced Sockets Application Program Interface (API) for IPv6
,
2003,
RFC.