Browse Prior Art Database

Advanced Sockets Application Program Interface (API) for IPv6 (RFC3542)

IP.com Disclosure Number: IPCOM000012844D
Original Publication Date: 2003-May-01
Included in the Prior Art Database: 2003-Jun-03

Publishing Venue

Internet Society Requests For Comment (RFCs)

Related People

W. Stevens: AUTHOR [+4]

Abstract

This document provides sockets Application Program Interface (API) to support "advanced" IPv6 applications, as a supplement to a separate specification, RFC 3493. The expected applications include Ping, Traceroute, routing daemons and the like, which typically use raw sockets to access IPv6 or ICMPv6 header fields. This document proposes some portable interfaces for applications that use raw sockets under IPv6. There are other features of IPv6 that some applications will need to access: interface identification (specifying the outgoing interface and determining the incoming interface), IPv6 extension headers, and path Maximum Transmission Unit (MTU) information. This document provides API access to these features too. Additionally, some extended interfaces to libraries for the "r" commands are defined. The extension will provide better backward compatibility to existing implementations that are not IPv6-capable.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 2% of the total text.

Network Working Group                                         W. Stevens

Request for Comments: 3542                                     M. Thomas

Obsoletes: 2292                                               Consultant

Category: Informational                                      E. Nordmark

                                                                     Sun

                                                               T. Jinmei

                                                                 Toshiba

                                                                May 2003

     Advanced Sockets Application Program Interface (API) for IPv6

Status of this Memo

   This memo provides information for the Internet community.  It does

   not specify an Internet standard of any kind.  Distribution of this

   memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (2003).  All Rights Reserved.

Abstract

   This document provides sockets Application Program Interface (API) to

   support "advanced" IPv6 applications, as a supplement to a separate

   specification, RFC 3493.  The expected applications include Ping,

   Traceroute, routing daemons and the like, which typically use raw

   sockets to access IPv6 or ICMPv6 header fields.  This document

   proposes some portable interfaces for applications that use raw

   sockets under IPv6.  There are other features of IPv6 that some

   applications will need to access: interface identification

   (specifying the outgoing interface and determining the incoming

   interface), IPv6 extension headers, and path Maximum Transmission

   Unit (MTU) information.  This document provides API access to these

   features too.  Additionally, some extended interfaces to libraries

   for the "r" commands are defined.  The extension will provide better

   backward compatibility to existing implementations that are not

   IPv6-capable.

Stevens, et al.              Informational                      [Page 1]

RFC 3542             Advanced Sockets API for IPv6              May 2003

Table of Contents

   1.   Introduction ..............................................  3

   2.   Common Structures and Definitions .........................  5

        2.1  The ip6_hdr Structure ................................  6

             2.1.1  IPv6 Next Header Values .......................  6

             2.1.2  IPv6 Extension Headers ........................  7

             2.1.3  IPv6 Options .............