~ubuntu-branches/ubuntu/wily/openvswitch/wily

« back to all changes in this revision

Viewing changes to ofproto/ofproto-dpif-ipfix.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-08-10 11:35:15 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20150810113515-575vj06oq29emxsn
Tags: 2.4.0~git20150810.97bab95-0ubuntu1
* New upstream snapshot from 2.4 branch:
  - d/*: Align any relevant packaging changes with upstream.
* d/*: wrap-and-sort.
* d/openvswitch-{common,vswitch}.install: Correct install location for
  bash completion files.
* d/tests/openflow.py: Explicitly use ovs-testcontroller as provided
  by 2.4.0 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
#include <stddef.h>
21
21
#include <stdint.h>
 
22
#include <stdbool.h>
 
23
#include "lib/odp-util.h"
22
24
 
23
25
struct flow;
24
 
struct ofpbuf;
 
26
struct dp_packet;
25
27
struct ofproto_ipfix_bridge_exporter_options;
26
28
struct ofproto_ipfix_flow_exporter_options;
 
29
struct flow_tnl;
 
30
struct ofport;
27
31
 
28
32
struct dpif_ipfix *dpif_ipfix_create(void);
29
33
struct dpif_ipfix *dpif_ipfix_ref(const struct dpif_ipfix *);
30
34
void dpif_ipfix_unref(struct dpif_ipfix *);
31
35
 
 
36
void dpif_ipfix_add_tunnel_port(struct dpif_ipfix *, struct ofport *, odp_port_t);
 
37
void dpif_ipfix_del_tunnel_port(struct dpif_ipfix *, odp_port_t);
 
38
 
32
39
uint32_t dpif_ipfix_get_bridge_exporter_probability(const struct dpif_ipfix *);
 
40
bool dpif_ipfix_get_bridge_exporter_tunnel_sampling(const struct dpif_ipfix *);
 
41
bool dpif_ipfix_get_bridge_exporter_input_sampling(const struct dpif_ipfix *);
 
42
bool dpif_ipfix_get_bridge_exporter_output_sampling(const struct dpif_ipfix *);
 
43
bool dpif_ipfix_get_tunnel_port(const struct dpif_ipfix *, odp_port_t);
33
44
void dpif_ipfix_set_options(
34
45
    struct dpif_ipfix *,
35
46
    const struct ofproto_ipfix_bridge_exporter_options *,
36
47
    const struct ofproto_ipfix_flow_exporter_options *, size_t);
37
48
 
38
 
void dpif_ipfix_bridge_sample(struct dpif_ipfix *, struct ofpbuf *,
39
 
                              const struct flow *);
40
 
void dpif_ipfix_flow_sample(struct dpif_ipfix *, struct ofpbuf *,
 
49
void dpif_ipfix_bridge_sample(struct dpif_ipfix *, const struct dp_packet *,
 
50
                              const struct flow *,
 
51
                              odp_port_t, odp_port_t, const struct flow_tnl *);
 
52
void dpif_ipfix_flow_sample(struct dpif_ipfix *, const struct dp_packet *,
41
53
                            const struct flow *, uint32_t, uint16_t, uint32_t,
42
54
                            uint32_t);
43
55