xMIPv6Support

Package: inet.networklayer.xmipv6

xMIPv6Support

compound module

Implements xMIPv6 (where x = F, H, F-H).

xMobileIPv6 : xMIPv6

Implements xMIPv6 (where x = F, H, F-H).

Source:
xMobileIPv6: xMIPv6 {
    isHomeAgent = parent.isHomeAgent;
    isMobileNode = parent.isMobileNode;
    @display("p=250,150");
} buList : BindingUpdateList

~xMIPv6 Data structure for the Mobile Node

Source:
buList: BindingUpdateList {
    parameters:
        @display("p=100,100;i=old/harddisk");
} bindingCache : BindingCache

~xMIPv6 Data structure for the HA and CN(s) only.

Source:
bindingCache: BindingCache {
    parameters:
        @display("p=100,200;i=old/harddisk");
}

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Parameters

Name Type Default value Description
isHomeAgent bool
isMobileNode bool
interfaceTableModule string
ipv6TunnelingModule string
ipv6NeighbourDiscoveryModule string

Properties

Name Value Description
display i=block/classifier2

Gates

Name Direction Size Description
fromIPv6 input
toIPv6 output

Unassigned submodule parameters

Name Type Default value Description
xMobileIPv6.interfaceTableModule string

The path to the InterfaceTable module

xMobileIPv6.ipv6TunnelingModule string
xMobileIPv6.ipv6NeighbourDiscoveryModule string
xMobileIPv6.bindingUpdateListModule string
xMobileIPv6.bindingCacheModule string

Source code

//
// Implements xMIPv6 (where x = F, H, F-H).
//
module xMIPv6Support like IxMIPv6Support
{
    parameters:
        bool isHomeAgent;
        bool isMobileNode;
        string interfaceTableModule;
        string ipv6TunnelingModule;
        string ipv6NeighbourDiscoveryModule;
        *.interfaceTableModule = default(absPath(this.interfaceTableModule));
        *.ipv6TunnelingModule = default(absPath(this.ipv6TunnelingModule));
        *.ipv6NeighbourDiscoveryModule = default(absPath(this.ipv6NeighbourDiscoveryModule));
        *.bindingUpdateListModule = default(absPath(".buList"));
        *.bindingCacheModule = default(absPath(".bindingCache"));
        @display("i=block/classifier2");
    gates:
        input fromIPv6;
        output toIPv6;
    submodules:
        xMobileIPv6: xMIPv6 {
            isHomeAgent = parent.isHomeAgent;
            isMobileNode = parent.isMobileNode;
            @display("p=250,150");
        }
        buList: BindingUpdateList {
            parameters:
                @display("p=100,100;i=old/harddisk");
        }
        bindingCache: BindingCache {
            parameters:
                @display("p=100,200;i=old/harddisk");
        }
    connections:
        fromIPv6 --> xMobileIPv6.fromIPv6;
        toIPv6 <-- xMobileIPv6.toIPv6;
}

File: src/inet/networklayer/xmipv6/xMIPv6Support.ned