X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Fbundle.h;h=580ecf81191fb42b24a365f8d1de6fb4d211aeba;hb=cb6e2b01787b71c39678e9ef98e3b9374a7db378;hp=12497f78801ad11601302bc66c185b15399ccb83;hpb=a368bb53d9769ae42042e122775672ac9546e3f9;p=openvswitch diff --git a/lib/bundle.h b/lib/bundle.h index 12497f78..580ecf81 100644 --- a/lib/bundle.h +++ b/lib/bundle.h @@ -21,6 +21,7 @@ #include #include +#include "ofp-errors.h" #include "openflow/nicira-ext.h" #include "openvswitch/types.h" @@ -38,8 +39,8 @@ uint16_t bundle_execute(const struct nx_action_bundle *, const struct flow *, void bundle_execute_load(const struct nx_action_bundle *, struct flow *, bool (*slave_enabled)(uint16_t ofp_port, void *aux), void *aux); -int bundle_check(const struct nx_action_bundle *, int max_ports, - const struct flow *); +enum ofperr bundle_check(const struct nx_action_bundle *, int max_ports, + const struct flow *); void bundle_parse(struct ofpbuf *, const char *); void bundle_parse_load(struct ofpbuf *b, const char *); void bundle_format(const struct nx_action_bundle *, struct ds *);