RFC4584 日本語訳

4584 Extension to Sockets API for Mobile IPv6. S. Chakrabarti, E.Nordmark. July 2006. (Format: TXT=53995 bytes) (Status: INFORMATIONAL)
プログラムでの自動翻訳です。
英語原文

Network Working Group                                     S. Chakrabarti
Request for Comments: 4584                                   E. Nordmark
Category: Informational                                 Sun Microsystems
                                                               July 2006

Network Working Group S. Chakrabarti Request for Comments: 4584 E. Nordmark Category: Informational Sun Microsystems July 2006

                Extension to Sockets API for Mobile IPv6

Extension to Sockets API for Mobile IPv6

Status of This Memo

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.

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 Notice

   Copyright (C) The Internet Society (2006).

Copyright (C) The Internet Society (2006).

Abstract

Abstract

   This document describes data structures and API support for Mobile
   IPv6 as an extension to the Advanced Socket API for IPv6.

This document describes data structures and API support for Mobile IPv6 as an extension to the Advanced Socket API for IPv6.

   Just as the Advanced Sockets API for IPv6 gives access to various
   extension headers and the ICMPv6 protocol, this document specifies
   the same level of access for Mobile IPv6 components.  It specifies a
   mechanism for applications to retrieve and set information for
   Mobility Header messages, Home Address destination options, and
   Routing Header Type 2 extension headers.  It also specifies the
   common data structures and definitions that might be used by certain
   advanced Mobile IPv6 socket applications.

Just as the Advanced Sockets API for IPv6 gives access to various extension headers and the ICMPv6 protocol, this document specifies the same level of access for Mobile IPv6 components. It specifies a mechanism for applications to retrieve and set information for Mobility Header messages, Home Address destination options, and Routing Header Type 2 extension headers. It also specifies the common data structures and definitions that might be used by certain advanced Mobile IPv6 socket applications.

Chakrabarti & Nordmark       Informational                      [Page 1]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

Chakrabarti & Nordmark Informational [Page 1] RFC 4584 Sockets for API for Mobile IPv6 July 2006

Table of Contents

Table of Contents

   1. Introduction ....................................................3
   2. Applicability ...................................................4
   3. Overview ........................................................5
   4. Common Structures and Definitions ...............................6
      4.1. The Mobility Header Data Structures ........................6
           4.1.1. The ip6_mh Structure ................................6
           4.1.2. Binding Refresh Request Mobility Message ............7
           4.1.3. Home Address Test Init (HoTI) Message ...............7
           4.1.4. Care-of Address Test Init (CoTI) Message ............7
           4.1.5. Home Address Test (HOT) Message .....................8
           4.1.6. Care Of Address Test (COT) Message ..................8
           4.1.7. Binding Update Mobility Message .....................8
           4.1.8. Binding Acknowledgement Mobility Message ............9
           4.1.9. Binding Error Mobility Message ......................9
           4.1.10. Mobility Option TLV data structure .................9
           4.1.11. Mobility Option Data Structures ...................10
                  4.1.11.1. Binding Refresh Advice ...................10
                  4.1.11.2. Alternate Care-of Address ................10
                  4.1.11.3. Nonce Indices ............................10
                  4.1.11.4. Binding Authorization Data ...............10
      4.2. Mobility Header Constants .................................10
      4.3. IPv6 Home Address Destination Option ......................12
      4.4. Type 2 Routing Header .....................................12
      4.5. New ICMP Messages for Mobile IPv6 .........................13
      4.6. IPv6 Neighbor Discovery Changes ...........................14
   5. Access to Home Address Destination Option and Routing Headers ..15
      5.1. Routing Header Access Functions ...........................17
      5.2. Content of Type 2 Routing Header ..........................18
      5.3. Order of Extension Headers for Home Address
           Destination Options .......................................19
      5.4. Home Address Destination Option Access Functions ..........20
      5.5. Content of Home Address Destination Option ................20
   6. Mobility Protocol Headers ......................................21
      6.1. Receiving and Sending Mobility Header Messages ............21
   7. Protocols File .................................................22
   8. IPv4-Mapped IPv6 Addresses .....................................23
   9. Security Considerations ........................................23
   10. IANA Considerations ...........................................23
   11. Acknowledgements ..............................................23
   12. References ....................................................24
      12.1. Normative References .....................................24
      12.2. Informative References ...................................24

1. Introduction ....................................................3 2. Applicability ...................................................4 3. Overview ........................................................5 4. Common Structures and Definitions ...............................6 4.1. The Mobility Header Data Structures ........................6 4.1.1. The ip6_mh Structure ................................6 4.1.2. Binding Refresh Request Mobility Message ............7 4.1.3. Home Address Test Init (HoTI) Message ...............7 4.1.4. Care-of Address Test Init (CoTI) Message ............7 4.1.5. Home Address Test (HOT) Message .....................8 4.1.6. Care Of Address Test (COT) Message ..................8 4.1.7. Binding Update Mobility Message .....................8 4.1.8. Binding Acknowledgement Mobility Message ............9 4.1.9. Binding Error Mobility Message ......................9 4.1.10. Mobility Option TLV data structure .................9 4.1.11. Mobility Option Data Structures ...................10 4.1.11.1. Binding Refresh Advice ...................10 4.1.11.2. Alternate Care-of Address ................10 4.1.11.3. Nonce Indices ............................10 4.1.11.4. Binding Authorization Data ...............10 4.2. Mobility Header Constants .................................10 4.3. IPv6 Home Address Destination Option ......................12 4.4. Type 2 Routing Header .....................................12 4.5. New ICMP Messages for Mobile IPv6 .........................13 4.6. IPv6 Neighbor Discovery Changes ...........................14 5. Access to Home Address Destination Option and Routing Headers ..15 5.1. Routing Header Access Functions ...........................17 5.2. Content of Type 2 Routing Header ..........................18 5.3. Order of Extension Headers for Home Address Destination Options .......................................19 5.4. Home Address Destination Option Access Functions ..........20 5.5. Content of Home Address Destination Option ................20 6. Mobility Protocol Headers ......................................21 6.1. Receiving and Sending Mobility Header Messages ............21 7. Protocols File .................................................22 8. IPv4-Mapped IPv6 Addresses .....................................23 9. Security Considerations ........................................23 10. IANA Considerations ...........................................23 11. Acknowledgements ..............................................23 12. References ....................................................24 12.1. Normative References .....................................24 12.2. Informative References ...................................24

Chakrabarti & Nordmark       Informational                      [Page 2]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

Chakrabarti & Nordmark Informational [Page 2] RFC 4584 Sockets for API for Mobile IPv6 July 2006

1.  Introduction

1. Introduction

   Mobility Support in IPv6 [2] defines a new Mobility Protocol header,
   a Home Address destination option and a new Routing Header type.  It
   is expected that Mobile IPv6 user-level implementations and some
   special applications will need to access and process these IPv6
   extension headers.  This document is an extension to the existing
   Advanced Sockets API document [1]; it addresses the Advanced IPv6
   Sockets API for these new protocol elements defined by Mobile IPv6.

Mobility Support in IPv6 [2] defines a new Mobility Protocol header, a Home Address destination option and a new Routing Header type. It is expected that Mobile IPv6 user-level implementations and some special applications will need to access and process these IPv6 extension headers. This document is an extension to the existing Advanced Sockets API document [1]; it addresses the Advanced IPv6 Sockets API for these new protocol elements defined by Mobile IPv6.

   The applicability of this API mainly targets user-level applications.
   However, it has also been shown to be useful within some Mobile IPv6
   implementations; for instance, where part of the Mobile IPv6 protocol
   is implemented at user-level and part in the kernel.  It is up to any
   such implementations to architect which part of the Mobile IPv6 and
   IP Security (IPSec) packet processing should be done at the user-
   level in order to meet the design needs of the particular platform
   and operating system.

The applicability of this API mainly targets user-level applications. However, it has also been shown to be useful within some Mobile IPv6 implementations; for instance, where part of the Mobile IPv6 protocol is implemented at user-level and part in the kernel. It is up to any such implementations to architect which part of the Mobile IPv6 and IP Security (IPSec) packet processing should be done at the user- level in order to meet the design needs of the particular platform and operating system.

   The target user-level applications for this socket API are believed
   to be debugging and diagnostic applications and some policy
   applications that would like to receive copies of protocol
   information at the application layer.

The target user-level applications for this socket API are believed to be debugging and diagnostic applications and some policy applications that would like to receive copies of protocol information at the application layer.

   The packet information and access to the extension headers (Routing
   header and Destination options) are specified using the "ancillary
   data" fields that were added to the 4.3BSD Reno sockets API in 1990.
   The reason is that these ancillary data fields are part of the
   Posix.1g standard and should therefore be adopted by most vendors.
   This document is consistent with Advanced Sockets API for IPv6 [1] in
   structure definitions, header files, and function definitions.  Thus,
   the implementors of this API document are assumed to be familiar with
   the data structures, data sending and receiving procedures, and the
   IPv6 extension header access functions described in the Advanced
   Sockets API for IPv6 [1].

The packet information and access to the extension headers (Routing header and Destination options) are specified using the "ancillary data" fields that were added to the 4.3BSD Reno sockets API in 1990. The reason is that these ancillary data fields are part of the Posix.1g standard and should therefore be adopted by most vendors. This document is consistent with Advanced Sockets API for IPv6 [1] in structure definitions, header files, and function definitions. Thus, the implementors of this API document are assumed to be familiar with the data structures, data sending and receiving procedures, and the IPv6 extension header access functions described in the Advanced Sockets API for IPv6 [1].

   Non-goals

Non-goals

   This document does not address application access to either the
   Authentication Header or the Encapsulating Security Payload header.
   This document also does not address any API that might be necessary
   for Mobile Network [4] specific needs.  Furthermore, note that this
   API document excludes discussion on application-level API.  It
   assumes that address selection socket API [5] takes care of selection
   of care-of address or home address as the source address by the
   application, when source address selection is required due to the
   nature of the application.

This document does not address application access to either the Authentication Header or the Encapsulating Security Payload header. This document also does not address any API that might be necessary for Mobile Network [4] specific needs. Furthermore, note that this API document excludes discussion on application-level API. It assumes that address selection socket API [5] takes care of selection of care-of address or home address as the source address by the application, when source address selection is required due to the nature of the application.

Chakrabarti & Nordmark       Informational                      [Page 3]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

Chakrabarti & Nordmark Informational [Page 3] RFC 4584 Sockets for API for Mobile IPv6 July 2006

   Providing mobility "awareness" to applications, such as applications'
   being able to tell whether the host is at home or not, is out of
   scope for this API.

Providing mobility "awareness" to applications, such as applications' being able to tell whether the host is at home or not, is out of scope for this API.

2.  Applicability

2. Applicability

   This API document can be applied in the following cases:

This API document can be applied in the following cases:

   1.  User-level debugging and monitoring tools: This socket API is
       useful for accessing Mobility Headers, Home Address destination
       options and Type 2 Routing Headers .  For example, mh-ping might
       be a monitoring tool that can process mobility headers on the
       receiving side to check binding status.

1. User-level debugging and monitoring tools: This socket API is useful for accessing Mobility Headers, Home Address destination options and Type 2 Routing Headers . For example, mh-ping might be a monitoring tool that can process mobility headers on the receiving side to check binding status.

   2.  Partial user-level implementation of Mobile IPv6: We assume that
       some implementations may choose to do the Mobility header
       processing at user level.  In that case, this document recommends
       implementing at least the handling of Home Address destination
       options and Type 2 Routing Header in the main IP processing paths
       in the kernel.  The API can then be used to send and receive the
       Mobility Header packets used for Mobile IPv6 signaling.

2. Partial user-level implementation of Mobile IPv6: We assume that some implementations may choose to do the Mobility header processing at user level. In that case, this document recommends implementing at least the handling of Home Address destination options and Type 2 Routing Header in the main IP processing paths in the kernel. The API can then be used to send and receive the Mobility Header packets used for Mobile IPv6 signaling.

   3.  Complete header processing at the kernel-level: Many
       implementations of Mobile IPv6 [2] perform processing of Home
       Address destination options, Type 2 Routing Headers, and Mobility
       headers at the kernel level.  However, the kernel keeps a copy of
       the received extension headers and passes them up to the API,
       which is used by the user-level applications purely for
       monitoring and debugging Mobile IPv6 packets.

