RFC 5014 · INFORMATIONAL · 2007

IPv6 Socket API for Source Address Selection

Overview

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.

Abstract as published in the RFC, via rfc-editor.org.

What “Informational” means

Published for the general information of the community. It does not define an IETF standard and carries no standards-track status.

Read this RFC

The canonical text of RFC 5014 is hosted at rfc-editor.org. Available in TXT,HTML.

Other RFCs from 2007

Who Is Online

In total there are 65 users online: 0 registered, 59 guests and 6 bots.

Most users ever online was 1,226 on 13 Jun 2026, 3:56 am.

Bots: AhrefsBot Applebot Facebook Other Bot SemrushBot Sogou

Users active in the past 15 minutes. Total registered members: 354