[ns] gcc/g++ compiling problem

2007-06-07 Thread 湘和
Hi, everybody: I program using STL. there is a member function of templete class map, I use the fucntion well with visual studio 2003 .net, but when I compile those code under cygwin, the compiler says this fucntion is wrong, why? I code my program with standard C++. In the book

[ns] GPRS simulation

2007-06-07 Thread KaLiF
I want to try GPRS simulation using Network Simulator. I have downloaded the source code gprs-072501-2.1b7a.tar.gz. I am having ns2.29 installed but i do not know how to integrarte this gprs module into ns2. Please HELP;;; THX! Nu citi nimic din ceea ce nu doresti sa tii minte si nu

[ns] Eurane um.cc uptarget_ ? sendUP(p)

2007-06-07 Thread Imad Abdeljaouad
Hi all, In Eurane, I managed to get packets arrive here: void UM::makeSDU(Packet * p) { hdr_cmn*ch; hdr_rlc*llh; assert(p); ch = HDR_CMN(p); llh = hdr_rlc::access(p); ch-ptype() = llh-lptype(); ch-error() = llh-lerror(); ch-timestamp() = llh-lts(); ch-size()

[ns] extend NS to support nodes with wired and wireless interface

2007-06-07 Thread nassim laga
Hi all, is there an idea on how to extend NS to support defining nodes with one wired interface and an other wireless interface regards, Nassim - Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail

Re: [ns] hierarchical addressing and number of nodes

2007-06-07 Thread Sérgio Alexandre
if you : # Set NS Addressing AddrParams set domain_num_ 9 AddrParams set cluster_num_ {9 9 9 9 9 9 9 9 9} AddrParams set nodes_num_ {9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 etc..} p. example you will have no problema running your simulation. Just raise the numbers. pankaj kumar wrote: Hi All

[ns] Fw: WFQ-1.2.5

2007-06-07 Thread KaLiF
Nu citi nimic din ceea ce nu doresti sa tii minte si nu tine minte nimic din ceea ce n-ai de gind sa aplici - Forwarded Message From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 7, 2007 1:14:20 PM Subject: Re: WFQ-1.2.5 Your message to ns-users

[ns] Creating an Ethernet Frame

2007-06-07 Thread blah2u
Does anyone know how I would go about taking an existing packet and wrapping it in an ethernet frame?

Re: [ns] Creating an Ethernet Frame

2007-06-07 Thread Larry Brigman
use nse. On 6/7/07, blah2u [EMAIL PROTECTED] wrote: Does anyone know how I would go about taking an existing packet and wrapping it in an ethernet frame?

[ns] Help: error when using node generated by create_topology

2007-06-07 Thread khodor abboud
Hello evry Body, I am using the NS format generated by brite. when i try to use the node generated by the procedure create_topology (for monotoring per example), i have this error // can't read n(3): no such variable while executing $ns monitor-queue create_topology.$n(3) $n(6)

[ns] pcap file usage in simulation

2007-06-07 Thread Larry Brigman
I am needing to run a simulation in NS2 that uses pcap or tcpdump trace files as the traffic in the test. I don't get any errors with this but I also don't get any traffic. Do I need to explicitly set routing or is there something else I am missing? My no-error-non-working example #Create a

Re: [ns] maximum nodes

2007-06-07 Thread Sabbir Ahmed Rony
Sorry, 1.7 GHz. :) On 6/8/07, Sabbir Ahmed Rony [EMAIL PROTECTED] wrote: Hi, Would you please tell me in ns2 what is maximum number of nodes that can be simulated considering MAC 802.11 and a laptop of Intel Centrino 1.7MHz, 1GB Ram? Thanks in advance -- _