LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-05-2014, 10:03 AM   #1
Faiza Al-Salti
Member
 
Registered: May 2014
Posts: 38

Rep: Reputation: Disabled
source routing in NS2


Dear all

If I have to send an entire path in a packet, what is the possible data type for storing the path? I tried to use string and const char* but the paths gets destructed when moved to the next hop. I'm using NS2 simulator.
Can any one help please?

Thank you in advance.
 
Old 09-06-2014, 12:36 AM   #2
Faiza Al-Salti
Member
 
Registered: May 2014
Posts: 38

Original Poster
Rep: Reputation: Disabled
I mean destroyed instead of destructed in the question above.

The value of the path gets changed during transmission.
 
  


Reply

Tags
ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Implementation a new routing metric with ns2 naima2 Linux - Wireless Networking 8 04-19-2014 03:57 PM
Connectivity Aware Routing in NS2 gaekgigan Linux - Software 0 07-03-2013 07:44 PM
help regarding routing in ns2 shweta_naik Linux - Software 8 04-22-2013 02:33 AM
Mutiple IPs and network cards routing (source policy routing?) shogun1234 Linux - Networking 1 01-17-2013 01:09 AM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 02:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:51 PM.

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