IPv6NDOptionLength

Namespace inet

IPv6NDOptionLength

enum

TLB options (type, length, bytes), length must be divisible by eight, max value is 8*255 Length in bytes:

Source code

// TLB options (type, length, bytes), length must be divisible by eight, max value is 8*255
// Length in bytes:
enum IPv6NDOptionLength
{
    IPv6ND_LINK_LAYER_ADDRESS_OPTION_LENGTH = 8;    // RFC 2461, Section 4.6.1. Source/Target Link-layer Address
    IPv6ND_PREFIX_INFORMATION_OPTION_LENGTH = 32;   // RFC 2461, Section 4.6.2. Prefix Information
    IPv6ND_REDIRECTED_HEADER_OPTION_LENGTH = 8;     // 8 + redirected packet, RFC 2461, Section 4.6.3. Redirected Header.
                                                    // The original packet truncated to ensure that the size of the redirect message does not exceed 1280 octets.
    IPv6ND_MTU_OPTION_LENGTH = 8;                   // RFC 2461, Section 4.6.4. MTU
}

File: src/inet/networklayer/icmpv6/IPv6NDMessage.msg