Home » Source Code » routing protocol

routing protocol

whitedelphi
2014-08-01 23:08:09
The author
View(s):
Download(s): 0
Point (s): 1 
Category Category:
WindowsWindows CPlusPlus, C-C++C++

Description

Routing Example for OMNET++

Demonstrates static shortest-path routing. Routing tables are set up at the
beginning of the simulation using the cTopology class. The model is
intentionally kept simple to facilitate understanding.

The network topology is the one widely known as the "NTT backbone", and it was
contributed by Mudassar Farooq.

Every node queries the topology of the network independently, using a cTopology
object. Then it computes shortest paths to every other node, and stores the
first nodes of the paths in a next-hop table. (Actually the table contains
the port number to the next-hop node not the node address itself -- the table
thus provides dest-address -> next-hop-address mapping). All the above takes
place once, at the beginning of this simulation. The topology is static during
the simulation, and so there's no need for the nodes to do anything to keep
the tables up-to-date. There's no routing protocol in the model.

Once the routing tables are set up, nodes start sending packets at random
intervals. Every node gets a list of destination addresses in a parameter,
and for every packet it randomly chooses a destination from the list.

There are two apps provided: App generates packets with exponential inter-arrival
times, while BurstyApp alternates between active and idle periods. BurstyApp's
implementation demonstrates the use of the FSMs (Finite State Machine).

Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
01.97 kB
.cproject7.08 kB2014-07-14 13:12
.nedfolders2.00 B2014-07-14 13:12
.oppbuildspec236.00 B2014-07-14 13:12
.project2.68 kB2014-07-14 13:12
.tkenvrc134.00 B2014-08-02 09:51
01.97 kB
netbuilder.cc5.20 kB2014-07-14 13:12
netbuilder.ned471.00 B2014-07-14 13:12
fingerprints.ini86.00 B2014-07-14 13:12
Makefile4.09 kB2014-08-02 09:03
01.97 kB
connections.txt2.98 kB2014-07-14 13:13
Dynamic.ned483.00 B2014-07-14 13:12
Mesh.ned1.08 kB2014-07-14 13:12
Net10.ned1.46 kB2014-07-14 13:12
Net5.ned939.00 B2014-07-14 13:12
Net60.ned4.70 kB2014-07-14 13:12
Net60a.ned487.00 B2014-07-14 13:12
nodes.txt1.71 kB2014-07-14 13:13
RandomGraph.ned761.00 B2014-07-14 13:12
RandomMesh.ned1.12 kB2014-07-14 13:12
01.97 kB
App.cc3.09 kB2014-07-14 13:12
App.ned1.23 kB2014-07-14 13:12
BurstyApp.cc5.66 kB2014-07-14 13:12
BurstyApp.ned1.29 kB2014-07-14 13:12
IApp.ned473.00 B2014-07-14 13:12
L2Queue.cc4.03 kB2014-07-14 13:12
L2Queue.ned2.08 kB2014-07-14 13:12
Node.ned1.24 kB2014-07-14 13:12
Packet.msg354.00 B2014-07-14 13:12
Packet_m.cc9.44 kB2014-08-02 08:56
Packet_m.h1.56 kB2014-08-02 08:56
Routing.cc2.99 kB2014-07-14 13:12
Routing.ned767.00 B2014-07-14 13:12
omnetpp.ini1.10 kB2014-07-14 13:12
01.97 kB
01.97 kB
.last-copts200.00 B2014-08-02 09:04
01.97 kB
netbuilder.o225.76 kB2014-08-02 09:04
01.97 kB
App.o213.45 kB2014-08-02 09:04
BurstyApp.o231.19 kB2014-08-02 09:04
L2Queue.o109.40 kB2014-08-02 09:04
Packet_m.o77.10 kB2014-08-02 09:04
Routing.o268.52 kB2014-08-02 09:04
routing.exe766.91 kB2014-08-02 09:04
01.97 kB
.last-copts206.00 B2014-08-02 08:56
01.97 kB
netbuilder.o43.29 kB2014-08-02 08:56
01.97 kB
App.o56.11 kB2014-08-02 08:56
BurstyApp.o54.55 kB2014-08-02 08:56
L2Queue.o34.72 kB2014-08-02 08:56
Packet_m.o26.65 kB2014-08-02 08:57
Routing.o41.77 kB2014-08-02 08:56
routing.exe226.88 kB2014-08-02 08:57
package.ned64.00 B2014-07-14 13:12
01.97 kB
omnetpp.ini961.00 B2014-07-14 13:12
README.txt419.00 B2014-07-14 13:13
runparsim564.00 B2014-07-14 13:12
runparsim-cmd.bat280.00 B2014-07-14 13:12
runparsim-mpi263.00 B2014-07-14 13:12
runparsim.bat428.00 B2014-07-14 13:12
README.txt1.38 kB2014-07-14 13:13
01.97 kB
Net60-0.vci974.00 B2014-08-02 09:51
Net60-0.vec1,002.00 B2014-08-02 09:51
routing.exe766.91 kB2014-08-02 09:04
01.97 kB
01.97 kB
gatename.xswt1.37 kB2014-07-14 13:12
nearest3.jar2.80 kB2014-07-14 13:12
Nearest3.java4.34 kB2014-07-14 13:12
nedtypes.xswt1.89 kB2014-07-14 13:12
network.ned.ftl1.59 kB2014-07-14 13:12
omnetpp.ini.ftl101.00 B2014-07-14 13:12
package.ned.ftl160.00 B2014-07-14 13:12
params.xswt1.56 kB2014-07-14 13:12
template.properties576.00 B2014-07-14 13:12
...
Sponsored links

Comments

(Add your comment, get 0.1 Point)
Minimum:15 words, Maximum:160 words
bhartigoyal
2017-01-22

vc leach

  • 1
  • Page 1
  • Total 1

routing protocol (894.28 kB)

Need 1 Point(s)
Your Point (s)

Your Point isn't enough.

Get 22 Point immediately by PayPal

Point will be added to your account automatically after the transaction.

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more Points

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D