X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fdpif-provider.h;h=deb3bf283f8722df8f2378f750991a0ad04f95e8;hb=cdee00fd635d1e0f1eeb5d9c009daeb59abd4777;hp=26cd6b099cf49c9b5f8de727f64ebe5dce9e4688;hpb=7f8ca6459c37ede8faf13f730bcd4d9f05dfd13b;p=sliver-openvswitch.git diff --git a/lib/dpif-provider.h b/lib/dpif-provider.h index 26cd6b099..deb3bf283 100644 --- a/lib/dpif-provider.h +++ b/lib/dpif-provider.h @@ -247,11 +247,10 @@ struct dpif_class { * 'n' flows). On failure, returns a negative errno value. */ int (*flow_list)(const struct dpif *dpif, struct odp_flow flows[], int n); - /* Performs the 'n_actions' actions in 'actions' on the Ethernet frame - * specified in 'packet'. */ - int (*execute)(struct dpif *dpif, - const union odp_action actions[], int n_actions, - const struct ofpbuf *packet); + /* Performs the 'actions_len' bytes of actions in 'actions' on the Ethernet + * frame specified in 'packet'. */ + int (*execute)(struct dpif *dpif, const struct nlattr *actions, + size_t actions_len, const struct ofpbuf *packet); /* Retrieves 'dpif''s "listen mask" into '*listen_mask'. Each ODPL_* bit * set in '*listen_mask' indicates the 'dpif' will receive messages of the