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

« back to all changes in this revision

Viewing changes to lib/bfd.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:
21
21
#include <stdbool.h>
22
22
#include <inttypes.h>
23
23
 
 
24
#include "packets.h"
 
25
 
24
26
struct bfd;
25
27
struct dpif_flow_stats;
26
28
struct flow;
27
29
struct flow_wildcards;
28
30
struct netdev;
29
 
struct ofpbuf;
 
31
struct dp_packet;
30
32
struct smap;
31
33
 
32
 
void bfd_wait(const struct bfd *);
 
34
long long int bfd_wait(const struct bfd *);
33
35
void bfd_run(struct bfd *);
34
36
 
35
37
bool bfd_should_send_packet(const struct bfd *);
36
 
void bfd_put_packet(struct bfd *bfd, struct ofpbuf *packet,
37
 
                    uint8_t eth_src[6]);
 
38
void bfd_put_packet(struct bfd *bfd, struct dp_packet *packet,
 
39
                    uint8_t eth_src[ETH_ADDR_LEN]);
38
40
 
39
41
bool bfd_should_process_flow(const struct bfd *, const struct flow *,
40
42
                             struct flow_wildcards *);
41
43
void bfd_process_packet(struct bfd *, const struct flow *,
42
 
                        const struct ofpbuf *);
 
44
                        const struct dp_packet *);
43
45
 
 
46
void bfd_init(void);
44
47
struct bfd *bfd_configure(struct bfd *, const char *name,
45
48
                          const struct smap *smap,
46
49
                          struct netdev *netdev);