LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-07-2011, 01:38 PM   #16
rkmjordan
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Rep: Reputation: 0
Unhappy


Sir i am doing project on packet classification algorithm .i write my own algorithm code in c but i dnt now how to integrate this with ns 2.Can u help me in this topic.
 
Old 04-07-2011, 03:25 PM   #17
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 16, @ rkmjordan : Welcome to LQ.

It's usually c++ code, that is added to be compiled into the binary ns.
( Makefile section OBJ_CC ).

However, there is a small section with c code.
Look for that, or simply write a new section entry. NS-2.34 line 362-371.

Make some copies of the Makefile ( Makefile1 Makefile2 Makefile3 ...)
And experiment with those. And then try ...
make -f Makefile1 , to test if the object is compiled into ns.
(I have no idea, if it works, as all tested / added code always is c++.)
..
 
Old 04-08-2011, 12:41 AM   #18
Gayathriharini
LQ Newbie
 
Registered: Mar 2011
Posts: 14

Original Poster
Rep: Reputation: 0
hi rkmjordan,
u got that size aware scheduling packet code from the url whci i posted in 1 am i right . its all in ns2.1a8b version. even i too tried all things to update that package in ns2.34 but couldnt do that. if u get any idea or code for this pls reply me also. i am also doing packet classification project mine is one module of the whole project
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] NS2 installation problem: no rule to make target 'VERSION' , needed by gen/version.c bilabongster Linux - Newbie 23 12-07-2011 11:54 AM
Installing old version of NS2 for ATM Simulation kanirip Linux - Software 26 03-02-2011 11:28 AM
ns2.34 installation in which federo version? sandhya_it17m Linux - Laptop and Netbook 4 01-05-2010 01:19 PM
need the correct installation of ns2.34 fedora version. sandhya_it17m Linux - Laptop and Netbook 1 01-05-2010 01:20 AM
How to install NS2 simulator(version 2.29) in Fedora 7. mrbhush General 1 05-06-2009 01:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration