1
/* Copyright (c) 2011, 2012 Nicira, Inc.
1
/* Copyright (c) 2011, 2012, 2013 Nicira, Inc.
3
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
4
* you may not use this file except in compliance with the License.
35
37
* See include/openflow/nicira-ext.h for NXAST_BUNDLE specification. */
37
uint16_t bundle_execute(const struct ofpact_bundle *, const struct flow *,
38
bool (*slave_enabled)(uint16_t ofp_port, void *aux),
39
ofp_port_t bundle_execute(const struct ofpact_bundle *, const struct flow *,
40
struct flow_wildcards *wc,
41
bool (*slave_enabled)(ofp_port_t ofp_port, void *aux),
40
43
enum ofperr bundle_from_openflow(const struct nx_action_bundle *,
41
44
struct ofpbuf *ofpact);
42
enum ofperr bundle_check(const struct ofpact_bundle *, int max_ports,
45
enum ofperr bundle_check(const struct ofpact_bundle *, ofp_port_t max_ports,
43
46
const struct flow *);
44
47
void bundle_to_nxast(const struct ofpact_bundle *, struct ofpbuf *of10);
45
void bundle_parse(const char *, struct ofpbuf *ofpacts);
46
void bundle_parse_load(const char *, struct ofpbuf *ofpacts);
48
char *bundle_parse(const char *, struct ofpbuf *ofpacts) WARN_UNUSED_RESULT;
49
char *bundle_parse_load(const char *, struct ofpbuf *ofpacts)
47
51
void bundle_format(const struct ofpact_bundle *, struct ds *);
49
53
#endif /* bundle.h */