IPv6 Socket API for Source Address Selection
RFC 5014, “IPv6 Socket API for Source Address Selection”, is an Informational document published in September 2007 by E. Nordmark, S. Chakrabarti, J. Laganier. The canonical text is published by the RFC Editor.
Abstract
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.
What “Informational” means
Published for the general information of the community. It does not define an IETF standard and carries no standards-track status.
The canonical text of RFC 5014 is hosted at rfc-editor.org. Available in TXT,HTML.
- RFC 5013 The Dublin Core Metadata Element Set
- RFC 5015 Bidirectional Protocol Independent Multicast
- RFC 5016 Requirements for a DomainKeys Identified Mail Signing Practices Protocol
- RFC 5011 Automated Updates of DNS Security Trust Anchors
- RFC 5017 MIB Textual Conventions for Uniform Resource Identifiers
- RFC 5010 The Dynamic Host Configuration Protocol Version 4 Relay Agent Flags Suboption
- RFC 5018 Connection Establishment in the Binary Floor Control Protocol
- RFC 5009 Private Header Extension to the Session Initiation Protocol for Authorization of Early Media