BindingCache

Package: inet.networklayer.mipv6

simple module BindingCache

Holds the Binding Cache of a home agent or correspondent node (RFC 3775): the bindings registered by mobile nodes, mapping each mobile node’s home address to its current care-of address, together with the sequence number and binding lifetime. A home agent uses it to intercept and tunnel traffic to a mobile node that is away from home; a correspondent node uses it for route optimization (sending directly to the care-of address). It also keeps the return-routability nonces used to validate Binding Updates.

This is a passive data-store module (no gates); it is read and updated by the Mipv6 protocol engine through C++ method calls.

See also: Mipv6, BindingUpdateList

inet.networklayer.mipv6.BindingCacheBindingCachesimple

Usage diagram

Inheritance diagram

Used in compound modules

Name

Type

Description

Ipv6NetworkLayer

compound module

Represents a complete IPv6 network layer (L3), to be used within hosts and routers. It connects to higher-layer protocols (TCP, UDP, …) on top and to the network interfaces below, and bundles the modules that together implement IPv6:

Extends

Name

Type

Description

SimpleModule

simple module

Base module for all INET simple modules.

Parameters

Name

Type

Default value

Description

displayStringTextFormat

string

“”

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

Properties

Name

Value

Description

class

BindingCache

display

i=old/harddisk

Source code

//
// Holds the Binding Cache of a home agent or correspondent node (RFC 3775): the
// bindings registered by mobile nodes, mapping each mobile node's home address to
// its current care-of address, together with the sequence number and binding
// lifetime. A home agent uses it to intercept and tunnel traffic to a mobile node
// that is away from home; a correspondent node uses it for route optimization
// (sending directly to the care-of address). It also keeps the return-routability
// nonces used to validate Binding Updates.
//
// This is a passive data-store module (no gates); it is read and updated by the
// ~Mipv6 protocol engine through C++ method calls.
//
// @see ~Mipv6, ~BindingUpdateList
//
simple BindingCache extends SimpleModule
{
    parameters:
        @class(BindingCache);
        @display("i=old/harddisk");
}

File: src/inet/networklayer/mipv6/BindingCache.ned