Ospfv3Splitter¶
Package: inet.routing.ospfv3
simple module Ospfv3Splitter
(no description)
Usage diagram¶
Inheritance diagram¶
Used in compound modules¶
Name |
Type |
Description |
|---|---|---|
compound module |
Implements the OSPFv3 (Open Shortest Path First version 3) routing protocol for IPv4 and IPv6 networks. This module supports dynamic routing based on link state advertisements, allowing routers to discover and maintain routes to all destinations in an autonomous system. |
Extends¶
Name |
Type |
Description |
|---|---|---|
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 |
ospfv3RoutingConfig |
xml |
||
ospfv3IntConfig |
xml |
||
interfaceTableModule |
string |
||
routingTableModule |
string |
||
routingTableModule6 |
string |
||
checksumMode |
string |
“declared” |
passed on to each Ospfv3Process |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
Ospfv3Splitter |
these are parameters which need to be filled in the omnetpp.ini file |
Gates¶
Name |
Direction |
Size |
Description |
|---|---|---|---|
ipIn |
input |
||
ipOut |
output |
||
processIn [ ] |
input |
input ipIn @labels(Ospfv3Packet/up); output ipOut @labels(Ospfv3Packet/down); |
|
processOut [ ] |
output |
Source code¶
simple Ospfv3Splitter extends SimpleModule
{
parameters:
@class(Ospfv3Splitter); // these are parameters which need to be filled in the omnetpp.ini file
xml ospfv3RoutingConfig;
xml ospfv3IntConfig;
string interfaceTableModule;
string routingTableModule;
string routingTableModule6;
string checksumMode @enum("declared", "computed") = default("declared"); // passed on to each Ospfv3Process
gates:
input ipIn @labels(Ipv6ControlInfo/up);
output ipOut @labels(Ipv6ControlInfo/down);
// input ipIn @labels(Ospfv3Packet/up);
// output ipOut @labels(Ospfv3Packet/down);
input processIn[];
output processOut[];
}