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 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
.. 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
Behalf Of andrea simeoni
Sent: Thursday, October 06, 2011 2:28 PM
To: nox-dev@noxrepo.org
Subject: [nox-dev] A question about network.graph.hh
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
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 > next_hops ?
Thank you
--
Andrea Simeoni