X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fodp-execute.h;h=91f0c51839c195585f13d36e724136b64b93e710;hb=5c09b672114fab2357c8ce71d608d486eb5ae1ae;hp=670e8ea5179c1eac0b1fb0bd7c91bf3842b0b3ea;hpb=758c456df570a1af1d9e913d50a3478785663e66;p=sliver-openvswitch.git diff --git a/lib/odp-execute.h b/lib/odp-execute.h index 670e8ea51..91f0c5183 100644 --- a/lib/odp-execute.h +++ b/lib/odp-execute.h @@ -28,15 +28,15 @@ struct ofpbuf; struct pkt_metadata; typedef void (*odp_execute_cb)(void *dp, struct ofpbuf *packet, - const struct pkt_metadata *, + struct pkt_metadata *, const struct nlattr *action, bool may_steal); /* Actions that need to be executed in the context of a datapath are handed * to 'dp_execute_action', if non-NULL. Currently this is called only for * actions OVS_ACTION_ATTR_OUTPUT and OVS_ACTION_ATTR_USERSPACE so * 'dp_execute_action' needs to handle only these. */ -void -odp_execute_actions(void *dp, struct ofpbuf *packet, struct pkt_metadata *, +void odp_execute_actions(void *dp, struct ofpbuf *packet, bool steal, + struct pkt_metadata *, const struct nlattr *actions, size_t actions_len, odp_execute_cb dp_execute_action); #endif