Skip to content

Commit

Permalink
802.1q: Renamed gateClodedFilter submodule to gateFilter.
Browse files Browse the repository at this point in the history
  • Loading branch information
levy committed Mar 22, 2024
1 parent de00b61 commit bb1e34d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/inet/linklayer/ieee8021q/Ieee8021qFilter.ned
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module Ieee8021qFilter like IPacketFilter
displayStringTextFormat = default("");
@display("p=500,100,column,150");
}
gateClosedFilter[numGates]: <default("BackPressureBasedFilter")> like IPacketFilter {
gateFilter[numGates]: <default("BackPressureBasedFilter")> like IPacketFilter {
@display("p=700,100,column,150");
}
gate[numGates]: <default("InteractiveGate")> like IPacketGate {
Expand Down Expand Up @@ -85,8 +85,8 @@ module Ieee8021qFilter like IPacketFilter
streamFilter[i].out --> sm[j].in++ if streamFilterTable.get(i).get("gate") == j;
}
for i=0..numGates-1 {
sm[i].out --> gateClosedFilter[i].in;
gateClosedFilter[i].out --> gate[i].in;
sm[i].out --> gateFilter[i].in;
gateFilter[i].out --> gate[i].in;
gate[i].out --> gc[i].in;
}
for i=0..numGates-1, for j=0..numMeters-1 {
Expand Down
6 changes: 3 additions & 3 deletions src/inet/linklayer/ieee8021q/SimpleIeee8021qFilter.ned
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module SimpleIeee8021qFilter like IPacketFilter
defaultGateIndex = default(parent.hasDefaultPath ? 0 : -1);
@display("p=100,100");
}
gateClosedFilter[numStreams]: <default("BackPressureBasedFilter")> like IPacketFilter {
gateFilter[numStreams]: <default("BackPressureBasedFilter")> like IPacketFilter {
@display("p=300,$startY,column,150");
}
gate[numStreams]: <default("InteractiveGate")> like IPacketGate {
Expand All @@ -58,8 +58,8 @@ module SimpleIeee8021qFilter like IPacketFilter
in --> { @display("m=w"); } --> classifier.in;
classifier.out++ --> multiplexer.in++ if hasDefaultPath;
for i=0..numStreams-1 {
classifier.out++ --> gateClosedFilter[i].in;
gateClosedFilter[i].out --> gate[i].in;
classifier.out++ --> gateFilter[i].in;
gateFilter[i].out --> gate[i].in;
gate[i].out --> meter[i].in;
meter[i].out --> filter[i].in;
filter[i].out --> multiplexer.in++;
Expand Down

0 comments on commit bb1e34d

Please sign in to comment.