{"draft":"draft-chakrabarti-ipv6-addrselect-api-07","doc_id":"RFC5014","title":"IPv6 Socket API for Source Address Selection","authors":["E. Nordmark","S. Chakrabarti","J. Laganier"],"format":["ASCII","HTML"],"page_count":"24","pub_status":"INFORMATIONAL","status":"INFORMATIONAL","source":"IETF - NON WORKING GROUP","abstract":"The IPv6 default address selection document (RFC 3484) describes the\r\nrules for selecting source and destination IPv6 addresses, and\r\nindicates that applications should be able to reverse the sense of\r\nsome of the address selection rules through some unspecified API.\r\nHowever, no such socket API exists in the basic (RFC 3493) or\r\nadvanced (RFC 3542) IPv6 socket API documents. This document fills\r\nthat gap partially by specifying new socket-level options for source\r\naddress selection and flags for the getaddrinfo() API to specify\r\naddress selection based on the source address preference in\r\naccordance with the socket-level options that modify the default\r\nsource address selection algorithm. The socket API described in this\r\ndocument will be particularly useful for IPv6 applications that want\r\nto choose between temporary and public addresses, and for Mobile IPv6\r\naware applications that want to use the care-of address for\r\ncommunication. It also specifies socket options and flags for\r\nselecting Cryptographically Generated Address (CGA) or non-CGA source\r\naddresses. This memo provides information for the Internet community.","pub_date":"September 2007","keywords":["getaddrinfo()cga","cryptographically generated address"],"obsoletes":[],"obsoleted_by":[],"updates":[],"updated_by":[],"see_also":[],"doi":"10.17487\/RFC5014","errata_url":null}