3. Complete header processing at the kernel-level: Many implementations of Mobile IPv6 [2] perform processing of Home Address destination options, Type 2 Routing Headers, and Mobility headers at the kernel level. However, the kernel keeps a copy of the received extension headers and passes them up to the API, which is used by the user-level applications purely for monitoring and debugging Mobile IPv6 packets.

   On an IPv6 host that does not implement Mobile IPv6, the IPv6
   specification [3] requires that packets with the Home Address option
   or Type 2 Routing Header (where segments left is non-zero) be dropped
   on receipt.  This means that it is not possible to implement Mobile
   IPv6 as an application on such a system.  Thus, on such a system, the
   applicability of this API is limited to the first case above,
   enabling debugging and monitoring applications (such as tcpdump) to
   parse and interpret Mobile IPv6 packets.

On an IPv6 host that does not implement Mobile IPv6, the IPv6 specification [3] requires that packets with the Home Address option or Type 2 Routing Header (where segments left is non-zero) be dropped on receipt. This means that it is not possible to implement Mobile IPv6 as an application on such a system. Thus, on such a system, the applicability of this API is limited to the first case above, enabling debugging and monitoring applications (such as tcpdump) to parse and interpret Mobile IPv6 packets.

Chakrabarti & Nordmark       Informational                      [Page 4]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

Chakrabarti & Nordmark Informational [Page 4] RFC 4584 Sockets for API for Mobile IPv6 July 2006

3.  Overview

3. Overview

   This document can be divided into the following parts:

This document can be divided into the following parts:

   1.  Definitions of constants and structures for C programs that
       capture the Mobile IPv6 packet formats on the wire.  A common
       definition of these is useful at least for packet snooping
       applications.  This is captured in Section 4.  In addition,
       Section 4 also defines data structures for Home Address
       destination option, Type 2 Routing Header, and new ICMPv6
       messages related to Mobile IPv6.

1. Definitions of constants and structures for C programs that capture the Mobile IPv6 packet formats on the wire. A common definition of these is useful at least for packet snooping applications. This is captured in Section 4. In addition, Section 4 also defines data structures for Home Address destination option, Type 2 Routing Header, and new ICMPv6 messages related to Mobile IPv6.

   2.  Notes on how to use the IPv6 Advanced API to access Home Address
       options and Type 2 Routing Headers.  This is captured in Section
       5.

2. Notes on how to use the IPv6 Advanced API to access Home Address options and Type 2 Routing Headers. This is captured in Section 5.

   3.  Notes on how user-level applications can observe MH (Mobility
       Header) packets using raw sockets (in Section 6).  The IPv6 RAW
       socket interface described in this document allows applications
       to receive  MH packets whether or not the system's MH processing
       takes place in the "kernel" or at the "user space".

3. Notes on how user-level applications can observe MH (Mobility Header) packets using raw sockets (in Section 6). The IPv6 RAW socket interface described in this document allows applications to receive MH packets whether or not the system's MH processing takes place in the "kernel" or at the "user space".

   4.  A name is suggested for IPv6 Mobility Header protocol in /etc/
       protocols (in Section 7).

4. A name is suggested for IPv6 Mobility Header protocol in /etc/ protocols (in Section 7).

   All examples in this document omit error checking in favor of
   brevity, as it is following the same style as the Advanced Socket API
   [1].

All examples in this document omit error checking in favor of brevity, as it is following the same style as the Advanced Socket API [1].

   Note that many of the functions and socket options defined in this
   document may have error returns that are not defined in this
   document.

Note that many of the functions and socket options defined in this document may have error returns that are not defined in this document.

   Data types in this document follow the Posix.1g format: intN_t means
   a signed integer of exactly N bits (e.g., int16_t), and uintN_t means
   an unsigned integer of exactly N bits (e.g., uint32_t).

Data types in this document follow the Posix.1g format: intN_t means a signed integer of exactly N bits (e.g., int16_t), and uintN_t means an unsigned integer of exactly N bits (e.g., uint32_t).

   Once the API specification becomes mature and is deployed, it may be
   formally standardized by a more appropriate body, as has been done
   with the Basic API [6].  However, since this specification largely
   builds upon the Advanced Socket API [1], such standardization would
   make sense only if the Advanced Socket API [1] were also
   standardized.

Once the API specification becomes mature and is deployed, it may be formally standardized by a more appropriate body, as has been done with the Basic API [6]. However, since this specification largely builds upon the Advanced Socket API [1], such standardization would make sense only if the Advanced Socket API [1] were also standardized.

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED",  "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC 2119.

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Chakrabarti & Nordmark       Informational                      [Page 5]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

Chakrabarti & Nordmark Informational [Page 5] RFC 4584 Sockets for API for Mobile IPv6 July 2006

4.  Common Structures and Definitions

4. Common Structures and Definitions

   In this section, the structures are specified in a way so that they
   maximize the probability that the compiler-layout of data structures
   are identical to the packet formats on the wire.  However, ANSI-C
   provides few guarantees about the size and alignment of data
   structures.

In this section, the structures are specified in a way so that they maximize the probability that the compiler-layout of data structures are identical to the packet formats on the wire. However, ANSI-C provides few guarantees about the size and alignment of data structures.

   The assumption is that the Advanced Socket API [1] will pass up the
   actual packet content (the wire format) in the buffer and in the
   ancillary data objects.  Thus, if an implementor has to handle a
   system where the ANSI-C compiler does not and can not lay out these
   structures to match the wire formats in RFC 3775 [2], the structures
   defined by this API can not be supported on such a system.

The assumption is that the Advanced Socket API [1] will pass up the actual packet content (the wire format) in the buffer and in the ancillary data objects. Thus, if an implementor has to handle a system where the ANSI-C compiler does not and can not lay out these structures to match the wire formats in RFC 3775 [2], the structures defined by this API can not be supported on such a system.

   The constants and structures shown below are in network byte order,
   so an application needs to perform the appropriate byte order
   conversion (ntohs(), etc) when necessary.

The constants and structures shown below are in network byte order, so an application needs to perform the appropriate byte order conversion (ntohs(), etc) when necessary.

   The structures and constants below will be included when the (new)
   header file is included : <netinet/ip6mh.h>

The structures and constants below will be included when the (new) header file is included : <netinet/ip6mh.h>

4.1.  The Mobility Header Data Structures

4.1. The Mobility Header Data Structures

4.1.1.  The ip6_mh Structure

4.1.1. The ip6_mh Structure

   The following structure is defined as a result of including
   <netinet/ip6mh.h>.  This is the fixed part of the Mobility Header.
   Different Mobility message types are defined in Mobile IPv6 [2].  For
   portability and alignment reasons, each mobility message type
   includes the mobility header fields instead of including the ip6_mh
   structure, followed by the message-specific fields.

The following structure is defined as a result of including <netinet/ip6mh.h>. This is the fixed part of the Mobility Header. Different Mobility message types are defined in Mobile IPv6 [2]. For portability and alignment reasons, each mobility message type includes the mobility header fields instead of including the ip6_mh structure, followed by the message-specific fields.

      struct  ip6_mh {
          uint8_t    ip6mh_proto;   /* NO_NXTHDR by default */
          uint8_t    ip6mh_hdrlen;  /* Header Len in unit of 8 Octets
                                       excluding the first 8 Octets */
          uint8_t    ip6mh_type;    /* Type of Mobility Header */
          uint8_t    ip6mh_reserved;   /* Reserved */
          uint16_t   ip6mh_cksum;   /* Mobility Header Checksum */
          /* Followed by type specific messages */
      };

struct ip6_mh { uint8_t ip6mh_proto; /* NO_NXTHDR by default */ uint8_t ip6mh_hdrlen; /* Header Len in unit of 8 Octets excluding the first 8 Octets */ uint8_t ip6mh_type; /* Type of Mobility Header */ uint8_t ip6mh_reserved; /* Reserved */ uint16_t ip6mh_cksum; /* Mobility Header Checksum */ /* Followed by type specific messages */ };

Chakrabarti & Nordmark       Informational                      [Page 6]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

Chakrabarti & Nordmark Informational [Page 6] RFC 4584 Sockets for API for Mobile IPv6 July 2006

4.1.2.  Binding Refresh Request Mobility Message

4.1.2. Binding Refresh Request Mobility Message

      struct  ip6_mh_binding_request {
          uint8_t    ip6mhbr_proto;
          uint8_t    ip6mhbr_hdrlen;
          uint8_t    ip6mhbr_type;
          uint8_t    ip6mhbr_reserved;
          uint16_t   ip6mhbr_cksum;
          uint16_t   ip6mhbr_reserved2;
          /* Followed by optional Mobility Options */
      };

struct ip6_mh_binding_request { uint8_t ip6mhbr_proto; uint8_t ip6mhbr_hdrlen; uint8_t ip6mhbr_type; uint8_t ip6mhbr_reserved; uint16_t ip6mhbr_cksum; uint16_t ip6mhbr_reserved2; /* Followed by optional Mobility Options */ };

4.1.3.  Home Address Test Init (HoTI) Message

4.1.3. Home Address Test Init (HoTI) Message

      struct   ip6_mh_home_test_init {
         uint8_t    ip6mhhti_proto;
         uint8_t    ip6mhhti_hdrlen;
         uint8_t    ip6mhhti_type;
         uint8_t    ip6mhhti_reserved;
         uint16_t   ip6mhhti_cksum;
         uint16_t   ip6mhhti_reserved2;
         uint32_t   ip6mhhti_cookie[2]; /* 64 bit Cookie by MN */
         /* Followed by optional Mobility Options */
      };

struct ip6_mh_home_test_init { uint8_t ip6mhhti_proto; uint8_t ip6mhhti_hdrlen; uint8_t ip6mhhti_type; uint8_t ip6mhhti_reserved; uint16_t ip6mhhti_cksum; uint16_t ip6mhhti_reserved2; uint32_t ip6mhhti_cookie[2]; /* 64 bit Cookie by MN */ /* Followed by optional Mobility Options */ };

4.1.4.  Care-of Address Test Init (CoTI) Message

4.1.4. Care-of Address Test Init (CoTI) Message

      struct   ip6_mh_careof_test_init {
         uint8_t    ip6mhcti_proto;
         uint8_t    ip6mhcti_hdrlen;
         uint8_t    ip6mhcti_type;
         uint8_t    ip6mhcti_reserved;
         uint16_t   ip6mhcti_cksum;
         uint16_t   ip6mhcti_reserved2;
         uint32_t   ip6mhcti_cookie[2]; /* 64 bit Cookie by MN */
         /* Followed by optional Mobility Options */
      };

struct ip6_mh_careof_test_init { uint8_t ip6mhcti_proto; uint8_t ip6mhcti_hdrlen; uint8_t ip6mhcti_type; uint8_t ip6mhcti_reserved; uint16_t ip6mhcti_cksum; uint16_t ip6mhcti_reserved2; uint32_t ip6mhcti_cookie[2]; /* 64 bit Cookie by MN */ /* Followed by optional Mobility Options */ };

Chakrabarti & Nordmark       Informational                      [Page 7]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

Chakrabarti & Nordmark Informational [Page 7] RFC 4584 Sockets for API for Mobile IPv6 July 2006

4.1.5.  Home Address Test (HOT) Message

4.1.5. Home Address Test (HOT) Message

       struct  ip6_mh_home_test {
          uint8_t    ip6mhht_proto;
          uint8_t    ip6mhht_hdrlen;
          uint8_t    ip6mhht_type;
          uint8_t    ip6mhht_reserved;
          uint16_t   ip6mhht_cksum;
          uint16_t   ip6mhht_nonce_index;
          uint32_t   ip6mhht_cookie[2];    /* Cookie from HOTI msg */
          uint32_t   ip6mhht_keygen[2];  /* 64 Bit Key by CN */
          /* Followed by optional Mobility Options */
      };

struct ip6_mh_home_test { uint8_t ip6mhht_proto; uint8_t ip6mhht_hdrlen; uint8_t ip6mhht_type; uint8_t ip6mhht_reserved; uint16_t ip6mhht_cksum; uint16_t ip6mhht_nonce_index; uint32_t ip6mhht_cookie[2]; /* Cookie from HOTI msg */ uint32_t ip6mhht_keygen[2]; /* 64 Bit Key by CN */ /* Followed by optional Mobility Options */ };

4.1.6.  Care Of Address Test (COT) Message

4.1.6. Care Of Address Test (COT) Message

      struct  ip6_mh_careof_test {
         uint8_t    ip6mhct_proto;
         uint8_t    ip6mhct_hdrlen;
         uint8_t    ip6mhct_type;
         uint8_t    ip6mhct_reserved;
         uint16_t   ip6mhct_cksum;
         uint16_t   ip6mhct_nonce_index;
         uint32_t   ip6mhct_cookie[2]; /* Cookie from COTI message */
         uint32_t   ip6mhct_keygen[2];  /* 64bit key by CN */
         /* Followed by optional Mobility Options */
      };

