CARVIEW |
Select Language
HTTP/2 200
date: Tue, 07 Oct 2025 07:58:47 GMT
content-type: application/xml
content-encoding: gzip
cache-control: public, max-age=3600
cross-origin-opener-policy: same-origin
expires: Tue, 07 Oct 2025 08:58:47 GMT
referrer-policy: same-origin
vary: Cookie, origin, Accept-Encoding
x-content-type-options: nosniff
x-frame-options: DENY
x-resolution-methods: manual;auto;fallback
x-resolution-outcomes: ;RfcAdapter: using docid IETF RFC 5014 -> using query @.type == "IETF" && @.primary == true && @.id == "RFC 5014" -> 1 found,;
last-modified: Tue, 07 Oct 2025 07:58:47 GMT
cf-cache-status: MISS
set-cookie: __cf_bm=BEd.cRnyUXQ69zQhQ4prB3SZ07SFsX1lddJ0VygMF18-1759823927-1.0.1.1-aHIqTIBkzEsgRZR0YOjpOPT0jVUQAtEdCoJBxa3jlKeuWQrbpkKauPyhZnt3PTqJ0u1iJhjNYgzTipOJOkeGCvv4E7uul3v3BHWIeEwjsLA; path=/; expires=Tue, 07-Oct-25 08:28:47 GMT; domain=.ietf.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98abdaf2feabccbb-BLR
alt-svc: h3=":443"; ma=86400
IPv6 Socket API for Source Address Selection
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.