Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How to modify a packet tag during during routing by RouteInput ()? [Bug 624]
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Wilson Thong  
View profile  
 More options Jul 6 2009, 1:55 am
From: Wilson Thong <wilsonthon...@gmail.com>
Date: Sun, 5 Jul 2009 22:55:53 -0700 (PDT)
Local: Mon, Jul 6 2009 1:55 am
Subject: Re: How to modify a packet tag during during routing by RouteInput ()? [Bug 624]
Added a patch to change RouteInput (). It patches the RouteInput ()
argument list so that Ptr<const Packet> becomes Ptr<Packet>
http://www.nsnam.org/bugzilla/show_bug.cgi?id=624#c3

Thanks,
Wilson

On Jul 6, 3:48 am, Wilson Thong <wilsonthon...@gmail.com> wrote:

> Oops~! Sorry Mäkelä. I just miss-read your post~ ^^!

> Sorry,
> Wilson

> On Jul 6, 3:46 am, Wilson Thong <wilsonthon...@gmail.com> wrote:

> > This is what I did ^^http://www.nsnam.org/bugzilla/show_bug.cgi?id=624#c2

> > But as Mathieu mentioned, a better hack should be done on RouteInput
> > () method. Some more discussion can be found herehttp://www.nsnam.org/bugzilla/show_bug.cgi?id=592

> > Wilson

> > On Jul 6, 3:08 am, Antti Mäkelä <zar...@gmail.com> wrote:

> > > On Jul 5, 4:02 pm, Mathieu Lacage <mathieu.lac...@sophia.inria.fr>
> > > wrote:

> > > > Yes, this is on purpose: PeekPacketTag creates a copy of the tag. I
> > > > guess that the real problem for you is that RouteInput should take a
> > > > non-const packet pointer.

> > >   Maybe hack around it with const_cast?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.