struct ip6_mh_careof_test { uint8_t ip6mhct_proto; uint8_t ip6mhct_hdrlen; uint8_t ip6mhct_type; uint8_t ip6mhct_reserved; uint16_t ip6mhct_cksum; uint16_t ip6mhct_nonce_index; uint32_t ip6mhct_cookie[2]; /* Cookie from COTI message */ uint32_t ip6mhct_keygen[2]; /* 64bit key by CN */ /* Followed by optional Mobility Options */ };

4.1.7.  Binding Update Mobility Message

4.1.7. Binding Update Mobility Message

      struct ip6_mh_binding_update {
          uint8_t     ip6mhbu_proto;
          uint8_t     ip6mhbu_hdrlen;
          uint8_t     ip6mhbu_type;
          uint8_t     ip6mhbu_reserved;
          uint16_t    ip6mhbu_cksum;
          uint16_t    ip6mhbu_seqno;      /* Sequence Number */
          uint16_t    ip6mhbu_flags;
          uint16_t    ip6mhbu_lifetime; /* Time in unit of 4 sec */
          /* Followed by optional Mobility Options */
      };

struct ip6_mh_binding_update { uint8_t ip6mhbu_proto; uint8_t ip6mhbu_hdrlen; uint8_t ip6mhbu_type; uint8_t ip6mhbu_reserved; uint16_t ip6mhbu_cksum; uint16_t ip6mhbu_seqno; /* Sequence Number */ uint16_t ip6mhbu_flags; uint16_t ip6mhbu_lifetime; /* Time in unit of 4 sec */ /* Followed by optional Mobility Options */ };

       /* Binding Update Flags, in network byte-order */
       #define IP6_MH_BU_ACK    0x8000  /* Request a binding ack */
       #define IP6_MH_BU_HOME   0x4000  /* Home Registration */
       #define IP6_MH_BU_LLOCAL 0x2000  /* Link-local compatibility */
       #define IP6_MH_BU_KEYM   0x1000  /* Key management mobility  */

/* Binding Update Flags, in network byte-order */ #define IP6_MH_BU_ACK 0x8000 /* Request a binding ack */ #define IP6_MH_BU_HOME 0x4000 /* Home Registration */ #define IP6_MH_BU_LLOCAL 0x2000 /* Link-local compatibility */ #define IP6_MH_BU_KEYM 0x1000 /* Key management mobility */

Chakrabarti & Nordmark       Informational                      [Page 8]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

Chakrabarti & Nordmark Informational [Page 8] RFC 4584 Sockets for API for Mobile IPv6 July 2006

4.1.8.  Binding Acknowledgement Mobility Message

4.1.8. Binding Acknowledgement Mobility Message

      struct  ip6_mh_binding_ack {
         uint8_t   ip6mhba_proto;
         uint8_t   ip6mhba_hdrlen;
         uint8_t   ip6mhba_type;
         uint8_t   ip6mhba_reserved;
         uint16_t  ip6mhba_cksum;
         uint8_t   ip6mhba_status;    /* Status code */
         uint8_t   ip6mhba_flags;
         uint16_t  ip6mhba_seqno;
         uint16_t  ip6mhba_lifetime;
         /* Followed by optional Mobility Options */
      };

struct ip6_mh_binding_ack { uint8_t ip6mhba_proto; uint8_t ip6mhba_hdrlen; uint8_t ip6mhba_type; uint8_t ip6mhba_reserved; uint16_t ip6mhba_cksum; uint8_t ip6mhba_status; /* Status code */ uint8_t ip6mhba_flags; uint16_t ip6mhba_seqno; uint16_t ip6mhba_lifetime; /* Followed by optional Mobility Options */ };

       /* Binding Acknowledgement Flags */
       #define IP6_MH_BA_KEYM       0x80  /* Key management mobility */

/* Binding Acknowledgement Flags */ #define IP6_MH_BA_KEYM 0x80 /* Key management mobility */

4.1.9.  Binding Error Mobility Message

4.1.9. Binding Error Mobility Message

       struct   ip6_mh_binding_error {
          uint8_t   ip6mhbe_proto;
          uint8_t   ip6mhbe_hdrlen;
          uint8_t   ip6mhbe_type;
          uint8_t   ip6mhbe_reserved;
          uint16_t  ip6mhbe_cksum;
          uint8_t   ip6mhbe_status;  /* Error Status */
          uint8_t   ip6mhbe_reserved2;
          struct in6_addr ip6mhbe_homeaddr;
          /* Followed by optional Mobility Options */
        };

struct ip6_mh_binding_error { uint8_t ip6mhbe_proto; uint8_t ip6mhbe_hdrlen; uint8_t ip6mhbe_type; uint8_t ip6mhbe_reserved; uint16_t ip6mhbe_cksum; uint8_t ip6mhbe_status; /* Error Status */ uint8_t ip6mhbe_reserved2; struct in6_addr ip6mhbe_homeaddr; /* Followed by optional Mobility Options */ };

4.1.10.  Mobility Option TLV data structure

4.1.10. Mobility Option TLV data structure

      struct   ip6_mh_opt {
         uint8_t    ip6mhopt_type;   /* Option Type */
         uint8_t    ip6mhopt_len;    /* Option Length */
         /* Followed by variable length Option Data in bytes */
      };

struct ip6_mh_opt { uint8_t ip6mhopt_type; /* Option Type */ uint8_t ip6mhopt_len; /* Option Length */ /* Followed by variable length Option Data in bytes */ };

Chakrabarti & Nordmark       Informational                      [Page 9]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

Chakrabarti & Nordmark Informational [Page 9] RFC 4584 Sockets for API for Mobile IPv6 July 2006

4.1.11.  Mobility Option Data Structures

4.1.11. Mobility Option Data Structures

4.1.11.1.  Binding Refresh Advice

4.1.11.1. Binding Refresh Advice

      struct ip6_mh_opt_refresh_advice {
          uint8_t  ip6mora_type;
          uint8_t  ip6mora_len;
          uint16_t ip6mora_interval; /* Refresh interval in 4 sec */
      };

struct ip6_mh_opt_refresh_advice { uint8_t ip6mora_type; uint8_t ip6mora_len; uint16_t ip6mora_interval; /* Refresh interval in 4 sec */ };

4.1.11.2.  Alternate Care-of Address

4.1.11.2. Alternate Care-of Address

      struct ip6_mh_opt_altcoa {
          uint8_t ip6moa_type;
          uint8_t ip6moa_len;
          struct in6_addr ip6moa_addr; /* Alternate CoA */
      };

struct ip6_mh_opt_altcoa { uint8_t ip6moa_type; uint8_t ip6moa_len; struct in6_addr ip6moa_addr; /* Alternate CoA */ };

4.1.11.3.  Nonce Indices

4.1.11.3. Nonce Indices

      struct ip6_mh_opt_nonce_index {
          uint8_t ip6moni_type;
          uint8_t ip6moni_len;
          uint16_t ip6moni_home_nonce;
          uint16_t ip6moni_coa_nonce;
      };

struct ip6_mh_opt_nonce_index { uint8_t ip6moni_type; uint8_t ip6moni_len; uint16_t ip6moni_home_nonce; uint16_t ip6moni_coa_nonce; };

4.1.11.4.  Binding Authorization Data

4.1.11.4. Binding Authorization Data

      struct ip6_mh_opt_auth_data {
          uint8_t ip6moad_type;
          uint8_t ip6moad_len;
          uint8_t ip6moad_data[12];
      };

struct ip6_mh_opt_auth_data { uint8_t ip6moad_type; uint8_t ip6moad_len; uint8_t ip6moad_data[12]; };

4.2.  Mobility Header Constants

4.2. Mobility Header Constants

   IPv6 Next Header Value for Mobility:

IPv6 Next Header Value for Mobility:

      <netinet/in.h>

<netinet/in.h>

      #define IPPROTO_MH       135 /* IPv6 Mobility Header: IANA */

#define IPPROTO_MH 135 /* IPv6 Mobility Header: IANA */

Chakrabarti & Nordmark       Informational                     [Page 10]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

Chakrabarti & Nordmark Informational [Page 10] RFC 4584 Sockets for API for Mobile IPv6 July 2006

      Mobility Header Message Types:

Mobility Header Message Types:

      <netinet/ip6mh.h>

<netinet/ip6mh.h>

      #define IP6_MH_TYPE_BRR       0   /* Binding Refresh Request */
      #define IP6_MH_TYPE_HOTI      1   /* HOTI Message   */
      #define IP6_MH_TYPE_COTI      2   /* COTI Message  */
      #define IP6_MH_TYPE_HOT       3   /* HOT Message   */
      #define IP6_MH_TYPE_COT       4   /* COT Message  */
      #define IP6_MH_TYPE_BU        5   /* Binding Update */
      #define IP6_MH_TYPE_BACK      6   /* Binding ACK */
      #define IP6_MH_TYPE_BERROR    7   /* Binding Error */

#define IP6_MH_TYPE_BRR 0 /* Binding Refresh Request */ #define IP6_MH_TYPE_HOTI 1 /* HOTI Message */ #define IP6_MH_TYPE_COTI 2 /* COTI Message */ #define IP6_MH_TYPE_HOT 3 /* HOT Message */ #define IP6_MH_TYPE_COT 4 /* COT Message */ #define IP6_MH_TYPE_BU 5 /* Binding Update */ #define IP6_MH_TYPE_BACK 6 /* Binding ACK */ #define IP6_MH_TYPE_BERROR 7 /* Binding Error */

   Mobility Header Message Option Types:

Mobility Header Message Option Types:

   <netinet/ip6mh.h>

<netinet/ip6mh.h>

      #define  IP6_MHOPT_PAD1       0x00  /* PAD1 */
      #define  IP6_MHOPT_PADN       0x01  /* PADN */
      #define  IP6_MHOPT_BREFRESH   0x02  /* Binding Refresh */
      #define  IP6_MHOPT_ALTCOA     0x03  /* Alternate COA */
      #define  IP6_MHOPT_NONCEID    0x04  /* Nonce Index */
      #define  IP6_MHOPT_BAUTH      0x05  /* Binding Auth Data */

#define IP6_MHOPT_PAD1 0x00 /* PAD1 */ #define IP6_MHOPT_PADN 0x01 /* PADN */ #define IP6_MHOPT_BREFRESH 0x02 /* Binding Refresh */ #define IP6_MHOPT_ALTCOA 0x03 /* Alternate COA */ #define IP6_MHOPT_NONCEID 0x04 /* Nonce Index */ #define IP6_MHOPT_BAUTH 0x05 /* Binding Auth Data */

   Status values accompanied with Mobility Binding Acknowledgement:

Status values accompanied with Mobility Binding Acknowledgement:

   <netinet/ip6mh.h>

<netinet/ip6mh.h>

      #define IP6_MH_BAS_ACCEPTED          0   /* BU accepted */
      #define IP6_MH_BAS_PRFX_DISCOV       1   /* Accepted, but prefix
                                                  discovery Required */
      #define IP6_MH_BAS_UNSPECIFIED       128 /* Reason unspecified */
      #define IP6_MH_BAS_PROHIBIT          129 /* Administratively
                                                  prohibited */
      #define IP6_MH_BAS_INSUFFICIENT      130 /* Insufficient
                                                  resources */
      #define IP6_MH_BAS_HA_NOT_SUPPORTED  131 /* HA registration not
                                                  supported */
      #define IP6_MH_BAS_NOT_HOME_SUBNET   132  /* Not Home subnet */
      #define IP6_MH_BAS_NOT_HA            133  /* Not HA for this
                                                   mobile node */
      #define IP6_MH_BAS_DAD_FAILED        134  /* DAD failed */
      #define IP6_MH_BAS_SEQNO_BAD         135  /* Sequence number out
                                                   of range */

#define IP6_MH_BAS_ACCEPTED 0 /* BU accepted */ #define IP6_MH_BAS_PRFX_DISCOV 1 /* Accepted, but prefix discovery Required */ #define IP6_MH_BAS_UNSPECIFIED 128 /* Reason unspecified */ #define IP6_MH_BAS_PROHIBIT 129 /* Administratively prohibited */ #define IP6_MH_BAS_INSUFFICIENT 130 /* Insufficient resources */ #define IP6_MH_BAS_HA_NOT_SUPPORTED 131 /* HA registration not supported */ #define IP6_MH_BAS_NOT_HOME_SUBNET 132 /* Not Home subnet */ #define IP6_MH_BAS_NOT_HA 133 /* Not HA for this mobile node */ #define IP6_MH_BAS_DAD_FAILED 134 /* DAD failed */ #define IP6_MH_BAS_SEQNO_BAD 135 /* Sequence number out of range */

Chakrabarti & Nordmark       Informational                     [Page 11]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

