X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fdpif.h;h=4a71153acaed1d72f9c228ca7240701fb78536c5;hb=520e9a2acdcf6136bf0a20586df6351ecf72dd3e;hp=8452349b67ddde222ebd298f3d66bd4e54f3e3f7;hpb=b2fda3effc787f265b5ad5dfa967ac00627bd075;p=openvswitch diff --git a/lib/dpif.h b/lib/dpif.h index 8452349b..4a71153a 100644 --- a/lib/dpif.h +++ b/lib/dpif.h @@ -148,8 +148,10 @@ bool dpif_flow_dump_next(struct dpif_flow_dump *, const struct dpif_flow_stats **); int dpif_flow_dump_done(struct dpif_flow_dump *); -int dpif_execute(struct dpif *, const struct nlattr *actions, - size_t actions_len, const struct ofpbuf *); +int dpif_execute(struct dpif *, + const struct nlattr *key, size_t key_len, + const struct nlattr *actions, size_t actions_len, + const struct ofpbuf *); enum dpif_upcall_type { DPIF_UC_MISS, /* Miss in flow table. */ @@ -158,6 +160,8 @@ enum dpif_upcall_type { DPIF_N_UC_TYPES }; +const char *dpif_upcall_type_to_string(enum dpif_upcall_type); + /* A packet passed up from the datapath to userspace. * * If 'key' or 'actions' is nonnull, then it points into data owned by