ofproto-dpif: Revamp xlate_actions() interface.
authorEthan Jackson <ethan@nicira.com>
Mon, 13 May 2013 18:18:21 +0000 (11:18 -0700)
committerEthan Jackson <ethan@nicira.com>
Wed, 29 May 2013 20:27:26 +0000 (13:27 -0700)
commitbbafd73bebaa7c045ecbd6ff885230ea24be0dcb
treea056081b319cca7cffe9e15ae85a44f9164d224f
parentf03a84b99f9993f40a21cbe9a52f4f2f1b4fabb1
ofproto-dpif: Revamp xlate_actions() interface.

This patch implements a new interface to xlate_actions which, aside
from being simpler and more intuitive, achieves several goals.  It
pulls all of xlate_actions() results into a single structure which
will be easier to cache and pass around in future.  And it shields
xlate_ctx from the rest of the code, making it possible to factor
xlate_actions() in the future (hopefully).

Signed-off-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif.c