X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fbundle.h;h=3e92374176b1849c85986ae3af1b4dc701b4e137;hb=2b13d312fc4d6e5eb1d0e3004fa523bb0c0ba544;hp=5b6bb67441c3b88d4b172593ad174ab17549371e;hpb=8706009e555bb9fa04a5679e4be2c7c67506802b;p=sliver-openvswitch.git diff --git a/lib/bundle.h b/lib/bundle.h index 5b6bb6744..3e9237417 100644 --- a/lib/bundle.h +++ b/lib/bundle.h @@ -27,6 +27,7 @@ struct ds; struct flow; +struct flow_wildcards; struct ofpact_bundle; struct ofpbuf; @@ -34,12 +35,13 @@ struct ofpbuf; * * See include/openflow/nicira-ext.h for NXAST_BUNDLE specification. */ -uint16_t bundle_execute(const struct ofpact_bundle *, const struct flow *, - bool (*slave_enabled)(uint16_t ofp_port, void *aux), +ofp_port_t bundle_execute(const struct ofpact_bundle *, const struct flow *, + struct flow_wildcards *wc, + bool (*slave_enabled)(ofp_port_t ofp_port, void *aux), void *aux); enum ofperr bundle_from_openflow(const struct nx_action_bundle *, struct ofpbuf *ofpact); -enum ofperr bundle_check(const struct ofpact_bundle *, int max_ports, +enum ofperr bundle_check(const struct ofpact_bundle *, ofp_port_t max_ports, const struct flow *); void bundle_to_nxast(const struct ofpact_bundle *, struct ofpbuf *of10); void bundle_parse(const char *, struct ofpbuf *ofpacts);