Chakrabarti & Nordmark Informational [Page 11] RFC 4584 Sockets for API for Mobile IPv6 July 2006

      #define IP6_MH_BAS_HOME_NI_EXPIRED   136  /* Expired Home nonce
                                                   index */
      #define IP6_MH_BAS_COA_NI_EXPIRED    137  /* Expired Care-of
                                                   nonce index */
      #define IP6_MH_BAS_NI_EXPIRED        138  /* Expired Nonce
                                                   Indices */
      #define IP6_MH_BAS_REG_NOT_ALLOWED   139  /* Registration type
                                                   change disallowed */

#define IP6_MH_BAS_HOME_NI_EXPIRED 136 /* Expired Home nonce index */ #define IP6_MH_BAS_COA_NI_EXPIRED 137 /* Expired Care-of nonce index */ #define IP6_MH_BAS_NI_EXPIRED 138 /* Expired Nonce Indices */ #define IP6_MH_BAS_REG_NOT_ALLOWED 139 /* Registration type change disallowed */

   Status values for the Binding Error mobility messages:

Status values for the Binding Error mobility messages:

   <netinet/ip6mh.h>

<netinet/ip6mh.h>

      #define IP6_MH_BES_UNKNOWN_HAO    1 /* Unknown binding for HOA */
      #define IP6_MH_BES_UNKNOWN_MH     2 /* Unknown MH Type */

#define IP6_MH_BES_UNKNOWN_HAO 1 /* Unknown binding for HOA */ #define IP6_MH_BES_UNKNOWN_MH 2 /* Unknown MH Type */

4.3.  IPv6 Home Address Destination Option

4.3. IPv6 Home Address Destination Option

      Due to alignment issues in the compiler, and the alignment
      requirements for this option, the included IPv6 address must be
      specified as an array of 16 octets.

Due to alignment issues in the compiler, and the alignment requirements for this option, the included IPv6 address must be specified as an array of 16 octets.

      <netinet/ip6.h>

<netinet/ip6.h>

      /* Home Address Destination Option */
      struct ip6_opt_home_address {
           uint8_t           ip6oha_type;
           uint8_t           ip6oha_len;
           uint8_t           ip6oha_addr[16];   /* Home Address */
      };

/* Home Address Destination Option */ struct ip6_opt_home_address { uint8_t ip6oha_type; uint8_t ip6oha_len; uint8_t ip6oha_addr[16]; /* Home Address */ };

   Option Type Definition:

Option Type Definition:

   #define IP6OPT_HOME_ADDRESS        0xc9    /* 11 0 01001 */

#define IP6OPT_HOME_ADDRESS 0xc9 /* 11 0 01001 */

4.4.  Type 2 Routing Header

4.4. Type 2 Routing Header

      <netinet/ip6.h>

<netinet/ip6.h>

      /* Type 2 Routing header for Mobile IPv6 */
      struct ip6_rthdr2 {
           uint8_t  ip6r2_nxt;       /* next header */
           uint8_t  ip6r2_len;       /* length : always 2 */
           uint8_t  ip6r2_type;      /* always 2 */
           uint8_t  ip6r2_segleft;   /* segments left: always 1 */
           uint32_t ip6r2_reserved;  /* reserved field */
           struct in6_addr ip6r2_homeaddr;  /* Home Address */
      };

/* Type 2 Routing header for Mobile IPv6 */ struct ip6_rthdr2 { uint8_t ip6r2_nxt; /* next header */ uint8_t ip6r2_len; /* length : always 2 */ uint8_t ip6r2_type; /* always 2 */ uint8_t ip6r2_segleft; /* segments left: always 1 */ uint32_t ip6r2_reserved; /* reserved field */ struct in6_addr ip6r2_homeaddr; /* Home Address */ };

Chakrabarti & Nordmark       Informational                     [Page 12]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

Chakrabarti & Nordmark Informational [Page 12] RFC 4584 Sockets for API for Mobile IPv6 July 2006

4.5.  New ICMP Messages for Mobile IPv6

4.5. New ICMP Messages for Mobile IPv6

   ICMP message types and definitions for Mobile IPv6 are defined in
   <netinet/icmp6.h>.

ICMP message types and definitions for Mobile IPv6 are defined in <netinet/icmp6.h>.

      #define MIP6_HA_DISCOVERY_REQUEST    144
      #define MIP6_HA_DISCOVERY_REPLY      145
      #define MIP6_PREFIX_SOLICIT          146
      #define MIP6_PREFIX_ADVERT           147

#定義、MIP6_HA_ディスカバリー_REQUEST144#、がディスカバリー_REPLY145#、が定義するMIP6_HA_を定義する、MIP6_PREFIX_SOLICIT146#、はMIP6_PREFIX_ADVERT147を定義します。

   The following data structures can be used for the ICMP message types
   discussed in Sections 6.5 through 6.8 in the base Mobile IPv6 [2]
   specification.

タイプがベースのモバイルIPv6[2]でセクション6.5〜6.8で仕様について議論したというICMPメッセージに以下のデータ構造を使用できます。

      struct mip6_dhaad_req {    /* Dynamic HA Address Discovery */
             struct  icmp6_hdr   mip6_dhreq_hdr;
      };

struct mip6_dhaad_req、ディスカバリー*/struct icmp6_hdr mip6_dhreq_がhdrする/*ダイナミックなHA Address;、。

      #define  mip6_dhreq_type      mip6_dhreq_hdr.icmp6_type
      #define  mip6_dhreq_code      mip6_dhreq_hdr.icmp6_code
      #define  mip6_dhreq_cksum     mip6_dhreq_hdr.icmp6_cksum
      #define  mip6_dhreq_id        mip6_dhreq_hdr.icmp6_data16[0]
      #define  mip6_dhreq_reserved  mip6_dhreq_hdr.icmp6_data16[1]

#定義、mip6_dhreq_タイプmip6_dhreq_hdr.icmp6_タイプ#がmip6_dhreq_hdr.icmp6_コード#が定義するmip6の_のdhreq_コードを定義する、mip6_dhreqのcksum mip6の_のdhreq_hdr.icmp6_cksum_#、がmip6_dhreq_予約されていた状態でdhreq_イドmip6_dhreq_hdr.icmp6_data16[0]#、が定義するmip6_を定義する、mip6_dhreq_hdr.icmp6_data16[1]

      struct mip6_dhaad_rep {    /* HA Address Discovery Reply */
             struct icmp6_hdr   mip6_dhrep_hdr;
             /* Followed by Home Agent IPv6 addresses */
      };

/*HA AddressディスカバリーReply*/struct icmp6_hdr mip6_dhrep_hdr; /*がホームエージェントIPv6アドレス*/を続けたstruct mip6_dhaad_レップ。

      #define  mip6_dhrep_type      mip6_dhrep_hdr.icmp6_type
      #define  mip6_dhrep_code      mip6_dhrep_hdr.icmp6_code
      #define  mip6_dhrep_cksum     mip6_dhrep_hdr.icmp6_cksum
      #define  mip6_dhrep_id        mip6_dhrep_hdr.icmp6_data16[0]
      #define  mip6_dhrep_reserved  mip6_dhrep_hdr.icmp6_data16[1]

#定義、mip6_dhrep_タイプmip6_dhrep_hdr.icmp6_タイプ#がmip6_dhrep_hdr.icmp6_コード#が定義するmip6の_のdhrep_コードを定義する、mip6_dhrepのcksum mip6の_のdhrep_hdr.icmp6_cksum_#、がmip6_dhrep_予約されていた状態でdhrep_イドmip6_dhrep_hdr.icmp6_data16[0]#、が定義するmip6_を定義する、mip6_dhrep_hdr.icmp6_data16[1]

      struct mip6_prefix_solicit {   /* Mobile Prefix Solicitation */
             struct icmp6_hdr     mip6_ps_hdr;
      };

struct mip6_接頭語_が請求する、hdr mip6_が_hdrにpsする/*モバイルPrefix Solicitation*/struct icmp6_;、。

      #define  mip6_ps_type          mip6_ps_hdr.icmp6_type
      #define  mip6_ps_code          mip6_ps_hdr.icmp6_code
      #define  mip6_ps_cksum         mip6_ps_hdr.icmp6_cksum
      #define  mip6_ps_id            mip6_ps_hdr.icmp6_data16[0]
      #define  mip6_ps_reserved      mip6_ps_hdr.icmp6_data16[1]

#定義、mip6_ps_タイプmip6_ps_hdr.icmp6_タイプ#がmip6_ps_hdr.icmp6_コード#が定義するmip6_ps_コードを定義する、mip6_ps_cksum mip6_ps_hdr.icmp6_cksum#、がmip6_ps_予約されていた状態でps_イドmip6_ps_hdr.icmp6_data16[0]#、が定義するmip6_を定義する、mip6_ps_hdr.icmp6_data16[1]

Chakrabarti & Nordmark       Informational                     [Page 13]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

モバイルIPv6 July 2006のためのAPIのためのChakrabarti&Nordmarkの情報[13ページ]のRFC4584ソケット

      struct mip6_prefix_advert {  /* Mobile Prefix Advertisements */
             struct  icmp6_hdr   mip6_pa_hdr;
              /* Followed by one or more PI options */
      };

struct mip6_接頭語_は/*モバイルPrefix Advertisements*/struct icmp6_hdr mip6_pa_hdr; 1PIオプション*/によって続かれた/*について言及します。

      #define  mip6_pa_type            mip6_pa_hdr.icmp6_type
      #define  mip6_pa_code            mip6_pa_hdr.icmp6_code
      #define  mip6_pa_cksum           mip6_pa_hdr.icmp6_cksum
      #define  mip6_pa_id              mip6_pa_hdr.icmp6_data16[0]
      #define  mip6_pa_flags_reserved  mip6_pa_hdr.icmp6_data16[1]

#定義、mip6_pa_タイプmip6_pa_hdr.icmp6_タイプ#がmip6_pa_hdr.icmp6_コード#が定義するmip6の_のpa_コードを定義する、mip6_paのcksum mip6の_のpa_hdr.icmp6_cksum_#、がmip6_pa_旗の_予約されていた状態でpa_イドmip6_pa_hdr.icmp6_data16[0]#、が定義するmip6_を定義する、mip6_pa_hdr.icmp6_data16[1]

      /* Mobile Prefix Advertisement Flags in network-byte order */
       #define  MIP6_PA_FLAG_MANAGED    0x8000
       #define  MIP6_PA_FLAG_OTHER      0x4000

*/#、が定義するネットワークバイトオーダーMIP6_PA_FLAG_MANAGED0×8000#の/*モバイルPrefix Advertisement FlagsはMIP6_PA_FLAG_OTHER0x4000を定義します。

   Prefix options are defined in IPv6 Advanced Socket API [1].  The
   Mobile IPv6 Base specification [2] describes the modified behavior in
   the 'Modifications to IPv6 Neighbor Discovery' section.  Prefix
   Options for Mobile IP are defined in the following section.

接頭語オプションはIPv6 Advanced Socket API[1]で定義されます。 モバイルIPv6基地の仕様[2]は'IPv6 Neighborディスカバリーへの変更'セクションで変更された振舞いについて説明します。 モバイルIPのための接頭語Optionsは以下のセクションで定義されます。

4.6.  IPv6 Neighbor Discovery Changes

4.6. IPv6隣人発見変化

   IPv6 Neighbor Discovery changes are also defined in
   <netinet/icmp6.h>.

また、IPv6 Neighborディスカバリー変化は<netinet/icmp6.h>で定義されます。

      New 'Home Agent' flag in router advertisement:  #define
      ND_RA_FLAG_HOMEAGENT   0x20  /* Home Agent flag in RA */

ルータ通知における新しい'ホームのエージェント'旗: #RA*/でノースダコタ_RA_FLAG_HOMEAGENT0×20/*ホームエージェント旗を定義してください。

      New Router flag with prefix information of the home agent:
      #define  ND_OPT_PI_FLAG_ROUTER  0x20  /* Router flag in PI */

新しいRouterはホームのエージェントの接頭語情報で弛みます: #PI*/でノースダコタ_OPT_PI_FLAG_ROUTER0×20/*ルータ旗を定義してください。

   As per the Mobile IPv6 specification [2], Section 7.2, a Home Agent
   MUST include at least one prefix option with the Router Address (R)
   bit set.  Advanced Socket API [1] defines data structure for prefix
   option as follows:

