~james-page/ubuntu/saucy/openvswitch/1.12-snapshot

« back to all changes in this revision

Viewing changes to lib/multipath.h

  • Committer: James Page
  • Date: 2013-08-21 10:16:57 UTC
  • mfrom: (1.1.20)
  • Revision ID: james.page@canonical.com-20130821101657-3o0z0qeiv5zkwlzi
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (c) 2010, 2011, 2012 Nicira, Inc.
 
2
 * Copyright (c) 2010, 2011, 2012, 2013 Nicira, Inc.
3
3
 *
4
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
5
 * you may not use this file except in compliance with the License.
18
18
#define MULTIPATH_H 1
19
19
 
20
20
#include <stdint.h>
 
21
#include "compiler.h"
21
22
#include "ofp-errors.h"
22
23
 
23
24
struct ds;
24
25
struct flow;
 
26
struct flow_wildcards;
25
27
struct nx_action_multipath;
26
28
struct ofpact_multipath;
27
29
struct ofpbuf;
38
40
void multipath_to_nxast(const struct ofpact_multipath *,
39
41
                        struct ofpbuf *openflow);
40
42
 
41
 
void multipath_execute(const struct ofpact_multipath *, struct flow *);
 
43
void multipath_execute(const struct ofpact_multipath *, struct flow *,
 
44
                       struct flow_wildcards *);
42
45
 
43
 
void multipath_parse(struct ofpact_multipath *, const char *);
 
46
char *multipath_parse(struct ofpact_multipath *, const char *)
 
47
    WARN_UNUSED_RESULT;
44
48
void multipath_format(const struct ofpact_multipath *, struct ds *);
45
49
 
46
50
#endif /* multipath.h */