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
 
Mathieu Lacage  
View profile  
 More options Jul 5 2009, 9:02 am
From: Mathieu Lacage <mathieu.lac...@sophia.inria.fr>
Date: Sun, 05 Jul 2009 15:02:31 +0200
Local: Sun, Jul 5 2009 9:02 am
Subject: Re: How to modify a packet tag during during routing by RouteInput ()? [Bug 624]

On Sun, 2009-07-05 at 05:45 -0700, Wilson Thong wrote:
> - Packet::PeekPacketTag (Tag &tag) only copies the tag to its output
> argument,
> instead of returning the reference to the actually tag. Thus, any
> changes to
> the "peeked" tag has no effect to the actual tag that is being
> "peeked".

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.

Mathie


 
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.