仕様[2]、セクション7.2、ホームのエージェントがそうしなければならないモバイルIPv6に従って、Router Address(R)ビットがセットしたことでの少なくとも1つの接頭語オプションを含めてください。 高度なSocket API[1]は以下の接頭語オプションのためにデータ構造を定義します:

      struct nd_opt_prefix_info {    /* prefix information */
           uint8_t   nd_opt_pi_type;
           uint8_t   nd_opt_pi_len;
           uint8_t   nd_opt_pi_prefix_len;
           uint8_t   nd_opt_pi_flags_reserved;
           uint32_t  nd_opt_pi_valid_time;
           uint32_t  nd_opt_pi_preferred_time;
           uint32_t  nd_opt_pi_reserved2;
           struct in6_addr  nd_opt_pi_prefix;
      };

選ぶ..接頭語..インフォメーション..接頭語..情報..選ぶ..パイ..タイプ..選ぶ..パイ..選ぶ..パイ..接頭語..選ぶ..パイ..旗..予約..選ぶ..パイ..有効..時間..選ぶ..パイ..都合のよい..時間..選ぶ..パイ..選ぶ..パイ..接頭語

Chakrabarti & Nordmark       Informational                     [Page 14]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

モバイルIPv6 July 2006のためのAPIのためのChakrabarti&Nordmarkの情報[14ページ]のRFC4584ソケット

   New advertisement interval option and home agent information options
   are defined in Mobile IPv6 [2] base specification.

新しい広告間隔オプションとホームエージェント情報オプションはモバイルIPv6[2]基礎仕様に基づき定義されます。

      struct nd_opt_adv_interval { /* Advertisement interval option */
           uint8_t        nd_opt_ai_type;
           uint8_t        nd_opt_ai_len;
           uint16_t       nd_opt_ai_reserved;
           uint32_t       nd_opt_ai_interval;
      };

struct、__adv_間隔を第選んでください、/*広告間隔オプション*/uint8_t、__ai_タイプ; uint8_tを第選んでください、__ai_len; uint16_tを第選んでください、__予約されたai_; uint32_tを第選んでください、第__ai_間隔を選んでください;、。

   The option types for the new Mobile IPv6 specific options:

オプションは新しいモバイルIPv6特定のオプションのために以下をタイプします。

      #define  ND_OPT_ADV_INTERVAL    7     /* Adv Interval Option  */
      #define  ND_OPT_HA_INFORMATION  8     /* HA Information option */

#定義、ノースダコタ_OPT_ADV_INTERVAL7/*Adv Interval Option*/#、はノースダコタ_OPT_HA_情報8/*HA情報オプション*/を定義します。

      struct nd_opt_homeagent_info {  /* Home Agent information */
         uint8_t        nd_opt_hai_type;
         uint8_t        nd_opt_hai_len;
         uint16_t       nd_opt_hai_reserved;
         uint16_t       nd_opt_hai_preference;
         uint16_t       nd_opt_hai_lifetime;
      };

struct、__homeagent_インフォメーションを第選んでください、/*ホームエージェント情報*/uint8_t、__hai_タイプ; uint8_tを第選んでください、__hai_len; uint16_tを第選んでください、__予約されたhai_; uint16_tを第選んでください、__hai_好み; uint16_tを第選んでください、第__hai_生涯を選んでください;、。

5.  Access to Home Address Destination Option and Routing Headers

5. ホームアドレス目的地オプションとルート設定ヘッダーへのアクセス

   Applications that need to be able to access Home Address destination
   option and Type 2 Routing Header information can do so by setting the
   appropriate setsockopt option and using ancillary data objects.  The
   order of extension headers is defined in Mobile IPv6 [2] when an IPv6
   packet with a Home Address Destination Option is sent with other
   possible extension headers.  Section 5.3 elaborates on the extension
   header order when all possible cases are present.

ホームAddress目的地オプションとType2ルート設定Header情報にアクセスできる必要があるアプリケーションが、適切なsetsockoptオプションを設定して、補助データオブジェクトを使用することによって、そうできます。 [2] 他の可能な拡張ヘッダーと共にホームAddress Destination OptionがあるIPv6パケットを送るとき、モバイルIPv6で拡張ヘッダーの注文を定義します。 すべての可能なケースが存在しているとき、セクション5.3は拡張ヘッダー注文について詳しく説明します。

   This document does not recommend that the user-level program set the
   Home Address destination option or Type 2 Routing Header option;
   however, for clarity it defines the order of extension headers.  See
   Section 2 of this document for appropriate usage of sending and
   receiving of Home Address destination options and Type 2 Routing
   Header extension headers.

このドキュメントは、ユーザレベルプログラムがホームAddress目的地オプションかType2ルート設定Headerオプションを設定したことを勧めません。 しかしながら、明快ために、それは拡張ヘッダーの注文を定義します。 ホームAddress目的地オプションとType2ルート設定Header拡張ヘッダーの送受信の適切な用法のためのこのドキュメントのセクション2を見てください。

   This document defines a new socket option, IPV6_MIPDSTOPTS for
   sending Home Address destination options.  In order to receive a Home
   Address destination option or Type 2 Route Header, applications must
   call setsockopt() to turn on the corresponding flag as described in
   IPv6 Advanced Socket API [1] ( for brevity, error checking is not
   performed in the examples):

このドキュメントは送付ホームAddress目的地オプションのために新しいソケットオプション、IPV6_MIPDSTOPTSを定義します。 Address目的地オプションかType2Route Header、アプリケーションが受けなければならないホームを受けて、setsockopt()に電話をして(簡潔さにおいて、誤りの照合は例で実行されません)、IPv6 Advanced Socket API[1]で説明されるように対応する旗をつけてください:

Chakrabarti & Nordmark       Informational                     [Page 15]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

モバイルIPv6 July 2006のためのAPIのためのChakrabarti&Nordmarkの情報[15ページ]のRFC4584ソケット

      int  on = 1;

=1のint。

      setsockopt(fd, IPPROTO_IPV6, IPV6_RECVRTHDR,    &on, sizeof(on));
      setsockopt(fd, IPPROTO_IPV6, IPV6_RECVDSTOPTS,
                   &on, sizeof(on));

setsockopt、(fd、IPV6_RECVRTHDRの、そして、オンなIPPROTO_IPV6、sizeof(on))。 setsockopt、(fd、IPV6_RECVDSTOPTSの、そして、オンなIPPROTO_IPV6、sizeof(on))。

   When any of these options are enabled, the corresponding data is
   returned as control information by recvmsg(), as one or more
   ancillary data objects.  Receiving the above information for TCP
   applications is not defined in this document (see Section 4.1 of
   Advanced Sockets API for IPv6 [1]).

これらのオプションのどれかが可能にされるとき、対応するデータは制御情報としてrecvmsg()によって返されます、1個以上の補助データオブジェクトとして。 TCPアプリケーションのための上記の情報を受け取るのは本書では定義されません。(IPv6[1])に関してAdvanced Sockets APIのセクション4.1を見てください。

   Note that if the IP implementation on the host does not implement the
   handling of Type 2 Routing Headers or Home Address options, per RFC
   2460 [3] the IP stack is required to drop the packet.  Thus,
   receiving Home Address destination option and Type 2 Routing Header
   at the application layer requires implementation of respective
   extension headers at the IP layer in the kernel, as defined in
   RFC3775 [2].

ホストの上のIP実装が、Type2ルート設定Headersの取り扱いかRFC2460[3]あたりのホームAddressオプションがIPスタックであると実装しないならそれがパケットを下げるのに必要であることに注意してください。 したがって、応用層にホームAddress目的地オプションとType2ルート設定Headerを受け取るのはIP層でカーネルでそれぞれの拡張ヘッダーの実装を必要とします、RFC3775[2]で定義されるように。

   For receiving the Home Address destination option header, the Mobile
   IPv6 implementation SHOULD follow the initial processing rules of the
   Home Address destination option (Section 9.3.1 of Mobile IPv6 [2])
   before passing the information to the API level.  This includes
   initial processing of IPSec authentication data in a packet when it
   exists.  Each Destination options header is returned as one ancillary
   data object described by a cmsghdr structure with cmsg_level set to
   IPPROTO_IPV6 and cmsg_type set to IPV6_DSTOPTS.

ホームAddress目的地オプションヘッダーを受けるために、モバイルIPv6実装SHOULDはホームAddress目的地オプションの初期の処理規則に従います。(APIレベルに情報を通過する前の.1モバイルセクション9.3IPv6[2])。 存在するとき、これはパケットでのIPSec認証データの初期の処理を含んでいます。 1個の補助データオブジェクトがcmsghdr構造のそばでcmsg_レベル集合でタイプがIPV6_DSTOPTSに設定するIPPROTO_IPV6とcmsg_に説明したようにそれぞれのDestinationオプションヘッダーを返します。

   For sending the Home Address destination option, ancillary data can
   be used to specify the option content for a single datagram.  This
   applies only to datagram and raw sockets, not to TCP sockets.  The
   Advanced API [1] document restricts one IPV6_xxx ancillary data
   object for a particular extension header in the control buffer.
   Thus, there would be a single ancillary data object for the Home
   address destination option in an ancillary data buffer.  If multiple
   destination options are present, then the header order should be in
   compliance with Section 6.3 and 9.3.2 of the Mobile IPv6 [2] base
   specification.

ホームAddress目的地オプションを送るのにおいて、単一のデータグラムのためのオプション内容を指定するのに補助データを使用できます。 これはTCPソケットではなく、データグラムと生のソケットだけに適用されます。 Advanced API[1]ドキュメントはコントロールバッファの特定の拡張ヘッダーのために1個のIPV6_xxx補助データオブジェクトを制限します。 したがって、補助データバッファにはホームアドレス目的地オプションのための単一の補助データオブジェクトがあるでしょう。 複数の目的地オプションが存在しているなら、ヘッダー注文が.2のモバイルセクション6.3と9.3IPv6[2]基礎仕様に従ってあるべきです。

   For TCP data packets with the Home Address destination option, the
   "sticky" option may be used for all transmitted packets.  The
   application can remove the sticky Home Destination option header by
   calling setsockopt() for IPV6_MIPDSTOPTS with a zero option length.

ホームAddress目的地オプションがあるTCPデータ・パケットに関しては、「ねばねばする」オプションはすべての伝えられたパケットに使用されるかもしれません。 aゼロオプションの長さでIPV6_のためのsetsockopt()をMIPDSTOPTSと呼ぶことによって、アプリケーションはねばねばするホームDestinationオプションヘッダーを取り除くことができます。

   Note that Section 2 of this document does not encourage setting the
   Home Address destination option at the user level.  A Mobile IPv6
   implementation should set and process the Home Address destination

このドキュメントのセクション2が、ユーザレベルでホームAddress目的地オプションを設定するよう奨励しないことに注意してください。 モバイルIPv6実装は、ホームAddressの目的地を設定して、処理するべきです。

Chakrabarti & Nordmark       Informational                     [Page 16]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

モバイルIPv6 July 2006のためのAPIのためのChakrabarti&Nordmarkの情報[16ページ]のRFC4584ソケット

   option and Routing Header Type 2 at the kernel level.  The setting of
   Routing Header Type 2 and the Home Address destination option are
   described in this document for completeness and flexibility to use
   them in the future, if there is a need.

カーネルレベルにおけるオプションとルート設定Header Type2。 完全性と柔軟性が将来彼らを使用するように、ルート設定Header Type2の設定とホームAddress目的地オプションは本書では説明されます、必要があれば。

   The following socket option parameters and cmsghdr fields may be used
   for sending (although not a recommended usage):

以下のソケットオプションパラメタとcmsghdr分野は送付に使用されるかもしれません(お勧めの用法ではありませんが):

      opt level/    optname/          optval/
      cmsg_level    cmsg_type         cmsg_data[]
      ------------  ------------      ------------------------
      IPPROTO_IPV6  IPV6_MIPDSTOPTS      ip6_dest structure
      IPPROTO_IPV6  IPV6_RTHDR           ip6_rthdr structure

レベル/optname/optval/cmsg_レベルcmsg_タイプcmsg_データ[]を選んでください。------------ ------------ ------------------------ IPPROTO_IPV6 IPV6_MIPDSTOPTS ip6_dest構造IPPROTO_IPV6 IPV6_RTHDR ip6_rthdr構造

   Some IPv6 implementations may support "sticky" options [1] for the
   IPv6 destination option for datagram and RAW sockets.

いくつかのIPv6実装が、「ねばねばする」オプションがデータグラムとRAWソケットのためのIPv6目的地オプションのための[1]であるとサポートするかもしれません。

   Behavior of Legacy IPv6 Socket Applications:

レガシーIPv6ソケットアプリケーションの働き:

   Legacy IPv6 applications/implementations using the Advanced Socket
   API [1] mechanisms, upon receiving Home Address destination options
   or Routing headers(Type 2), will discard the packet as per Sections
   4.2 and 4.4 of IPV6 Protocol [3] specification, respectively;
   otherwise, they should properly handle the Home Address destination
   option and the Routing Header Type 2 specified in this document.

