X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fbundle.h;h=580ecf81191fb42b24a365f8d1de6fb4d211aeba;hb=cb6e2b01787b71c39678e9ef98e3b9374a7db378;hp=a202ade494c39d9cf49bd3efdd67142337553a61;hpb=daff3353a0dcb6db7c1468e442f95ae22d335e88;p=openvswitch diff --git a/lib/bundle.h b/lib/bundle.h index a202ade4..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" @@ -35,8 +36,13 @@ struct ofpbuf; uint16_t bundle_execute(const struct nx_action_bundle *, const struct flow *, bool (*slave_enabled)(uint16_t ofp_port, void *aux), void *aux); -int bundle_check(const struct nx_action_bundle *, int max_ports); +void bundle_execute_load(const struct nx_action_bundle *, struct flow *, + bool (*slave_enabled)(uint16_t ofp_port, void *aux), + void *aux); +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 *); /* Returns the 'i'th slave in 'nab'. */