Hello everyone, I am a beginner of ns2. I want to add a new header in Protoname. So can anyone tell me how to add a new packet header? thanks aamirfalcon
> From: ns-users-requ...@isi.edu > Subject: Ns-users Digest, Vol 77, Issue 1 > To: ns-users@ISI.EDU > Date: Sat, 1 May 2010 17:00:19 -0700 > > Send Ns-users mailing list submissions to > ns-users@isi.edu > > To subscribe or unsubscribe via the World Wide Web, visit > http://mailman.isi.edu/mailman/listinfo/ns-users > or, via email, send a message with subject or body 'help' to > ns-users-requ...@isi.edu > > You can reach the person managing the list at > ns-users-ow...@isi.edu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Ns-users digest..." > > > Today's Topics: > > 1. Simulating 802.11p (Subir) > 2. Is every node using AODV protocol maintains a neighber list > of its own? (=?gb2312?B?wO7OxM36?=) > 3. udp forward packets (alessandro lazzara) > 4. URGENT: Broadcast a UDP packet in NS2.34 (JOE88) > 5. Re: URGENT: Broadcast a UDP packet in NS2.34 (fenomeno83) > 6. Re: URGENT: Broadcast a UDP packet in NS2.34 (JOE88) > 7. Re: URGENT: Broadcast a UDP packet in NS2.34 (fenomeno83) > 8. Re: URGENT: Broadcast a UDP packet in NS2.34 (fenomeno83) > 9. Re: URGENT: Broadcast a UDP packet in NS2.34 (fenomeno83) > 10. Re: URGENT: Broadcast a UDP packet in NS2.34 (fenomeno83) > 11. Re: URGENT: Broadcast a UDP packet in NS2.34 (fenomeno83) > 12. Re: URGENT: Broadcast a UDP packet in NS2.34 (JOE88) > 13. ad hoc asymmetrical link (etudiant etudiant) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 30 Apr 2010 18:47:10 -0700 (PDT) > From: Subir <su23...@gmail.com> > Subject: [ns] Simulating 802.11p > To: ns-users@ISI.EDU > Message-ID: <28418295.p...@talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > I am working in a project that requires simulating 802.11p in NS2. > Now, I have configured my NS2 with IEEE802_11Ext for necessary MAC and PHY > extensions. > > My question is, can I simulate IEEE802.11p by simply working on the running > TCL script using the parameters suggested by the IEEE802_11Ext, or I need to > modify some other (e.g. header/class etc.) files in the NS folders. > > If there is any suggestion regarding this, please let me know. > -- > View this message in context: > http://old.nabble.com/Simulating-802.11p-tp28418295p28418295.html > Sent from the ns-users mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 2 > Date: Sat, 1 May 2010 16:35:53 +0800 > From: =?gb2312?B?wO7OxM36?= <wenwang...@hotmail.com> > Subject: [ns] Is every node using AODV protocol maintains a neighber > list of its own? > To: <ns-users@ISI.EDU> > Message-ID: <blu135-w18c98f228465ff0accfe2dc0...@phx.gbl> > Content-Type: text/plain; charset="gb2312" > > > Hi~ everyone! > > I am trying to implement ETX metric into AODV protocol. > > > > I have add a "count" field into the Aodv_Neighber class to acount for the > probe packets > > it received form this neighering node. And changed Hello packet into a link > probe packet. > > (by adding to it a pointer AODV_Neighber * nb, which points to the head of > its neighber > > list) > > > > When a node broadcast the Hello packet, it also broadcast the number of probe > packets > > it received from each of its neighbering node. > > > > And when a node receive such Hello packet, it can obtain the number of probe > packets > > the sender had received from it. Also, this node had already maintian a > neighber list, which > > contian the number of probe packets received form the sender. By this way, > this node can > > culculate the ETX of this link. > > > > So, whether a node maintians a neighber list really matters! > > > > Please help me! Many thanks. > > PS: If anybody have already implemented ETX metric into AODV, please help me > out! > > _________________________________________________________________ > ??????????????????????????????????msn?????????? > http://ditu.live.com/?form=TL&swm=1 > > ------------------------------ > > Message: 3 > Date: Sat, 1 May 2010 08:55:06 +0000 > From: alessandro lazzara <fenomeno_...@hotmail.com> > Subject: [ns] udp forward packets > To: <ns-users@ISI.EDU> > Message-ID: <snt134-w20de7f5a24471a3e3d2a44cf...@phx.gbl> > Content-Type: text/plain; charset="iso-8859-1" > > > hello, I want use udp agent for a script tcl for 802.11.for example I have > node 0 node 1 and node2 and I want that 0(udp agent) send to 1 and 1 forward > to 2 that is sink(null agent)but when 1 receive, how can forward to 2? > _________________________________________________________________ > Naviga al sicuro. Scarica gratis Internet Explorer 8 per MSN > http://www.microsoft.com/italy/windows/internet-explorer/msn.aspx > > ------------------------------ > > Message: 4 > Date: Sat, 1 May 2010 03:01:01 -0700 (PDT) > From: JOE88 <jg...@aub.edu.lb> > Subject: [ns] URGENT: Broadcast a UDP packet in NS2.34 > To: ns-users@ISI.EDU > Message-ID: <28419807.p...@talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > Dear Users, > > I am using NS2.34 for my final year project. > > I want to know How can I broadcast a packet to all my neighbors within 1 > hop? Can you help me? > > I have the following nodes: > > - - Node 1 > Node 0 - - > - - Node 2 > > I want Node 0 to send the packet to both Node 1 and Node 2. > > Thank you, > Joe > > -- > View this message in context: > http://old.nabble.com/URGENT%3A-Broadcast-a-UDP-packet-in-NS2.34-tp28419807p28419807.html > Sent from the ns-users mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 5 > Date: Sat, 1 May 2010 05:11:42 -0700 (PDT) > From: fenomeno83 <fenomeno_...@hotmail.com> > Subject: Re: [ns] URGENT: Broadcast a UDP packet in NS2.34 > To: ns-users@ISI.EDU > Message-ID: <28420422.p...@talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > > > set udp1 [new Agent/UDP] > $ns attach-agent $n0 $udp1 > set udp2 [new Agent/UDP] > $ns attach-agent $n0 $udp2 > > set src1 [new Application/Traffic/CBR] > $src1 attach-agent $udp1 > set src2 [new Application/Traffic/CBR] > $src2 attach-agent $udp2 > > set null1 [new Agent/Null] > $ns attach-agent $n1 $null1 > set null2 [new Agent/Null] > $ns attach-agent $n2 $null2 > > $ns connect $udp1 $null1 > $ns connect $udp2 $null2 > > $ns at 0.1 "$src1 start" > $ns at 0.11 "$src2 start" > > $ns at 50 finish > > > $ns run > > > > JOE88 wrote: > > > > Dear Users, > > > > I am using NS2.34 for my final year project. > > > > I want to know How can I broadcast a packet to all my neighbors within 1 > > hop? Can you help me? > > > > I have the following nodes: > > > > - - Node 1 > > Node 0 - - > > - - Node 2 > > > > I want Node 0 to send the packet to both Node 1 and Node 2. > > > > Thank you, > > Joe > > > > > > -- > View this message in context: > http://old.nabble.com/URGENT%3A-Broadcast-a-UDP-packet-in-NS2.34-tp28419807p28420422.html > Sent from the ns-users mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 6 > Date: Sat, 1 May 2010 05:25:03 -0700 (PDT) > From: JOE88 <jg...@aub.edu.lb> > Subject: Re: [ns] URGENT: Broadcast a UDP packet in NS2.34 > To: ns-users@ISI.EDU > Message-ID: <28420484.p...@talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > Thanks for your help, > > But I want to send the same packet to both nodes at the same time, i.e to > broadcast not to send for each node a packet. > > Can you still help me? > Thanks > > > > fenomeno83 wrote: > > > > > > > > set udp1 [new Agent/UDP] > > $ns attach-agent $n0 $udp1 > > set udp2 [new Agent/UDP] > > $ns attach-agent $n0 $udp2 > > > > set src1 [new Application/Traffic/CBR] > > $src1 attach-agent $udp1 > > set src2 [new Application/Traffic/CBR] > > $src2 attach-agent $udp2 > > > > set null1 [new Agent/Null] > > $ns attach-agent $n1 $null1 > > set null2 [new Agent/Null] > > $ns attach-agent $n2 $null2 > > > > $ns connect $udp1 $null1 > > $ns connect $udp2 $null2 > > > > $ns at 0.1 "$src1 start" > > $ns at 0.11 "$src2 start" > > > > $ns at 50 finish > > > > > > $ns run > > > > > > > > JOE88 wrote: > >> > >> Dear Users, > >> > >> I am using NS2.34 for my final year project. > >> > >> I want to know How can I broadcast a packet to all my neighbors within 1 > >> hop? Can you help me? > >> > >> I have the following nodes: > >> > >> - - Node 1 > >> Node 0 - - > >> - - Node 2 > >> > >> I want Node 0 to send the packet to both Node 1 and Node 2. > >> > >> Thank you, > >> Joe > >> > >> > > > > > > -- > View this message in context: > http://old.nabble.com/URGENT%3A-Broadcast-a-UDP-packet-in-NS2.34-tp28419807p28420484.html > Sent from the ns-users mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 7 > Date: Sat, 1 May 2010 05:30:03 -0700 (PDT) > From: fenomeno83 <fenomeno_...@hotmail.com> > Subject: Re: [ns] URGENT: Broadcast a UDP packet in NS2.34 > To: ns-users@ISI.EDU > Message-ID: <28420505.p...@talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > set udp1 [new Agent/UDP] > $ns attach-agent $n0 $udp1 > > set src1 [new Application/Traffic/CBR] > $src1 attach-agent $udp1 > > set null1 [new Agent/Null] > $ns attach-agent $n1 $null1 > set null2 [new Agent/Null] > $ns attach-agent $n2 $null2 > > $ns connect $udp1 $null1 > $ns connect $udp1 $null2 > > $ns at 0.1 "$src1 start" > > $ns at 50 finish > > > $ns run > > I think in this manner works..if not, I don't know > > JOE88 wrote: > > > > Thanks for your help, > > > > But I want to send the same packet to both nodes at the same time, i.e to > > broadcast not to send for each node a packet. > > > > Can you still help me? > > Thanks > > > > > > > > fenomeno83 wrote: > >> > >> > >> > >> set udp1 [new Agent/UDP] > >> $ns attach-agent $n0 $udp1 > >> set udp2 [new Agent/UDP] > >> $ns attach-agent $n0 $udp2 > >> > >> set src1 [new Application/Traffic/CBR] > >> $src1 attach-agent $udp1 > >> set src2 [new Application/Traffic/CBR] > >> $src2 attach-agent $udp2 > >> > >> set null1 [new Agent/Null] > >> $ns attach-agent $n1 $null1 > >> set null2 [new Agent/Null] > >> $ns attach-agent $n2 $null2 > >> > >> $ns connect $udp1 $null1 > >> $ns connect $udp2 $null2 > >> > >> $ns at 0.1 "$src1 start" > >> $ns at 0.11 "$src2 start" > >> > >> $ns at 50 finish > >> > >> > >> $ns run > >> > >> > >> > >> JOE88 wrote: > >>> > >>> Dear Users, > >>> > >>> I am using NS2.34 for my final year project. > >>> > >>> I want to know How can I broadcast a packet to all my neighbors within 1 > >>> hop? Can you help me? > >>> > >>> I have the following nodes: > >>> > >>> - - Node 1 > >>> Node 0 - - > >>> - - Node 2 > >>> > >>> I want Node 0 to send the packet to both Node 1 and Node 2. > >>> > >>> Thank you, > >>> Joe > >>> > >>> > >> > >> > > > > > > -- > View this message in context: > http://old.nabble.com/URGENT%3A-Broadcast-a-UDP-packet-in-NS2.34-tp28419807p28420505.html > Sent from the ns-users mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 8 > Date: Sat, 1 May 2010 05:48:40 -0700 (PDT) > From: fenomeno83 <fenomeno_...@hotmail.com> > Subject: Re: [ns] URGENT: Broadcast a UDP packet in NS2.34 > To: ns-users@ISI.EDU > Message-ID: <28420579.p...@talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > or > > set udp1 [new Agent/UDP] > $ns attach-agent $n0 $udp1 > > set src1 [new Application/Traffic/CBR] > $src1 attach-agent $udp1 > > set null1 [new Agent/Null] > $ns attach-agent $n1 $null1 > $ns attach-agent $n2 $null1 > > $ns connect $udp1 $null1 > > $ns at 0.1 "$src1 start" > > $ns at 50 finish > > > $ns run > > fenomeno83 wrote: > > > > set udp1 [new Agent/UDP] > > $ns attach-agent $n0 $udp1 > > > > set src1 [new Application/Traffic/CBR] > > $src1 attach-agent $udp1 > > > > set null1 [new Agent/Null] > > $ns attach-agent $n1 $null1 > > set null2 [new Agent/Null] > > $ns attach-agent $n2 $null2 > > > > $ns connect $udp1 $null1 > > $ns connect $udp1 $null2 > > > > $ns at 0.1 "$src1 start" > > > > $ns at 50 finish > > > > > > $ns run > > > > I think in this manner works..if not, I don't know > > > > JOE88 wrote: > >> > >> Thanks for your help, > >> > >> But I want to send the same packet to both nodes at the same time, i.e to > >> broadcast not to send for each node a packet. > >> > >> Can you still help me? > >> Thanks > >> > >> > >> > >> fenomeno83 wrote: > >>> > >>> > >>> > >>> set udp1 [new Agent/UDP] > >>> $ns attach-agent $n0 $udp1 > >>> set udp2 [new Agent/UDP] > >>> $ns attach-agent $n0 $udp2 > >>> > >>> set src1 [new Application/Traffic/CBR] > >>> $src1 attach-agent $udp1 > >>> set src2 [new Application/Traffic/CBR] > >>> $src2 attach-agent $udp2 > >>> > >>> set null1 [new Agent/Null] > >>> $ns attach-agent $n1 $null1 > >>> set null2 [new Agent/Null] > >>> $ns attach-agent $n2 $null2 > >>> > >>> $ns connect $udp1 $null1 > >>> $ns connect $udp2 $null2 > >>> > >>> $ns at 0.1 "$src1 start" > >>> $ns at 0.11 "$src2 start" > >>> > >>> $ns at 50 finish > >>> > >>> > >>> $ns run > >>> > >>> > >>> > >>> JOE88 wrote: > >>>> > >>>> Dear Users, > >>>> > >>>> I am using NS2.34 for my final year project. > >>>> > >>>> I want to know How can I broadcast a packet to all my neighbors within > >>>> 1 hop? Can you help me? > >>>> > >>>> I have the following nodes: > >>>> > >>>> - - Node 1 > >>>> Node 0 - - > >>>> - - Node 2 > >>>> > >>>> I want Node 0 to send the packet to both Node 1 and Node 2. > >>>> > >>>> Thank you, > >>>> Joe > >>>> > >>>> > >>> > >>> > >> > >> > > > > > > -- > View this message in context: > http://old.nabble.com/URGENT%3A-Broadcast-a-UDP-packet-in-NS2.34-tp28419807p28420579.html > Sent from the ns-users mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 9 > Date: Sat, 1 May 2010 05:49:28 -0700 (PDT) > From: fenomeno83 <fenomeno_...@hotmail.com> > Subject: Re: [ns] URGENT: Broadcast a UDP packet in NS2.34 > To: ns-users@ISI.EDU > Message-ID: <28420579.p...@talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > or > > set udp1 [new Agent/UDP] > $ns attach-agent $n0 $udp1 > > set src1 [new Application/Traffic/CBR] > $src1 attach-agent $udp1 > > set null1 [new Agent/Null] > $ns attach-agent $n1 $null1 > $ns attach-agent $n2 $null1 > > $ns connect $udp1 $null1 > > $ns at 0.1 "$src1 start" > > $ns at 50 finish > > > $ns run > > fenomeno83 wrote: > > > > set udp1 [new Agent/UDP] > > $ns attach-agent $n0 $udp1 > > > > set src1 [new Application/Traffic/CBR] > > $src1 attach-agent $udp1 > > > > set null1 [new Agent/Null] > > $ns attach-agent $n1 $null1 > > set null2 [new Agent/Null] > > $ns attach-agent $n2 $null2 > > > > $ns connect $udp1 $null1 > > $ns connect $udp1 $null2 > > > > $ns at 0.1 "$src1 start" > > > > $ns at 50 finish > > > > > > $ns run > > > > I think in this manner works..if not, I don't know > > > > JOE88 wrote: > >> > >> Thanks for your help, > >> > >> But I want to send the same packet to both nodes at the same time, i.e to > >> broadcast not to send for each node a packet. > >> > >> Can you still help me? > >> Thanks > >> > >> > >> > >> fenomeno83 wrote: > >>> > >>> > >>> > >>> set udp1 [new Agent/UDP] > >>> $ns attach-agent $n0 $udp1 > >>> set udp2 [new Agent/UDP] > >>> $ns attach-agent $n0 $udp2 > >>> > >>> set src1 [new Application/Traffic/CBR] > >>> $src1 attach-agent $udp1 > >>> set src2 [new Application/Traffic/CBR] > >>> $src2 attach-agent $udp2 > >>> > >>> set null1 [new Agent/Null] > >>> $ns attach-agent $n1 $null1 > >>> set null2 [new Agent/Null] > >>> $ns attach-agent $n2 $null2 > >>> > >>> $ns connect $udp1 $null1 > >>> $ns connect $udp2 $null2 > >>> > >>> $ns at 0.1 "$src1 start" > >>> $ns at 0.11 "$src2 start" > >>> > >>> $ns at 50 finish > >>> > >>> > >>> $ns run > >>> > >>> > >>> > >>> JOE88 wrote: > >>>> > >>>> Dear Users, > >>>> > >>>> I am using NS2.34 for my final year project. > >>>> > >>>> I want to know How can I broadcast a packet to all my neighbors within > >>>> 1 hop? Can you help me? > >>>> > >>>> I have the following nodes: > >>>> > >>>> - - Node 1 > >>>> Node 0 - - > >>>> - - Node 2 > >>>> > >>>> I want Node 0 to send the packet to both Node 1 and Node 2. > >>>> > >>>> Thank you, > >>>> Joe > >>>> > >>>> > >>> > >>> > >> > >> > > > > > > -- > View this message in context: > http://old.nabble.com/URGENT%3A-Broadcast-a-UDP-packet-in-NS2.34-tp28419807p28420579.html > Sent from the ns-users mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 10 > Date: Sat, 1 May 2010 05:50:07 -0700 (PDT) > From: fenomeno83 <fenomeno_...@hotmail.com> > Subject: Re: [ns] URGENT: Broadcast a UDP packet in NS2.34 > To: ns-users@ISI.EDU > Message-ID: <28420579.p...@talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > or > > set udp1 [new Agent/UDP] > $ns attach-agent $n0 $udp1 > > set src1 [new Application/Traffic/CBR] > $src1 attach-agent $udp1 > > set null1 [new Agent/Null] > $ns attach-agent $n1 $null1 > $ns attach-agent $n2 $null1 > > $ns connect $udp1 $null1 > > $ns at 0.1 "$src1 start" > > $ns at 50 finish > > > $ns run > -- > View this message in context: > http://old.nabble.com/URGENT%3A-Broadcast-a-UDP-packet-in-NS2.34-tp28419807p28420579.html > Sent from the ns-users mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 11 > Date: Sat, 1 May 2010 05:51:17 -0700 (PDT) > From: fenomeno83 <fenomeno_...@hotmail.com> > Subject: Re: [ns] URGENT: Broadcast a UDP packet in NS2.34 > To: ns-users@ISI.EDU > Message-ID: <28420505.p...@talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > set udp1 [new Agent/UDP] > $ns attach-agent $n0 $udp1 > > set src1 [new Application/Traffic/CBR] > $src1 attach-agent $udp1 > > set null1 [new Agent/Null] > $ns attach-agent $n1 $null1 > set null2 [new Agent/Null] > $ns attach-agent $n2 $null2 > > $ns connect $udp1 $null1 > $ns connect $udp1 $null2 > > $ns at 0.1 "$src1 start" > > $ns at 50 finish > > > $ns run > > > -- > View this message in context: > http://old.nabble.com/URGENT%3A-Broadcast-a-UDP-packet-in-NS2.34-tp28419807p28420505.html > Sent from the ns-users mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 12 > Date: Sat, 1 May 2010 09:58:12 -0700 (PDT) > From: JOE88 <jg...@aub.edu.lb> > Subject: Re: [ns] URGENT: Broadcast a UDP packet in NS2.34 > To: ns-users@ISI.EDU > Message-ID: <28421989.p...@talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > Thx, I tried it, it compiled but went I run it it does not display > anything....do you know what can be the problem? > > thx:) > > fenomeno83 wrote: > > > > or > > > > set udp1 [new Agent/UDP] > > $ns attach-agent $n0 $udp1 > > > > set src1 [new Application/Traffic/CBR] > > $src1 attach-agent $udp1 > > > > set null1 [new Agent/Null] > > $ns attach-agent $n1 $null1 > > $ns attach-agent $n2 $null1 > > > > $ns connect $udp1 $null1 > > > > $ns at 0.1 "$src1 start" > > > > $ns at 50 finish > > > > > > $ns run > > > > -- > View this message in context: > http://old.nabble.com/URGENT%3A-Broadcast-a-UDP-packet-in-NS2.34-tp28419807p28421989.html > Sent from the ns-users mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 13 > Date: Sat, 1 May 2010 23:36:25 +0200 > From: etudiant etudiant <etudiant.ann...@gmail.com> > Subject: [ns] ad hoc asymmetrical link > To: ns-users@ISI.EDU > Message-ID: > <t2v42eee0621005011436pe1731db3y9ba98787e9f8b...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > in ad hoc network how I can establish an asymmetrical link of node1 > towards node2 > thanks > > > ------------------------------ > > _______________________________________________ > Ns-users mailing list > Ns-users@isi.edu > http://mailman.isi.edu/mailman/listinfo/ns-users > > > End of Ns-users Digest, Vol 77, Issue 1 > *************************************** _________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. https://signup.live.com/signup.aspx?id=60969