ホームAddress目的地オプションかルート設定ヘッダー(2をタイプする)を受け取るときAdvanced Socket API[1]メカニズムを使用するレガシーIPv6アプリケーション/実装がIPV6プロトコル[3]仕様のセクション4.2と4.4に従ってそれぞれパケットを捨てるでしょう。 さもなければ、彼らは適切に、ホームAddress目的地オプションとHeader Type2が本書では指定したルート設定を扱うべきです。

5.1.  Routing Header Access Functions

5.1. ルート設定ヘッダーアクセス関数

   IPV6 Protocol [3] defines a Routing header extension header for Type
   0.  Thus, in order to access the IPv6 Routing header Type 2 extension
   header, one MUST use type = 2 and segment = 1.  The following
   existing functions defined in Advanced API for IPv6 Sockets [1] are
   supported for Mobile IPv6 applications for sending and receiving
   Routing Header Type 2 headers:

IPV6プロトコル[3]はType0のためにルート設定ヘッダー拡張ヘッダーを定義します。 したがって、Type2拡張ヘッダー、使用しなければならないIPv6ルート設定ヘッダーにアクセスするには、=2とセグメント=1をタイプしてください。 IPv6 Sockets[1]のためにAdvanced APIで定義された以下の従来の機能は送付と受信ルート設定Header Type2個のヘッダーのモバイルIPv6アプリケーションのためにサポートされます:

   For Sending:

送付のために:

     size_t inet6_rth_space(int type, int segments);
     void *inet6_rth_init(void *bp, int bp_len, int type, int segments);
     int inet6_rth_add(void *bp, const struct in6_addr *addr);

サイズ_t inet6_rth_スペース(intタイプ、intセグメント)。 *inet6_rth_イニット(空間*bp、int bp_len、intタイプ、intセグメント)を欠如させてください。 int inet6_rth_は(空間*bp、const struct in6_addr*addr)を加えます。

   For Receiving:

受信するために:

      int inet6_rth_segments(const void *bp);
      struct in6_addr *inet6_rth_getaddr(const void *bp, int index);

int inet6_rth_セグメント(const空間*bp)。 struct in6_addr*inet6_rth_getaddr(const空間*bp、intインデックス)。

   NOTE: Reversing operation is not possible using the Route Header Type
   2 extension header.  Thus, inet6_rth_reverse() is not used.

以下に注意してください。 操作を逆にするのは、Route Header Type2拡張ヘッダーを使用することで可能ではありません。 したがって、inet6_rth_逆()は使用されていません。

Chakrabarti & Nordmark       Informational                     [Page 17]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

モバイルIPv6 July 2006のためのAPIのためのChakrabarti&Nordmarkの情報[17ページ]のRFC4584ソケット

   Detailed descriptions and examples of accessing an IPv6 Routing
   Header are discussed in the Advanced Sockets API for IPv6 [1].
   However, Section 7 of Advanced API for IPv6 Sockets [1] indicates
   that multiple types of routing headers can be received as multiple
   ancillary data objects to the application (with cmsg_type set to
   IPV6_RTHDR).  Currently, there are no API functions defined to return
   the routing header type.  However, this document does not define a
   helper function, since it is easy to access the Routing Header Type
   field just as easily as the ip6r_segleft field.  An excerpt of a code
   sample is provided for extracting the type of the received routing
   header:

IPv6[1]のためにAdvanced Sockets APIでIPv6ルート設定Headerにアクセスする詳述と例について議論します。 しかしながら、複数の補助データがアプリケーション(タイプがIPV6_RTHDRに設定するcmsg_と)に反対するようにIPv6 Sockets[1]のためのAdvanced APIのセクション7は、複数のタイプのルーティングヘッダーを受け取ることができるのを示します。 現在、ルーティングヘッダータイプを返すために定義されたAPI関数が全くありません。 しかしながら、このドキュメントはヘルパー機能を定義しません、ip6r_segleft分野とちょうど同じくらい容易にルート設定Header Type分野にアクセスするのが簡単であるので。 コードのサンプルの抜粋は容認されたルーティングヘッダーのタイプを抜粋しながら、備えられます:

      if (msg.msg_controllen != 0 &&
          cmsgptr->cmsg_level == IPPROTO_IPV6 &&
          cmsgptr->cmsg_type == IPV6_RTHDR) {
              struct in6_addr *in6;
              char asciiname[INET6_ADDRSTRLEN];
              struct ip6_rthdr *rthdr;
              int    segments, route_type;

(msg.msg_controllen!=0、cmsgptr>cmsg_平らな=IPPROTO_IPV6、cmsgptr>のcmsg_タイプ=IPV6_RTHDR)、struct in6_addr*in6; asciiname[INET6_ADDRSTRLEN]; struct ip6_rthdr*rthdr; intセグメントを炭にしてください、ルート_タイプ。

              rthdr = (struct ip6_rthdr *)extptr;
              segments = inet6_rth_segments(extptr);
              printf("route (%d segments, %d left): ",
                  segments, rthdr->ip6r_segleft);
              route_type = rthdr->ip6r_type;
              if (route_type == 2) {
                      printf ("Routing header Type 2 present\n");
              }
      }

rthdr=(struct ip6_rthdr*)extptr。 セグメントはinet6_rth_セグメント(extptr)と等しいです。 printf、(「(残された%dセグメント、%d)を発送してください」、セグメント、rthdr>のip6r_segleft)、。 _タイプ=rthdr->のためにip6r_タイプを発送してください。 (ルート_タイプ=2)である、printf(「掘っているヘッダーType2は\nを提示します」)。

5.2.  Content of Type 2 Routing Header

5.2. タイプ2ルート設定ヘッダーの内容

   It is recommended that no portable applications send Type 2 Routing
   Header ancillary data from the application layer, since many
   implementations take care of that at the kernel layer and may not
   support the API for sending Type 2 Routing Header.

どんな携帯用のアプリケーションもルート設定Header補助データを応用層からType2に送らないのは、お勧めです、多くの実装がカーネル層でそれの世話をして、送付Type2ルート設定HeaderのためにAPIをサポートしないかもしれないので。

   Mobile IPv6 [2] defines the Type 2 Routing Header to allow the packet
   to be routed directly from a correspondent to the mobile node's
   care-of address.  The mobile node's care-of address is inserted into
   the IPv6 Destination Address field.  Once the packet arrives at the
   care-of address, the mobile node retrieves its home address from the
   routing header, and this is used as the final destination address for
   the received IPv6 packet.

モバイルIPv6[2]がパケットが直接aから対応であっていた状態で発送されるのを許容するためにType2ルート設定Headerを定義する、モバイルノードのもの、注意、-、アドレス モバイルノードのもの、注意、-、アドレスはIPv6 Destination Address分野に挿入されます。 一度、パケットが到着する、注意、-、アドレス、モバイルノードはルーティングヘッダーからのホームアドレスを検索して、これは容認されたIPv6パケットに最終的な送付先アドレスとして使用されます。

Chakrabarti & Nordmark       Informational                     [Page 18]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

モバイルIPv6 July 2006のためのAPIのためのChakrabarti&Nordmarkの情報[18ページ]のRFC4584ソケット

   For user-level applications that receive Type 2 Routing Header,
   inet6_rth_getaddr() returns the care-of address or on-the-wire
   destination address of the received packet.  This complies with the
   existing Routing header Type=0 processing for IPv6 [1].

Type2ルート設定Headerを受けるユーザレベルアプリケーションのためにinet6_rth_getaddr()が戻る、注意、-、容認されたパケットアドレスかワイヤに関する送付先アドレス。 これはIPv6[1]のために既存のルート設定ヘッダーType=0処理に従います。

   Thus, on the receive side, the socket application will always receive
   data packets at its original home address.  The implementations are
   responsible for processing the Type 2 Routing Header packet as per
   Mobile IPv6 RFC [2] before passing the Type 2 Routing Header
   information to the Socket API.

その結果、オンである、側を受け取ってください、そして、ソケットアプリケーションはオリジナルのホームアドレスでデータ・パケットをいつも受けるでしょう。 実装はType2ルート設定Header情報をSocket APIに通過する前のモバイルIPv6 RFC[2]に従ってType2ルート設定Headerパケットを処理するのに原因となります。

   If a pure IPv6 [3] system receives the Routing Header Type 2 packets,
   it will follow the process described in Section 4.4 of the IPv6 [3]
   base specification.

純粋なIPv6[3]システムがルート設定Header Type2パケットを受けると、プロセスがIPv6[3]のセクション4.4で基礎仕様を説明したということになるでしょう。

5.3.  Order of Extension Headers for Home Address Destination Options

5.3. ホームアドレス目的地オプションのための拡張ヘッダーの注文

   Section 6.3 of Mobile IPV6 [2] defines the extension header order for
   the Home address destination option.

モバイルIPV6[2]のセクション6.3はホームアドレス目的地オプションの拡張ヘッダー注文を定義します。

      Routing Header
      Home Address Destination Option
      Fragment Header
      AH/ESP Header

ああ、ヘッダーホームアドレス目的地オプション断片ヘッダーを発送することでの/超能力ヘッダー

   IPv6 [3] specifies that the destination header can be either before
   the Routing header or after the AH/ESP header if they are all
   present.

IPv6[3]は、それらがすべて存在しているなら目的地ヘッダーがルート設定ヘッダーの前かAH/超能力ヘッダーの後にあることができると指定します。

   Thus, when the Home Address destination option is present along with
   other extension headers, the order will be:

ホームAddress目的地オプションが他の拡張ヘッダーと共に存在しているとき、したがって、オーダーは以下の通りになるでしょう。

      Hop-by-Hop Options header
      Destination Options header
      Routing header
      Destination Options [Home Address Option]
      Fragment header
      Authentication header
      Encapsulating Security Payload header
      Destination Options header
      upper-layer header

ホップごとのOptionsヘッダーDestination Optionsヘッダールート設定ヘッダーDestination Options[ホームAddress Option]断片ヘッダーAuthenticationヘッダーEncapsulating Security有効搭載量ヘッダーDestination Optionsヘッダー上側の層のヘッダー

   Any user-level implementation or application that sends the Home
   address destination option through ancillary data objects should
   follow the order extension header defined in this document when using
   IPV6_MIPDSTOPTS socket options.

補助データオブジェクトを通してホームアドレス目的地オプションを送るどんなユーザレベル実装やアプリケーションも本書ではIPV6_MIPDSTOPTSソケットオプションを使用するとき定義されたオーダー拡張ヘッダーに続くべきです。

Chakrabarti & Nordmark       Informational                     [Page 19]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

モバイルIPv6 July 2006のためのAPIのためのChakrabarti&Nordmarkの情報[19ページ]のRFC4584ソケット

5.4.  Home Address Destination Option Access Functions

5.4. ホームアドレス目的地オプションアクセス関数

   The application must enable the IPV6_RECVDSTOPTS socket option in
   order to receive the Home Address destination option (error checking
   is not performed in the example for brevity):

アプリケーションはホームAddress目的地オプションを受け取るためにIPV6_RECVDSTOPTSソケットオプションを可能にしなければなりません(誤りの照合は簡潔さのための例で実行されません):

      int  on = 1;

=1のint。

      setsockopt(fd, IPPROTO_IPV6, IPV6_RECVDSTOPTS, &on, sizeof(on));

setsockopt、(fd、IPV6_RECVDSTOPTSの、そして、オンなIPPROTO_IPV6、sizeof(on))。

   Each Destination option header is returned as one ancillary data
   object described by a cmsghdr structure, with cmsg_level set to
   IPPROTO_IPV6 and cmsg_type set to IPV6_DSTOPTS.

1個の補助データオブジェクトがcmsghdr構造のそばで説明したようにそれぞれのDestinationオプションヘッダーを返します、IPPROTO_IPV6へのcmsg_レベル集合とタイプがIPV6_DSTOPTSに設定するcmsg_で。

   The received side Home Address destination option is further
   processed by calling the inet6_opt_next(), inet6_opt_find(), and
   inet6_opt_get_value() functions as defined in Advanced API for IPv6
   sockets [1].

inet6_は_次の()を選びます、そして、inet6_は_掘り出し物()を選びます、そして、inet6_を選びます。容認されたサイドホームAddress目的地オプションが呼ぶことによってさらに処理される、_IPv6ソケット[1]のためにAdvanced APIで定義されるように_値()機能を得てください。

   This document assumes that portable Mobile IPv6 applications will not
   send a Home Address Destination Option from the application level, as
   the Mobile IPv6 implementation underneath takes care of sending the
   Home Address option and the routing header type 2 at the kernel.
   However, some embedded software implementations may implement the
   IPv6 packet processing/sending at the user-level; those
   implementations may choose to provide the API support for sending a
   home-address option at the application layer.  In this case, the Home
   Address destination options are normally constructed by using the
   inet6_opt_init(), inet6_opt_append(), inet6_opt_finish(), and
   inet6_opt_set_val() functions, described in Section 10 of the
   Advanced sockets API for IPv6 [1].

