[Ns-developers] release update [feedback needed]

Tom Henderson tomh at tomh.org
Wed Jun 10 07:45:07 PDT 2009


Gustavo Carneiro wrote:
> 
> 
> 2009/6/10 Tom Henderson <tomh at tomh.org <mailto:tomh at tomh.org>>
> 
>     Gustavo Carneiro wrote:
> 
>         2009/6/9 Gustavo Carneiro <gjcarneiro at gmail.com
>         <mailto:gjcarneiro at gmail.com>>
> 
> 
>             2009/6/9 Mathieu Lacage <mathieu.lacage at sophia.inria.fr
>             <mailto:mathieu.lacage at sophia.inria.fr>>
> 
>                 hi,
> 
>                 Current items still on the table for merging:
> 
>                  - the virtual net device: gustavo went through a couple
>                 of iterations
>                 with tom, I lost track of the status of this project.
>                 Gustavo, could you
>                 merge in today ? If not, what is holding this ?
> 
> 
>             I need to rename it again, and cleanup some comments / api
>             docs.  However I
>             am working on paper on a tight deadline, not sure if I will
>             have time
>             today.  If not today, within the next two days I should be
>             able to handle
>             this.
> 
> 
>         OK, I think this is done.  Rename done, cleanup example done,
>         clarification
>         of API docs done. I'll push to ns-3-dev tomorrow (within 24
>         hours from now)
>         if I hear no complaints.
> 
> 
>     Gustavo,
>     - I thought you were going to clean up the Receive/PromiscReceive
>     separate functions?
> 
> 
> I don't understand the concern here, or what I should do.  If I remove 
> one of them, which one do I keep?  How can we be sure it's the right one?
> 
>   - Receive() is simpler to use and usually what we want, but does not 
> support simulating frames received by a bridge;
> 
>   - PromiscReceive takes more parameters, harder to use if you  want to 
> do something simpler, but needed for certain scenarios.

My comment was that all of the other net devices call the promisc 
callback out of Receive(), but here, the user has to pick PromiscReceive 
or Receive() and I'm not sure how he or she picks the right one.

Can you describe the use case for PromiscReceive?  You implied bridging 
but I'm not seeing it.

Tom


More information about the Ns-developers mailing list