Hi,

Murphy and Andrea are right.  The structure is designed to store a
tree, thanks to my need for a "multicast" tree in OpenFlow.  So, it is
the output and reference to the next switch and the corresponding
input port at the next switch.

Regards
KK

On 6 October 2011 07:42, andrea simeoni <andreasimeon...@gmail.com> wrote:
> Hi Murphy,
>
> I think it should be the outport to the next hop too. I run some code that
> prints the value stored in such variable for each hop on a route, and I get
> always a 0 value; that maybe means that the variable is never initialized.
> Maybe it is a bug? I don't know
>
> 2011/10/6 Murphy McCauley <jam...@nau.edu>
>>
>> .. do you mean uint16_t?
>>
>> KK is the one to ask, but I believe this is the port number -- I believe
>> the pair is:
>> (port-number, next-hop-out-that-port)
>>
>> -- Murphy
>>
>> On Oct 6, 2011, at 5:28 AM, andrea simeoni wrote:
>>
>> > Hi guys,
>> >
>> > I'm using the "hop" struct defined in the file "network-graph.hh".  I
>> > was able to navigate the structure, and I've well understood its recursive
>> > nature.
>> > But I have a question: for what stands the uint64_t field in the
>> >  std::list<std::pair<uint16_t, hop*> > next_hops ?
>> >
>> > Thank you
>> >
>> > --
>> > Andrea Simeoni
>> > _______________________________________________
>> > nox-dev mailing list
>> > nox-dev@noxrepo.org
>> > http://noxrepo.org/mailman/listinfo/nox-dev
>>
>
>
>
> --
> Andrea Simeoni
>
> _______________________________________________
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev
>
>
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to