このドキュメントは、携帯用のモバイルIPv6アプリケーションがアプリケーションレベルからホームAddress Destination Optionを送らないと仮定します、ホームAddressオプションを送る下部が世話をするモバイルIPv6実装とルーティングヘッダーがカーネルで2をタイプするとき。 しかしながら、いくつかの組み込みソフト実装がユーザレベルでIPv6パケット処理/発信を実装するかもしれません。 それらの実装は、ホームアドレスオプションを応用層に送るAPIサポートを提供するのを選ぶかもしれません。 inet6_は_イニット()を選びます、_が選ぶinet6。この場合通常、ホームAddress目的地オプションが使用することによって構成される、_()を追加してください、そして、inet6_は_終わり()を選んで、inet6_は_IPv6[1]のためにAdvancedソケットAPIのセクション10で説明されたセット_val()機能を選びます。

5.5.  Content of Home Address Destination Option

5.5. ホームアドレス目的地オプションの内容

   The received ancillary data object for the Home Address destination
   option SHOULD contain the care-of address of the mobile node.  It is
   assumed that the initial processing of the Home Address destination
   option will verify the validity of the home address, as described in
   Sections 6.3 and 9.5 of the Mobile IPv6 Specification [2], and swap
   the source address of the packet (COA) with the contents of Home
   Address destination option.

ホームAddress目的地オプションSHOULDのための容認された補助データオブジェクトが含んでいる、注意、-、モバイルノードのアドレス。 ホームAddress目的地オプションの初期の処理がモバイルIPv6 Specification[2]のセクション6.3と9.5で説明されるようにホームアドレスの正当性について確かめて、ホームAddress目的地オプションのコンテンツでパケット(COA)のソースアドレスを交換すると思われます。

   Note that whether or not these new APIs are used, the sender's home
   address is contained in the source address (which is passed to the
   application using the socket-level functions recvfrom(), recvmsg(),
   accept(), and getpeername()).  This is necessary for:

使用される、これらの新しいAPI、送付者のホームアドレスがソースアドレスに含まれているか否かに関係なく、それに注意してください。(()、およびgetpeername())は、どれがソケットレベル機能recvfrom()、recvmsg()を使用するアプリケーションに通過されるかと受け入れます。 これが以下に必要です。

Chakrabarti & Nordmark       Informational                     [Page 20]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

モバイルIPv6 July 2006のためのAPIのためのChakrabarti&Nordmarkの情報[20ページ]のRFC4584ソケット

      maintaining consistency between simple user-level applications
      running between mobile nodes and the diagnostic applications on
      the home agent or correspondent node that use this API;

モバイルノードの間で稼働する簡単なユーザレベルアプリケーションとホームのエージェントか通信員ノードにおけるこのAPIを使用する診断アプリケーションの間の一貫性を維持します。

      obtaining the COA address of the mobile node when the Home Address
      destination option is used; and

ホームAddress目的地オプションが使用されているときのCOAが扱うモバイルノードの入手。 そして

      maintaining consistency of existing IPv6 Socket APIs and
      processing of the Home Address destination option.

既存のIPv6 Socket APIの一貫性とホームAddress目的地オプションの処理を維持します。

   If an implementation supports send-side Home Address destination API,
   then it must follow the same rule for data content as specified in
   Mobile IPv6 RFC [2] for sending a home-address option.  Thus, the
   home-address option will contain the home address, and the
   implementation will use the care-of address as the source address of
   the outgoing packet.  If the implementation uses IPSec, then it
   should use the content of Home Address destination option as the
   source address of the packet for security association.  Note that
   regular user applications must not set the home address destination
   option.

実装が、側を発信させているホームAddressが目的地APIであるとサポートするなら、それはホームアドレスオプションを送るためのモバイルIPv6 RFC[2]の指定されるとしてのデータ内容のための同じ規則に従わなければなりません。 その結果、ホームアドレスオプションがホームアドレス、および意志が使用する実装を含む、注意、-、出発しているパケットのソースアドレスとしてのアドレス。 実装がIPSecを使用するなら、それはセキュリティ協会にパケットのソースアドレスとしてホームAddress目的地オプションの内容を使用するべきです。 愛用者アプリケーションがホームアドレス目的地オプションを設定してはいけないことに注意してください。

6.  Mobility Protocol Headers

6. 移動性プロトコルヘッダー

   Mobile IPv6 [2] defines a new IPv6 protocol header to carry mobility
   messages between Mobile Nodes, Home Agents and Correspondent Nodes.
   These protocol headers carry Mobile IPv6 Binding messages as well as
   Return Routability [2] messages.  Currently the specification [2]
   does not allow transport packets (piggybacking) along with the
   mobility messages.  Thus the mobility protocol header can be accessed
   through an IPv6 RAW socket.  An IPv6 RAW socket that is opened for
   protocol IPPROTO_MH should always be able to see all the MH (Mobility
   Header) packets.  It is possible that future applications may
   implement part of Mobile IPv6 signal processing at the application
   level.  Having a RAW socket interface may also enable an application
   to execute the Return Routability protocol or other future
   authentication protocol involving the mobility header at the user-
   level.

モバイルIPv6[2]は、ホームのモバイルNodesと、エージェントとCorrespondent Nodesに移動性メッセージを伝えるために新しいIPv6プロトコルヘッダーを定義します。 これらのプロトコルヘッダーはReturn Routability[2]メッセージと同様にモバイルIPv6 Bindingメッセージを伝えます。 現在の、仕様[2]は移動性メッセージと共に輸送パケットを許容しません(便乗します)。 したがって、IPv6 RAWソケットを通して移動性プロトコルヘッダーにアクセスできます。 プロトコルIPPROTO_MHのために開けられるIPv6 RAWソケットはいつもすべてのMH(移動性Header)パケットを見るはずであることができます。 将来のアプリケーションがアプリケーションレベルでモバイルIPv6信号処理の一部を実装するのは、可能です。 また、RAWソケットインタフェースを持っているのは、アプリケーションがユーザレベルで移動性ヘッダーにかかわるReturn Routabilityプロトコルか他の将来の認証プロトコルを実行するのを可能にするかもしれません。

6.1.  Receiving and Sending Mobility Header Messages

6.1. 移動性ヘッダーメッセージを受け取って、送ります。

   This specification recommends that the IPv6 RAW sockets mechanism
   send and receive Mobility Header (MH) packets.  The behavior is
   similar to ICMPV6 processing, where the kernel passes a copy of the
   mobility header packet to the receiving socket.  Depending on the
   implementation, the kernel may process the mobility header in
   addition to passing the mobility header to the application.  In order
   to comply with the restriction in the Advanced Sockets API for IPv6
   [1], applications should set the IPV6_CHECKSUM socket option with

この仕様は、IPv6 RAWソケットメカニズムがMobility Header(MH)パケットを送って、受けることを勧めます。 振舞いはICMPV6処理と同様です、カーネルが移動性ヘッダーパケットのコピーを受信ソケットに渡すところで。 実装によって、移動性ヘッダーをアプリケーションに渡すことに加えてカーネルは移動性ヘッダーを処理するかもしれません。 IPv6[1]のためのAdvanced Sockets APIでは、アプリケーションがIPV6_CHECKSUMソケットオプションを設定するべきであるという制限に応じます。

Chakrabarti & Nordmark       Informational                     [Page 21]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

モバイルIPv6 July 2006のためのAPIのためのChakrabarti&Nordmarkの情報[21ページ]のRFC4584ソケット

   IPPROTO_MH protocol RAW Sockets.  A Mobile IPv6 implementation that
   supports the Mobile IPv6 API must implement Mobility Header API
   checksum calculations by default at the kernel for both incoming and
   outbound paths.  A Mobile IPv6 implementation must not return error
   on the IPV6_CHECKSUM socket option setting, even if the socket option
   is a NO-OP function for that implementation because it verifies the
   checksum at the kernel level.  The Mobility Header checksum procedure
   is described in the Mobile IPv6 Protocol [2] specification.  Again,
   for application portability it is recommended that the applications
   set the IPV6_CHECKSUM socket option along with the RAW sockets for
   IPPROTO_MH protocol.

IPPROTO_MHはRAW Socketsについて議定書の中で述べます。 モバイルIPv6APIをサポートするモバイルIPv6実装は、デフォルトでカーネルでMobility Header APIチェックサムが計算であると入って来て外国行きの両方の経路に実装しなければなりません。 モバイルIPv6実装はIPV6_CHECKSUMソケットオプション設定の上で誤りを返してはいけません、カーネルレベルでチェックサムについて確かめるのでソケットオプションがその実装のためのノーオプ機能であっても。 Mobility Headerチェックサム手順はモバイルIPv6プロトコル[2]仕様で説明されます。 一方、アプリケーションの移植性に、アプリケーションがRAWソケットに伴うIPV6_CHECKSUMソケットオプションをIPPROTO_MHプロトコルに設定するのは、お勧めです。

   As an example, a program that wants to send or receive a mobility
   header protocol(MH) could open a socket as follows (for brevity, the
   error checking is not performed in the example below):

例として、移動性ヘッダープロトコル(MH)を送りたいか、または受けたがっているプログラムは、以下のソケットを開けるかもしれません(簡潔さにおいて、誤りの照合は以下の例で実行されません):

      fd = socket(AF_INET6, SOCK_RAW, IPPROTO_MH);

fdはソケット(AF_INET6、SOCK_RAW、IPPROTO_MH)と等しいです。

      int offset = 4;
      setsockopt(fd, IPPROTO_IPV6, IPV6_CHECKSUM, &offset,
           sizeof(offset));

intは=4を相殺しました。 setsockopt(fd、IPPROTO_IPV6、IPV6_CHECKSUM、およびオフセット、sizeof(相殺します))。

   For example, if an implementation likes to handle HOTI/HOT and COTI/
   COT message processing, it can do so by using IPv6 RAW Sockets for
   IPPROTO_MH at the application layer.  The same application may also
   set the IPV6_RECVDSTOPTS socket option for receiving Home Address
   destination option in a binding update [2] from the mobile node.

例えば、HOTI/HOTとCOTI/ COTを扱う同類は実装であるなら処理を通信させて、それが、IPPROTO_MHに応用層でIPv6 RAW Socketsを使用することによって、そうできます。 また、同じアプリケーションは拘束力があるアップデート[2]にモバイルノードからホームAddress目的地オプションを受け取るためのIPV6_RECVDSTOPTSソケットオプションを設定するかもしれません。

   IPv6 RAW sockets are described in Section 3 of the IPv6 Advanced
   Socket API [1] specification.  All data sent and received via raw
   sockets must be in network byte order.  The data structures that are
   defined in this document are in network byte order, and they are
   believed to be supported by most compilers to hold packet formats
   directly for transmission on the wire.

IPv6 RAWソケットはIPv6 Advanced Socket API[1]仕様のセクション3で説明されます。 ネットワークバイトオーダーには生のソケットを通して送られて、受け取られたすべてのデータがあるに違いありません。 ネットワークバイトオーダーには定義されるデータ構造が本書ではあります、そして、ほとんどのコンパイラによってサポートされて、ワイヤの上に直接トランスミッションのためのパケット・フォーマットを保持すると信じられています。

   The usual send/recv functions for datagram should be used for the
   Mobile IPv6 RAW sockets in order to send and receive data,
   respectively.

データグラムがモバイルIPv6 RAWソケットに使用されるべきであるので、普通はそれぞれデータを送って、受け取るために/recv機能を送ります。

7.  Protocols File

7. プロトコルファイル

   Many hosts provide the file /etc/protocols, which contains the names
   of the various IP protocols and their protocol numbers.  The protocol
   numbers are obtained through function getprotoXXX() functions.

多くのホストがファイル/etc/protocolsを提供します。(/etc/protocolsは様々なIPプロトコルとそれらのプロトコル番号の名前を含みます)。 機能getprotoXXX()機能を通してプロトコル番号を得ます。

   The following addition should be made to the /etc/protocols file, in
   addition to what is defined in Section 2.4 of the Advanced Sockets
   API for IPv6 [1].

以下の追加を/etc/protocolsファイルにするべきです、IPv6[1]のためにAdvanced Sockets APIのセクション2.4で定義されることに加えて。

Chakrabarti & Nordmark       Informational                     [Page 22]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

