# NAME

            rfc2765_3.1_payloadlength.seq - Verify IPv6 <-> IPv4 header
            translation in accordance with RFC2765 [SIIT]

# TARGET

            Router

# SYNOPSIS

            rfc2765_3.1_payloadlength.seq [-tooloption ...]
            -p rfc2765_3.1_payloadlength.def

# INITIALIZATION

    	Before this test starts, run initialize.seq.

# TEST PROCEDURE

            This test verifies that NUT can translates IPv4 header
            to IPv6 header, when IPv4 header contain options.

            Network Topology

            Link0
            --------------------------
                |               |
               TN              NUT
                |               |
            --------------------------
            Link1

            TN -- (Link0) -- NUT        NUT -- (Link1) -- TN

            ---------------------      ------------------------

            1.1.
                                       <===================
            ICMPv4 Echo request
                    IPv4 Header
                            src address : TN LINK1 IPv4 address
                            dst address : TN LINK0 IPv4 address
                            Don't Fragment = 1
                            More fragments = 0
                            Offset = 0
                            Timestamp Option (8 bytes)
                    ICMPv4 echo request

            1.2.
            <<JUDGMENT>>
            <===================
            ICMPv6 Echo Request
                    IPv6 Header
                            src address : TN LINK1 IPv4 embedded IPv6 address
                            dst address : TN LINK0 IPv4 embedded IPv6 address
                    ICMPv6 echo request

    =head1 JUDGMENT

            << PASS >>
                    TN (Link0) receive four ICMPv6 echo requests,
                    with correct payload length.

            << FAIL >>
                    TN (Link0) receive four ICMPv6 echo requests,
                    with payload length 8 bytes too large.

# NOTE

# REFERENCE

RFC2765

3.1. Translating IPv4 Headers into IPv6 Headers

             Payload Length:
                     Total length value from IPv4 header, minus the size
                     of the IPv4 header and IPv4 options, if present.

# SEE ALSO

            perldoc V6evalTool