Ipv6RouterSolicitation

Namespace: inet

class Ipv6RouterSolicitation

Router Solicitation Message Format RFC 4861 Section 4.1

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

Ipv6NdMessage

class

Neighbour Discovery for Ipv6. RFC 2461

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

chunkLength

type

Icmpv6Type

1 byte int code; // 1 byte //TODO this should be specific to different ICMP types.

chksum

int

2 bytes

checksumMode

ChecksumMode

4 bytes ‘type’ specific values

code

int

chunkLength

without options

type

Additional ICMP fields

reserved

uint32_t

options

Ipv6NdOptions

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

//
// Router Solicitation Message Format
// RFC 4861 Section 4.1
//
class Ipv6RouterSolicitation extends Ipv6NdMessage
{
    chunkLength = B(8);    // without options
    type = ICMPv6_ROUTER_SOL;
    //Additional ICMP fields
    uint32_t reserved = 0;
    Ipv6NdOptions options;
}

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