モバイルIPv6 July 2006のためのAPIのためのChakrabarti&Nordmarkの情報[22ページ]のRFC4584ソケット

   The protocol number for Mobility Header:
   (http://www.iana.org/assignments/protocol-numbers)

Mobility Headerのプロトコル番号: ( http://www.iana.org/assignments/protocol-numbers )

      ipv6-mh           135      # Mobility Protocol Header

ipv6-mh135#MobilityプロトコルHeader

8.  IPv4-Mapped IPv6 Addresses

8. IPv4によって写像されたIPv6アドレス

   The various socket options and ancillary data specifications defined
   in this document apply only to true IPv6 sockets.  It is possible to
   create an IPv6 socket that actually sends and receives IPv4 packets,
   using IPv4-mapped IPv6 addresses, but the mapping of the options
   defined in this document to an IPv4 datagram is beyond the scope of
   this document.  The above statement is in compliance with Section 13
   of the IPv6 Socket API [1].

本書では定義された様々なソケットオプションと補助データ仕様は本当のIPv6ソケットだけに適用されます。 IPv4によって写像されたIPv6アドレスを使用して、それがIPv6ソケットを作成するために、実際に発信して、IPv4パケットを受けますが、本書ではIPv4データグラムと定義されたオプションに関するマッピングがこのドキュメントの範囲を超えているのは、可能です。 上の声明がIPv6 Socket API[1]のセクション13に従ってあります。

9.  Security Considerations

9. セキュリティ問題

   The setting of the Home Address Destination option and Route Header
   Type 2 IPV6_RTHDR socket option may not be allowed at the application
   level in order to prevent denial-of-service attacks or man-in-the-
   middle attacks by hackers.  Sending and receiving of mobility header
   messages are possible by IPv6 RAW sockets.  Thus, it is assumed that
   this operation is only possible by privileged users.  However, this
   API does not prevent the existing security threat from a hacker
   sending a bogus mobility header or other IPv6 packets using the Home
   Address option and Type 2 Routing Header extensions.

ホームAddress DestinationオプションとRoute Header Type2IPV6_RTHDRソケットオプションの設定がサービス不能攻撃か中の男性を防ぐためにアプリケーションレベルで許されないかもしれない、-、-中央はハッカーに攻撃されます。 移動性ヘッダーメッセージの発信と受信はIPv6 RAWソケットで可能です。 したがって、この操作が単に特権ユーザが可能であると思われます。 しかしながら、このAPIはホームAddressオプションとType2ルート設定Header拡張子を使用することでにせの移動性ヘッダーか他のIPv6にパケットを送るハッカーから既存の軍事的脅威を防ぎません。

10.  IANA Considerations

10. IANA問題

   This document does not define a new protocol.  However, it uses the
   Mobility Header Protocol for IPv6 to define an API for the
   /etc/protocols file. (ref: http://www.iana.org/assignments/protocol-
   numbers)

このドキュメントは新しいプロトコルを定義しません。 しかしながら、IPv6が/etc/protocolsファイルのためにAPIを定義するのにそれはMobility Headerプロトコルを使用します。 (審判: http://www.iana.org/assignments/protocol- 番号)

11.  Acknowledgements

11. 承認

   Thanks to Brian Haley for the thorough review of this document and
   many helpful comments.  Keiichi Shima, Alexandru Petrescu, Ryuji
   Wakikawa, Vijay Devarapalli, Jim Bound, Suvidh Mathur, Karen Nielsen,
   Mark Borst, Vladislav Yasevich, and other mobile-ip working group
   members provided valuable input.  Antti Tuominen suggested the
   routing header type function for this API document.  During IESG
   review, Bill Fenner suggested accessing the routing header type
   directly for being consistent with RFC3542.  A new socket option for
   Home Address Destination Option is added per Bill Fenner's suggestion
   for clarity of extension header orders.  Thanks to Thomas Narten and
   Jari Arkko for the review of this document.

このドキュメントと多くの役に立つコメントの徹底的なレビューをブライアン・ヘイリーをありがとうございます。 Keiichi Shima、Alexandruペトレスク、龍治Wakikawa、ビジェイDevarapalli、ジムBound、Suvidhマートゥル、カレン・ニールセン、マーク・ボルスト、ウラディスラフYasevich、および他のモバイル-ipワーキンググループのメンバーは貴重な入力を提供しました。 Antti TuominenはこのAPIドキュメントのためにルーティングヘッダータイプ機能を勧めました。 IESGレビューの間、ビル・フェナーは、直接RFC3542と一致しているルーティングヘッダータイプにアクセスすることを提案しました。 ホームAddress Destination Optionのための新しいソケットオプションは拡張ヘッダー注文の明快ためにビル・フェナーの提案単位で加えられます。 このドキュメントのレビューをトーマスNartenとヤリArkkoをありがとうございます。

Chakrabarti & Nordmark       Informational                     [Page 23]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

モバイルIPv6 July 2006のためのAPIのためのChakrabarti&Nordmarkの情報[23ページ]のRFC4584ソケット

12.  References

12. 参照

12.1.  Normative References

12.1. 引用規格

   [1]  Stevens, W., Thomas, M., Nordmark, E., and T. Jinmei, "Advanced
        Sockets Application Program Interface (API) for IPv6", RFC 3542,
        May 2003.

[1] スティーブンス(W.、トーマス、M.、Nordmark、E.、およびT.Jinmei)は、「2003年5月にIPv6"、RFC3542年のソケット適用業務プログラム・インタフェース(API)を進めました」。

   [2]  Johnson, D., Perkins, C., and J. Arkko, "Mobility Support in
        IPv6", RFC 3775, June 2004.

[2] ジョンソンとD.とパーキンス、C.とJ.Arkko、「IPv6"、RFC3775、2004年6月の移動性サポート。」

12.2.  Informative References

12.2. 有益な参照

   [3]  Deering, S. and R. Hinden, "Internet Protocol, Version 6 (IPv6)
        Specification", RFC 2460, December 1998.

[3] デアリング、S.とR.Hinden、「インターネットプロトコル、バージョン6(IPv6)仕様」、RFC2460、12月1998日

   [4]  Devarapalli, V., Wakikawa, R., Petrescu, A., and P. Thubert,
        "Network Mobility (NEMO) Basic Support Protocol", RFC 3963,
        January 2005.

[4]Devarapalli、V.、Wakikawa、R.、ペトレスク、A.、およびP.Thubert、「ネットワークの移動性(ネモ)の基本的なサポートプロトコル」、RFC3963、2005年1月。

   [5]  Nordmark, E., "IPv6 Socket API for source address selection",
        Work in Progress, July 2005.

[5]Nordmark、E.、「ソースアドレス選択のためのIPv6 Socket API」、Progress、2005年7月のWork。

   [6]  Gilligan, R., Thomson, S., Bound, J., McCann, J., and W.
        Stevens, "Basic Socket Interface Extensions for IPv6", RFC 3493,
        February 2003.

[6] ギリガンとR.とトムソンとS.とバウンドとJ.とマッキャン、J.とW.スティーブンス、「IPv6"、RFC3493、2003年2月のための基本的なソケットインタフェース拡大。」

Authors' Addresses

作者のアドレス

   Samita Chakrabarti

Samita Chakrabarti

   EMail: samitac2@gmail.com

メール: samitac2@gmail.com

   Erik Nordmark
   Sun Microsystems
   17 Network Circle
   Menlo Park, CA 94025
   USA

エリックNordmarkサン・マイクロシステムズ17ネットワーク円のカリフォルニア94025メンローパーク(米国)

   Phone: +1 650 786 2921
   EMail: erik.nordmark@sun.com

以下に電話をしてください。 +1 2921年の650 786メール: erik.nordmark@sun.com

Chakrabarti & Nordmark       Informational                     [Page 24]

RFC 4584            Sockets for API for Mobile IPv6            July 2006

モバイルIPv6 July 2006のためのAPIのためのChakrabarti&Nordmarkの情報[24ページ]のRFC4584ソケット

Full Copyright Statement

完全な著作権宣言文

   Copyright (C) The Internet Society (2006).

Copyright(C)インターネット協会(2006)。

   This document is subject to the rights, licenses and restrictions
   contained in BCP 78, and except as set forth therein, the authors
   retain all their rights.

このドキュメントはBCP78に含まれた権利、ライセンス、および制限を受けることがあります、そして、そこに詳しく説明されるのを除いて、作者は彼らのすべての権利を保有します。

   This document and the information contained herein are provided on an
   "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
   OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
   ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
   INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
   INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

このドキュメントと「そのままで」という基礎と貢献者、その人が代表する組織で提供するか、または後援されて、インターネット協会とインターネット・エンジニアリング・タスク・フォースはすべての保証を放棄します、と急行ORが含意したということであり、他を含んでいて、ここに含まれて、情報の使用がここに侵害しないどんな保証も少しもまっすぐになるという情報か市場性か特定目的への適合性のどんな黙示的な保証。

Intellectual Property

知的所有権

   The IETF takes no position regarding the validity or scope of any
   Intellectual Property Rights or other rights that might be claimed to
   pertain to the implementation or use of the technology described in
   this document or the extent to which any license under such rights
   might or might not be available; nor does it represent that it has
   made any independent effort to identify any such rights.  Information
   on the procedures with respect to rights in RFC documents can be
   found in BCP 78 and BCP 79.

IETFはどんなIntellectual Property Rightsの正当性か範囲、実装に関係すると主張されるかもしれない他の権利、本書では説明された技術の使用またはそのような権利の下におけるどんなライセンスも利用可能であるかもしれない、または利用可能でないかもしれない範囲に関しても立場を全く取りません。 または、それはそれを表しません。どんなそのような権利も特定するどんな独立している取り組みも作りました。 BCP78とBCP79でRFCドキュメントの権利に関する手順に関する情報を見つけることができます。

   Copies of IPR disclosures made to the IETF Secretariat and any
   assurances of licenses to be made available, or the result of an
   attempt made to obtain a general license or permission for the use of
   such proprietary rights by implementers or users of this
   specification can be obtained from the IETF on-line IPR repository at
   http://www.ietf.org/ipr.

IPR公開のコピーが利用可能に作られるべきライセンスの保証、または一般的な免許を取得するのが作られた試みの結果をIETF事務局といずれにもしたか、または http://www.ietf.org/ipr のIETFのオンラインIPR倉庫からこの仕様のimplementersかユーザによるそのような所有権の使用のために許可を得ることができます。

   The IETF invites any interested party to bring to its attention any
   copyrights, patents or patent applications, or other proprietary
   rights that may cover technology that may be required to implement
   this standard.  Please address the information to the IETF at
   ietf-ipr@ietf.org.

IETFはこの規格を実装するのに必要であるかもしれない技術をカバーするかもしれないどんな著作権もその注目していただくどんな利害関係者、特許、特許出願、または他の所有権も招待します。 ietf-ipr@ietf.org のIETFに情報を扱ってください。

Acknowledgement

承認

   Funding for the RFC Editor function is provided by the IETF
   Administrative Support Activity (IASA).

RFC Editor機能のための基金はIETF Administrative Support Activity(IASA)によって提供されます。

Chakrabarti & Nordmark       Informational                     [Page 25]

Chakrabarti&Nordmark情報です。[25ページ]

一覧

 RFC 1〜100  RFC 1401〜1500  RFC 2801〜2900  RFC 4201〜4300 
 RFC 101〜200  RFC 1501〜1600  RFC 2901〜3000  RFC 4301〜4400 
 RFC 201〜300  RFC 1601〜1700  RFC 3001〜3100  RFC 4401〜4500 
 RFC 301〜400  RFC 1701〜1800  RFC 3101〜3200  RFC 4501〜4600 
 RFC 401〜500  RFC 1801〜1900  RFC 3201〜3300  RFC 4601〜4700 
 RFC 501〜600  RFC 1901〜2000  RFC 3301〜3400  RFC 4701〜4800 
 RFC 601〜700  RFC 2001〜2100  RFC 3401〜3500  RFC 4801〜4900 
 RFC 701〜800  RFC 2101〜2200  RFC 3501〜3600  RFC 4901〜5000 
 RFC 801〜900  RFC 2201〜2300  RFC 3601〜3700  RFC 5001〜5100 
 RFC 901〜1000  RFC 2301〜2400  RFC 3701〜3800  RFC 5101〜5200 
 RFC 1001〜1100  RFC 2401〜2500  RFC 3801〜3900  RFC 5201〜5300 
 RFC 1101〜1200  RFC 2501〜2600  RFC 3901〜4000  RFC 5301〜5400 
 RFC 1201〜1300  RFC 2601〜2700  RFC 4001〜4100  RFC 5401〜5500 
 RFC 1301〜1400  RFC 2701〜2800  RFC 4101〜4200 

スポンサーリンク

NCHAR関数 ユニコードから文字に変換する

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る