ofproto-dpif-rid: Use UUID, not pointer, to identify ofprotos for recirc.
authorBen Pfaff <blp@ovn.org>
Mon, 18 Jan 2016 22:47:40 +0000 (14:47 -0800)
committerBen Pfaff <blp@ovn.org>
Thu, 21 Jan 2016 00:51:21 +0000 (16:51 -0800)
commit290835f9648c9669fb17f3191906026affde8f2b
tree8f0e5681973d3f038222afd616e3d0bda171da47
parentb597af0fb00dc6925c9ef3a466e9848e95b16280
ofproto-dpif-rid: Use UUID, not pointer, to identify ofprotos for recirc.

An upcoming commit will make it possible to essentially serialize the
recirculation state into an OpenFlow message.  For that purpose, we can't
sensibly pass a "struct ofproto *", but a randomly generated UUID works
just as well.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Jarno Rajahalme <jarno@ovn.org>
ofproto/ofproto-dpif-rid.c
ofproto/ofproto-dpif-rid.h
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif.c
ofproto/ofproto-dpif.h